[MPlayer-users] Confused about dsize/expand/scale

Krzysztof Duchnowski amidk75 at gmail.com
Tue Dec 16 18:32:39 CET 2008


Jon Drukman pisze:

> I'm trying to output videos with a constant height but with the width 
> changing based on the input aspect ratio.  Also it needs to always map 
> to square pixels as the destination player does not support non-square 
> pixels.
> 
> 
> for example, if the input file is 720x480 16:9 the output should be 656x368.
> 
> i can't get it to work, though... no matter what i do it mencoder always 
> retains the pixel aspect ratio of the original file, so it outputs the 
> video at 560x368.  mplayer plays it fine but the destination player is 
> adobe flash, which doesn't.
> 
> what filter chain do i need to do what i want?


-vf-add scale=-2:368,expand=:368::::16/9:16

-- 
Krzysztof 'DK75' Duchnowski
GetFirefox - http://www.mozilla.com/firefox/
Konfiguracja UTF-8 dla czytników - http://evil.pl/pip/utf/



More information about the MPlayer-users mailing list