Draw over video in Qt framework

This forum is about all development around libVLC.
fbucek
New Cone
New Cone
Posts: 1
Joined: 10 May 2014 01:09

Draw over video in Qt framework

Postby fbucek » 10 May 2014 01:18

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.

Jean-Baptiste Kempf
Site Administrator
Site Administrator
Posts: 37523
Joined: 22 Jul 2005 15:29
VLC version: 4.0.0-git
Operating System: Linux, Windows, Mac
Location: Cone, France
Contact:

Re: Draw over video in Qt framework

Postby Jean-Baptiste Kempf » 20 May 2014 22:14

The video widget is opengl. You should be able to put a new opengl layer above.
Jean-Baptiste Kempf
http://www.jbkempf.com/ - http://www.jbkempf.com/blog/category/Videolan
VLC media player developer, VideoLAN President and Sites administrator
If you want an answer to your question, just be specific and precise. Don't use Private Messages.


Return to “Development around libVLC”

Who is online

Users browsing this forum: No registered users and 26 guests