Page 1 of 1

Draw over video in Qt framework

Posted: 10 May 2014 01:18
by fbucek
Hello,

I have simple player over libVLC written in Qt (using Os X). Everything works like charm, but I cannot draw anything over video. Video is always "on top".

I have used QGraphicsView and QGraphicsProxyWidget or create Overlay widget which works perfectly with other widgets, but not when video is playing.

Could anybody help me with this matter.
In source code of VLC there is simple Qt player
/vlc/doc/libvlc/QtPlayer
Is there a simple way just to draw for example blue rectangle over playing video?

Thank you very much.

Re: Draw over video in Qt framework

Posted: 20 May 2014 22:14
by Jean-Baptiste Kempf
The video widget is opengl. You should be able to put a new opengl layer above.