$ mencoder input.avi -ss 190 -endpos 10 -oac lavc -of mpeg -ovc lavc -lavcopts acodec=ac3:abitrate=256 -o 256.mpeg MEncoder SVN-33877 (C) 2000-2011 MPlayer Team success: format: 0 data: 0x0 - 0xe911800 AVI file format detected. [aviheader] Video stream found, -vid 0 [aviheader] Audio stream found, -aid 1 VIDEO: [XVID] 528x288 12bpp 23.976 fps 620.0 kbps (75.7 kbyte/s) [V] filefmt:3 fourcc:0x44495658 size:528x288 fps:23.976 ftime:=0.0417 ========================================================================== Requested audio codec family [mpg123] (afm=mpg123) not available. Enable it at compilation. Opening audio decoder: [ffmpeg] FFmpeg/libavcodec audio decoders AUDIO: 48000 Hz, 2 ch, floatle, 129.7 kbit/4.22% (ratio: 16209->384000) Selected audio codec: [ffmp3float] afm: ffmpeg (FFmpeg MPEG layer-3 audio) ========================================================================== 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: [ffmpeg] FFmpeg's libavcodec codec family Unsupported PixelFormat 61 Unsupported PixelFormat 53 Selected video codec: [ffodivx] vfm: ffmpeg (FFmpeg MPEG-4) ========================================================================== [ac3 @ 00e97230]channel_layout not specified [ac3 @ 00e97230]No channel layout specified. The encoder will guess the layout, but it might be incorrect. Limiting audio preload to 0.4s. Increasing audio density to 4. Movie-Aspect is 1.83:1 - prescaling to correct movie aspect. videocodec: libavcodec (528x288 fourcc=34504d46 [FMP4]) Pos: 0.0s 1f ( 5%) 0.00fps Trem: 0min 0mb A-V:0.000 [0:0] Writing header... INITV: 0.200, 0.158, fps: 23.976 1 duplicate frame(s)! Pos: 0.1s 3f ( 5%) 0.00fps Trem: 0min 0mb A-V:0.003 [0:0]] FRAME DURATION: 1126126 0.042 Pos: 10.0s 240f ( 6%) 0.00fps Trem: 0min 10mb A-V:0.039 [834:256] Flushing video frames. Writing index... Overhead: 1.636% (22087 / 1350073) Writing header... Video stream: 834.126 kbit/s (104265 B/s) size: 1043701 bytes 10.010 secs 240 frames Audio stream: 256.000 kbit/s (31999 B/s) size: 320512 bytes 10.016 secs