Video in QGLWidget

George Kiagiadakis george.kiagiadakis at collabora.com
Mon Dec 1 03:43:54 PST 2014


On 29/11/14 00:10, 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
>

qtglvideosink from qt-gstreamer should be able to do the job. However,
if you are using gst-gl filters, etc, it won't work.

-------------- next part --------------
A non-text attachment was scrubbed...
Name: smime.p7s
Type: application/pkcs7-signature
Size: 4406 bytes
Desc: S/MIME Cryptographic Signature
URL: <http://lists.freedesktop.org/archives/gstreamer-devel/attachments/20141201/f5ca86e5/attachment.bin>


More information about the gstreamer-devel mailing list