[gst-devel] glupload, glimagesink openGL question
Julien Isorce
julien.isorce at gmail.com
Wed Aug 26 17:03:31 CEST 2009
2009/8/26 Miquel Àngel Farré <miquel.farre at gmail.com>
> Bug is submitted!
>
> Putting the bug apart, if I do something like mpegtsdemux ! queue !
> glupload ! appsink, what I have at the output are opengl textures right? So
> I can draw it directly into a quad ?
This is not exact.
If you are making an OpenGL scene, and you want to put gstgl textures into
this scene.
(then it means that you are managing your opengl context and your are also
familiar with OpenGL API)
Then gst-plugins-gl/tests/examples/clutter/cluttershare.c is the example you
need.
(But it's not so easy. you have to share your OpenGL context with the one
inside gl elements)
If you are not familiar with opengl and you just want to display the video
on a quad, then you should consider to look into
gst-plugins-gl/tests/examples/generic/cube and
gst-plugins-gl/tests/examples/qt/qglwidgetxoverlay
>
> The bigger reason of use glupload is avoid the raw-yuv to rgb conversion..
So if your are not managing your own opengl scene, then just look into
gst-plugins-gl/tests/examples/gtk/gtkxoverlay
This example shows how to use the xoverlay interface.
Just a question in case your are familiar with OpenGL and if you are already
managing your own OpenGL scene, which framework are you using ? on which OS
?
Regards
Julien
>
>
> Thanks,
>
>
> Miquel
>
> 2009/8/26 Julien Isorce <julien.isorce at gmail.com>
>
>>
>>
>> 2009/8/26 Florent <fthiery at gmail.com>
>>
>>> Hi
>>>
>>> > * Question: what glupload ! glimagesink do?
>>>
>>> glimagesink uses glupload internally, so you don't need it for using
>>> glimagesink. You need glupload only if you want to filter the frames
>>> using opengl (ex: glupload ! gleffects effect=2 ! glimagesink)
>>>
>>> Florent
>>>
>>>
>>
>>> Doesen't work:
>>>
>>> gst-launch -v -m filesrc location=../dumps/itv.ts ! mpegtsdemux
>>> program-number="8442" ! queue ! mpeg2dec ! glupload ! glimagesink
>>>
>>> gst-launch -v -m filesrc location=../dumps/itv.ts ! mpegtsdemux
>>> program-number="8442" ! queue ! mpeg2dec ! glupload ! gldownload !
>>> glimagesink
>>>
>>> * Question: what glupload ! glimagesink do?
>>>
>>>
>>> Thanks,
>>>
>>>
>>> Miquel
>>
>>
>> Hi,
>>
>> Both should work,
>> Please file a bug and attach the console log of:
>>
>> GST_DEBUG=gldisplay:3 gst-launch -v -m filesrc location=../dumps/itv.ts !
>> mpegtsdemux program-number="8442" ! queue ! mpeg2dec ! glupload !
>> glimagesink
>>
>> and:
>>
>> GST_DEBUG=gldisplay:3 videotestsrc ! "video/x-raw-yuv,
>> format=(fourcc)I420" ! glupload ! glimagesink
>>
>> Julien
>>
>>
>>
>>
>>
>> ------------------------------------------------------------------------------
>> Let Crystal Reports handle the reporting - Free Crystal Reports 2008
>> 30-Day
>> trial. Simplify your report design, integration and deployment - and focus
>> on
>> what you do best, core application coding. Discover what's new with
>> Crystal Reports now. http://p.sf.net/sfu/bobj-july
>> _______________________________________________
>> gstreamer-devel mailing list
>> gstreamer-devel at lists.sourceforge.net
>> https://lists.sourceforge.net/lists/listinfo/gstreamer-devel
>>
>>
>
>
> ------------------------------------------------------------------------------
> Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day
> trial. Simplify your report design, integration and deployment - and focus
> on
> what you do best, core application coding. Discover what's new with
> Crystal Reports now. http://p.sf.net/sfu/bobj-july
> _______________________________________________
> gstreamer-devel mailing list
> gstreamer-devel at lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/gstreamer-devel
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.freedesktop.org/archives/gstreamer-devel/attachments/20090826/fb6dbb83/attachment.htm>
More information about the gstreamer-devel
mailing list