[gst-devel] How to play video using gstreamer/c++
Andrey Nechypurenko
andreynech at googlemail.com
Fri Oct 22 20:15:02 CEST 2010
Hi,
> But I need to play this video on a texture, how do I bind the video with a
> texture in OpenGL, for example? I mean, I do not know how to access the
> stream, the code above plays on a window created by gstreamer.
> If I'm able to access the stream i'm able to bind it to OpenGL. I'd prefer
> to use no-specific OpenGL plugins since I do not know what rendering system
> I'm going to use.
The short answer is: you can take a look at appsink or fakesink elements.
The more detailed answer to the similar question could be found here:
Q: http://comments.gmane.org/gmane.comp.video.gstreamer.devel/31397
A: http://permalink.gmane.org/gmane.comp.video.gstreamer.devel/31400
Regards,
Andrey.
P.S.
while(1) {} is going to eat 100% CPU time :-)
More information about the gstreamer-devel
mailing list