Page 1 of 1
Changing backgroud color
Posted: 18 Jun 2014 16:52
by cijic
Hello. There is a method to change background color for player?
Re: Changing backgroud color
Posted: 18 Jun 2014 18:22
by Rémi Denis-Courmont
If I recall correctly, the background color is that of the embedding X11 window. LibVLC does not change the background; it just draws the video.
Re: Changing backgroud color
Posted: 19 Jun 2014 07:12
by cijic
So, another question: can I draw semi-transparent window/widget (in Qt, for example) over the player? It can remain semi-transparent or it will be monotone (no it is so I have problem with that)? Or libvlc doesn't affect on it?
Re: Changing backgroud color
Posted: 19 Jun 2014 18:30
by mangokm40
"...can I draw semi-transparent window/widget (in Qt, for example) over the player?..."
I don't use "widgets" or Qt. However, the controls are "semi-transparent" and appear over the playing video just fine.
Re: Changing backgroud color
Posted: 19 Jun 2014 18:50
by Rémi Denis-Courmont
If you provide your own window, you can do whatever you want over it. How well this works depends on the display drivers and video output method used.