[mythtv-users] opaque

Brad Templeton brad+myth at templetons.com
Wed Jun 1 18:16:42 UTC 2005

On Wed, Jun 01, 2005 at 01:08:19PM -0400, thor wrote:
> On Wednesday 01 June 2005 09:11 am, Dean Collins wrote:
> > Is there a way to display an opaque web page over the top of a video in
> > MythTV?
>  Right now, it would be fairly complicated (you could render, say, to a 
> pixmap, and then alpha blend that like the OSD). Hard code, but certainly 
> doable.
>  The new mythui work may make it easier, at least when using the opengl 
> painter (in principal, at least, you could use opengl to composite the two 
> things with alpha blending). 

You can also render your web page over the xvideo window.  The xvideo
window is a solid colour (often a bright blue or green), and any pixel in that
colour gets video instead of the pixel.  So if you draw on the window you
will see it.   No blending though, it's an either-or sort of pixel thing.

That's why if you overlay a window on top of your video output, and it happens
to have pixels of the magic colour, the video shows through.

So if you take your web browser, and set its background to the magic
colour, it should provide a (not particularly pretty) overlay on the

More information about the mythtv-users mailing list