[MPlayer-users] how to get centered and hw-scaled output on fbdev with correct aspect ratio?

D Richard Felker III dalias at aerifal.cx
Mon Dec 30 20:35:03 CET 2002


On Sun, Dec 29, 2002 at 07:09:04PM +0100, Marcus Blomenkamp wrote:
> [Automatic answer: RTFM (read DOCS, FAQ), also read DOCS/bugreports.html]
> Hi folks.
> 
> I've tried my best but I can't figure out how to get this working: I'm running 
> my framebuffer console at fixed 800x600 resolution. All I want is that the 
> movie gets scaled to full screen width while retaining the correct aspect 
> ratio. Plus the movie should be top/bottom centered. Black borders above and 
> below the image are optional since I can clear the console anyway. Scaling 
> should be done by the BES of the graka since my machine is too slow for 
> software-scaling. Any clues anyone?
> 
> My current attempts:
> 
> -vop expand=-1:600,scale=800:-2 -vo fbdev
>         + full screen width
>         + correct aspect ratio
>         + position centered
>         - way too slooow
> 
> -vop expand=-1:600,scale=800:-2 -vo fbdev:vidix
>         + position top/bottom centered
>         - wrong screen width
>         - wrong aspect ratio
>         - greenish picture
>         - way too slooow
> 
> -fs -vo fbdev
>         + position centered
>         + correct aspect ratio
>         - not full screen width

Add -zoom. This will use swscaler though.

> -fs -vo fbdev:vidix
>         + full screen width
>         + correct aspect ratio
>         - position not centered

Add -screenw 800 -screenh 600

Rich





More information about the MPlayer-users mailing list