[gst-devel] video sink to update OpenGL texture?

Julien Isorce julien.isorce at gmail.com
Thu Aug 13 12:50:17 CEST 2009


see cluttershare example in gst-plugins-gl/tests/examples/clutter

A texture is created from gst-gl (from our own gl context) and then you can
use it in an external opengl context, clutter context in this example. But
it can be SDL or anything else.
It uses opengl context sharing.

Julien

2009/8/13 Kiju <kiju98 at gmail.com>

>
> Hi Andres,
>
> Looks like you are doing what I want to do. Did this approach work? Or do
> you recommend any other way?
>
> Thanks in advance.
>
> Kiju
>
>
> acolubri wrote:
> >
> > Great, I'll test this approach soon and keep you posted about the
> results.
> >
> > Thanks a lot for your help!
> >
> > Julien Isorce wrote:
> >>
> >> note that you can already try the first solution I suggested in the
> >> last mail:
> >>
> >> Use glfilterapp (see the link I past in last mail), then in the
> >> drawcallback you have to call src = glGetCurrentContext(), then
> >> glCopyContext(src, dst, ...),  just one time.
> >>
> >> You can also use dst = glGetCurrentContext()  in your gl framework
> >> thread, to get the gestination.
> >>
> >> Let me know if it works.
> >>
> >> Julien
> >>
> >> ------------------------------------------------------------------------
> >>
> >>
> ------------------------------------------------------------------------------
> >>
> >> ------------------------------------------------------------------------
> >>
> >> _______________________________________________
> >> gstreamer-devel mailing list
> >> gstreamer-devel at lists.sourceforge.net
> >> https://lists.sourceforge.net/lists/listinfo/gstreamer-devel
> >>
> >
> >
> >
> ------------------------------------------------------------------------------
> > _______________________________________________
> > gstreamer-devel mailing list
> > gstreamer-devel at lists.sourceforge.net
> > https://lists.sourceforge.net/lists/listinfo/gstreamer-devel
> >
> >
>
> --
> View this message in context:
> http://www.nabble.com/video-sink-to-update-OpenGL-texture--tp22629602p24952542.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/20090813/f3e37599/attachment.htm>


More information about the gstreamer-devel mailing list