View Single Post
Posts: 4,030 | Thanked: 1,633 times | Joined on Jul 2007 @ nd usa
#4
More help please.

I added "aspect=16:9" to the /etc/mplayer/mplayer.conf, instead of stretched to fill the whole screen, it shrinked to give me 4 borders. Is there any option to scale the video to fill the whole screen or having borders only at the top or bottom?

I think aspect ratio is NOT what I want. I think I want x-scale to scale the x dimension to fill the border on either sides of the screen. So what is the command line?

Edit: I think ace has the solution,
quote
For wide videos (i.e. 16:9):
"mplayer -vf crop=$((height*15/9)) video.avi"

For tall videos (i.e. 4:3):
"mplayer -vf crop=:$((width*9/15)) video.avi

You'll have to substitute the video dimensions in the appropriate places.
Quote

can somebody translate that into a command line to use with the mplayer option?


TIA,



bun

Last edited by bunanson; 2008-10-05 at 07:15.