[MPlayer-users] Resizing video frame with mplayer for SVCD

Matthew W. Miller mwmiller at columbus.rr.com
Sun Jan 18 02:26:54 CET 2004


On Sat, Jan 17, 2004 at 09:58:07AM -0200, romildo at uber.com.br wrote:
>I want to know how to properly resize a movie for SVCD with mplayer. I
>have tried the expand and scale filters, but I did not get the expected
>result. The movie is an AVI with frame size 800x344.

Your logic sounds correct (expand to an appropriate 4:3 aspect ratio, 
then resize to 480x480), but you need to use a single -vf option with 
filters in order from first to last separated by commas.  Like this:

$ mencoder <others...> -vf expand=800:600,scale=480:480 <others...>

Personally, my preference is to use 0 chroma-skip and 0 sharpness 
parameter with scaler 2 (bicubic), so

$ mencoder <others...> -vf expand=800:600,scale=480:480:0:0 -sws 2 <others...>

Also, I don't think the -aspect option is necessary as long as you use
the appropriate aspect-ratio option for your encoding codec of choice,
e.g. with libavcodec '-lavcopts <others...>:aspect=4/3:<others...>'.
-- 
Matthew W. Miller <mwmiller at columbus.rr.com> "You shouldn't trust _any_
software. Software is _at best_ a faithful but bumbling zombie servant
that ineptly performs your bidding. At worst, it's an evil zombie that
wants to kill you and eat your brain." --Mr Bad, on Trusted Computing




More information about the MPlayer-users mailing list