Video in QGLWidget

Arnaud Loonstra arnaud at sphaero.org
Fri Nov 28 15:27:59 PST 2014


On 11/29/2014 12:10 AM, Frede wrote:
> Hi Guys,
> I've been reading and searching for weeks to accomplish my following
> problem, but didnt get a satisfying answer yet:
> I'm want to overlay a Gstreamer video with some OpenGL stuff in a Qt App. It
> seems that the best approach is to cast the videoframe into an GL Texture
> which I can access in my QGLWidget. I just can't get it work. There are a
> lot of code snippets online, but I'm not able to get something done. :/
> Can someone explain me precisly how to do this?
> I'm running Qt 5.2.1, GStreamer 1.4.4 on Win7.
> I would really appreciate any help.
>
> Best regards,
> Frede

Have you tried these:

http://cgit.freedesktop.org/gstreamer/gst-plugins-bad/tree/tests/examples/gl/qt

I tried them a while ago (Linux) but they didn't work. However I think 
that was an Intel issue.

It might be wise to try these and work from there.


Rg,

Arnaud

-- 
w: http://www.sphaero.org
t: http://twitter.com/sphaero
g: http://github.com/sphaero
i: freenode: sphaero_z25


More information about the gstreamer-devel mailing list