<html>
<head>
<meta content="text/html; charset=utf-8" http-equiv="Content-Type">
</head>
<body bgcolor="#FFFFFF" text="#000000">
On 17/03/16 21:17, SamJ wrote:<br>
<blockquote
cite="mid:%3C1458209843563-4676407.post@n4.nabble.com%3E"
type="cite">
<pre wrap="">Hello All,
I am Android developer so i have little bit knowledge of C code (gstreamer).
I have configured gstreamer-1.0-android-arm-1.7.90 Library in my Android
Project. I have successfully run Tutorial 5 of SDK in which video play from
live server to surface view. Now when i change Surfaceview to GLSurfaceView
then video it's not playing. I have some another feature so must use
GLSurfaceView in my project. Can some one please help me of above issue.
</pre>
</blockquote>
<br>
There's currently no way for a stock gstreamer pipeline to end up
displaying into a GLSurfaceView without writing the necessary glue
integration code.<br>
<br>
To do this, one has to essentially write something like glimagesink
or some other sink element (or possibly using appsink or fakesink
with some pad probes) for the intricacies of GLSurfaceView. i.e.
render the provided GL texture from GStreamer using OpenGL ES into
the GLSurfaceView along with sharing the necessary OpenGL state
between GLSurfaceView and GStreamer. The good news is that there
are already a couple of gstreamer sinks that do this kind of thing
that you could base your work on. Notably, <a
href="https://cgit.freedesktop.org/gstreamer/gst-plugins-bad/tree/ext/gtk">gtkglsink</a>
and <a
href="https://cgit.freedesktop.org/gstreamer/gst-plugins-bad/tree/ext/qt/">qmlglsink</a>.<br>
<br>
Cheers<br>
-Matt<br>
<br>
<blockquote
cite="mid:%3C1458209843563-4676407.post@n4.nabble.com%3E"
type="cite">
<pre wrap="">Thank you.
</pre>
</blockquote>
</body>
</html>