Text and graphics in front of video

Hi, if I have a video or html page with video, how can I keep those in background and add text and graphics as an overlay.

It looks like video always goes “to front”

/helge

You have to extract the video-frame from a video as a picture object.
After that you can simply draw anything you like on that picture object.
Finally, you can display your altered picture on a canvas, or whatever way you like.

For grabbing pictures from a video you could use ffmpeg, or the VLC plugin by Monkeybread Software.
For realtime frame grabbing I would suggest the VLC plugin. It is a bit tricky to get it to work.

Make sure you use the 32bit VLC libraries while debugging. And the 64 bit version for your final build

[quote=57615:@Helge Tjelta]Hi, if I have a video or html page with video, how can I keep those in background and add text and graphics as an overlay.

It looks like video always goes “to front”
[/quote]

Is this for a Desktop app ?

It was way back… yes it was desktop. I ended up just having the text under the video…

you can use overlay window, e.g. the OverlayMBS class.

A transparent window would probably do the trick.