Page 1 of 1

Qt + libVLC + QWidget overlay.

Posted: 12 Jun 2018 11:38
by GuilleW
Hi VLC community!
First, thank you all for making VLC the best media player! I'm using it since too many years ! :D

I use libVLC in a project with Qt. It works.
But I can't use QWidget with opacity over VLC output.

I create a project on GitLab to show example here :
https://gitlab.com/GuilleW/Qt-Vlc-Overlay
If i find the solution, I'll let this project online as an example to : "How to use Qt + libVLC + overlay".

DuckDucking (and Googling...) few days to find solutions. Some guys suggest using other lib but I'm sure it's possible with libVLC.
If you have some advices...
Thank you for your help :)

Re: Qt + libVLC + QWidget overlay.

Posted: 12 Jun 2018 20:40
by RĂ©mi Denis-Courmont
If you want to composite the VLC video area, you probably need to do it directly at the lower platform-specific level. VLC does not use Qt to draw.

Re: Qt + libVLC + QWidget overlay.

Posted: 12 Jun 2018 23:24
by GuilleW
Do you know why vlc video area stays on top ? Why can't it just draws in a layer, and we draw something over it ?

Re: Qt + libVLC + QWidget overlay.

Posted: 17 Jun 2018 22:25
by Jean-Baptiste Kempf
Do you know why vlc video area stays on top ? Why can't it just draws in a layer, and we draw something over it ?

You need to use your QWidget and give it the right flag.