[vdr] Xineliboutput: can achieve similar to softdevice's mgatv option?

Petri Hintukainen phintuka at users.sourceforge.net
Sat Apr 21 07:56:52 CEST 2007

On Fri, 2007-04-20 at 03:27 +0200, Markus Schuster wrote:
> With Bloomberg (German news/stock channel) I see a very odd behavior: To have 
> to video itself fullscreen, I have to enable local frontend scaling but then 
> the OSD is renderd much too big. So I have to enable OSD resizing/downscaling 
> which results in a very unnice OSD (fonts look a bit ugly and the complete 
> OSD is not the nicest view.).

Probably channel uses smaller resolution than VDR OSD (720x576).

There are two methods for OSD blending:
1) "scaled OSD": OSD is blended to each video frame in software. Because
of this OSD size and resolution can't exeed video size/resolution, and
OSD can't be drawn outside of video frame (=those black bars resulting
from hardware scaling when fitting 4:3 video to 16:9 display or
opposite). If video is lower resolution than OSD, OSD must be cropped or
downscaled. (Well, another possibility would be upscaling video in
2) "unscaled OSD": OSD and video are mixed by hardware using either
colorkeying (no opacity) or hardware RGBA layer. OSD and video can be of
different size and OSD can be blended outside of video frame. OSD size
is constant (fbdev primary layer size, most likely 720x576).

Xine-lib directfb driver supports method 2) for only some hardware with
ARGB blending capacity. For the rest method 1) is used.

I have experimental patch to support colorkeying mode when hardware does
not support separate ARGB OSD layer, I just need to adjust it for recent 

> And channels broadcasting a 16:9 signal are always scaled up to my 4:3 CRT TV, 
> so I have the typical 'long faces' (I think that's only a configuration 
> setting, but I haven't been able to locate it...)

You should use --aspect=4:3 option with vdr-fbfe (or if you are not
using vdr-fbfe, select 4:3 aspect ratio from plugin setup menu -> Local
frontend -> Aspect ratio).

- Petri

More information about the vdr mailing list