[gst-devel] How to play video using gstreamer/c++

Marlos C. Machado marlos at dcc.ufmg.br
Fri Oct 22 20:20:26 CEST 2010


Okay, I'm going to read this information, thanks a lot...

The while(1) is just a test =P... Thanks anyway...

2010/10/22 Andrey Nechypurenko <andreynech at googlemail.com>

> 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 :-)
>
>
> ------------------------------------------------------------------------------
> Nokia and AT&T present the 2010 Calling All Innovators-North America
> contest
> Create new apps & games for the Nokia N8 for consumers in  U.S. and Canada
> $10 million total in prizes - $4M cash, 500 devices, nearly $6M in
> marketing
> Develop with Nokia Qt SDK, Web Runtime, or Java and Publish to Ovi Store
> http://p.sf.net/sfu/nokia-dev2dev
> _______________________________________________
> gstreamer-devel mailing list
> gstreamer-devel at lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/gstreamer-devel
>



-- 
Marlos Cholodovskis Machado
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.freedesktop.org/archives/gstreamer-devel/attachments/20101022/9585f722/attachment.htm>


More information about the gstreamer-devel mailing list