[MEncoder-users] Re: adding black bars to maintain aspect ratio2

Jon Drukman jsd at cluttered.com
Fri Mar 3 20:25:57 CET 2006


Oded Shimon wrote:
> On Fri, Feb 24, 2006 at 02:32:21PM -0800, Jon Drukman wrote:
>> Nico Sabbi wrote:
>>> with what type of output?
>>> If with avi something like -vf scale=640:-10,expand=640:480 will keep 
>>> A/R and
>>> expand to 640x480 (4/3)
>> output format is .flv - the scale,expand thing worked perfectly.  thanks 
>> so much!
> 
> No need to use both scale AND expand, just:
> -vf expand=aspect=4/3


[raw_vid]$ /opt/mplayer32/bin/mencoder 20060213.mpg -o /tmp/test.flv -of 
lavf -ovc lavc -oac lavc -lavcopts 
vcodec=flv:vbitrate=700:acodec=mp3:abitrate=56:autoaspect=1 -vf 
expand=aspect=4/3 -srate 22050 -af lavcresample=22050

MEncoder 1.0pre7try2-3.4.3 (C) 2000-2005 MPlayer Team
CPU: Advanced Micro Devices Opteron Sledgehammer (Family: 8, Stepping: 1)
Detected cache-line size is 64 bytes
CPUflags: Type: 8 MMX: 1 MMX2: 1 3DNow: 1 3DNow2: 1 SSE: 1 SSE2: 1
Compiled for x86 CPU with extensions: MMX MMX2 3DNow 3DNowEx SSE SSE2

File not found: 'frameno.avi'
Failed to open frameno.avi
Option vf: expand doesn't have a aspect parameter.

Exiting... (error parsing cmdline)





More information about the MEncoder-users mailing list