[gst-devel] Gstreamer opengl and Xevent

Julien Isorce julien.isorce at gmail.com
Thu Nov 19 18:03:33 CET 2009


Hi,

Look at

gst-plugins-gl/tests/examples/qt/mousexoverlay
and
gst-plugins-gl/tests/examples/qt/qglwtextureshare

If you do not want to use Qt then look at the other examples.

Sincerely
Julien

2009/11/5 Antar3s <antares85 at gmail.com>

>
> Hi all,
> I'm trying to develop a opengl application that uses Gstreamer to show a
> video in his context.
> But it's not all.
> I read some other thread on this topic, but the difference in my work is
> that I need to handle xevents.
> My application uses user's input to switch the opengl context.
> for an easy example:
> i have an opengl cube that i can rotate with mouse and i have to render the
> result of a gstreamer pipeline.
> Now i'm thinking about 2 ways:
> 1) is to use glupload "external-opengl-context" to link both context
> 2) to use a fake sink and its handoff call to pass the buffers to the
> texture handler of my opengl app
>
> one other way could be to write/rewrite a gst-gl-plugin, but i'm a newbie
> in
> gstreamer and opengl (i'm working on them from 2 months), so i prefer an
> easier way if is it possible.
> So i need some tips to find the best way to reach my goal:-)
>
> i'm working on ubuntu 8.10 with mesa7.2 and Xwindow and i'm programming in
> C/C++
>
> Thanks in advance to all!
> --
> View this message in context:
> http://old.nabble.com/Gstreamer-opengl-and-Xevent-tp26209417p26209417.html
> Sent from the GStreamer-devel mailing list archive at Nabble.com.
>
>
>
> ------------------------------------------------------------------------------
> 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/20091119/7d091d56/attachment.htm>


More information about the gstreamer-devel mailing list