$ mencoder test.avi rawvideo -af resample=44100:0:0 -ovc raw -vf scale=220:176,harddup -ofps 15 -zoom -xy 220 -|mencoder - -rawvideo fps=15:w=220:h=176 -demuxer rawvideo -of mpeg -oac mp3lame -lameopts vbr=2:q=7 -ovc lavc -lavcopts vcodec=mpeg2video:vbitrate=250 -o /tmp/test.mpg MEncoder 1.0rc2-4.1.2 (C) 2000-2007 MPlayer Team CPU: Intel(R) Core(TM)2 CPU 6600 @ 2.40GHz (Family: 6, Model: 15, Stepping: 6) CPUflags: Type: 6 MMX: 1 MMX2: 1 3DNow: 0 3DNow2: 0 SSE: 1 SSE2: 1 Compiled for x86 CPU with extensions: MMX MMX2 SSE SSE2 Reading from stdin... success: format: 0 data: 0x0 - 0x0 rawvideo file format detected. [V] filefmt:26 fourcc:0x30323449 size:220x176 fps:15.00 ftime:=0.0667 PACKET SIZE: 2048 bytes, deltascr: 245760 Opening video filter: [expand osd=1] Expand: -1 x -1, -1 ; -1, osd: 1, aspect: 0.000000, round: 1 ========================================================================== Opening video decoder: [raw] RAW Uncompressed Video VDec: vo config request - 220 x 176 (preferred colorspace: Planar I420) VDec: using Planar I420 as output csp (no 0) Movie-Aspect is undefined - no prescaling applied. videocodec: libavcodec (220x176 fourcc=3267706d [mpg2]) Selected video codec: [rawi420] vfm: raw (RAW I420) ========================================================================== Limiting audio preload to 0.4s. Increasing audio density to 4. Frame too small! (328<58080) Wrong format? Pos: 0.0s 1f ( 0%) 0.00fps Trem: 0min 0mb A-V:0.000 [0:0] Flushing video frames. Writing index... Overhead: nan% (0 / 0) Writing header... Video stream: nan kbit/s (-2147483648 B/s) size: 0 bytes 0.000 secs 1 frames