PDA

View Full Version : Transparent Widgets overVideo



HeReSY
2nd July 2010, 13:49
Hi to all,

i have a question about adding transparent widgets over an excissting video stream.

I've searched the forum, but still have no clue how to do this.

We have a programm that receives a video via rtp. The decoding and rendering should be part of an directshow-filter that the user can install. For rendering the video we use the VMR7 Render to display the Video.
Instead of using an external Widget we gave the winId from our QWidget to the VMR, so that the VMR can do the painting on that widget.

Now we want to overlay the video with some transparent Buttons, that have an SVG with transparenz as background.
When the video starts the Buttons are not transparent, instead of this, the Background is black.

Is there a way to set the Background of my widgets, so that i can still see the video through it.

We have to use this on all Windows Version since 2000

Every help is welcome.

Best regards

HeReSY

high_flyer
2nd July 2010, 16:38
I've searched the forum, but still have no clue how to do this.


The 10th result for "transparency":

http://www.qtcentre.org/threads/30837-Transparency-over-video?highlight=Transparent

HeReSY
2nd July 2010, 23:36
Thanks a lot,

it seams i overread this.
So it seems that the only solution is to create my own renderer, so that Qt can handle all paint things.
Then i will give that a try.

If there is another solution it would be nice, when somebody could tell me.


HeReSY