I have several raw (uncompressed) AVI files, each is several GB (max 5 GB)

I run the command line below from windows cmd shell,

c:\>ffmpeg  -y -i input.avi -s 800x600 -aspect 4:3 -vcodec mpeg4 
            -vtag xvid  -r 25 -b 1000k -g 250 -me_method epzs -qmin 2 
            -qmax 15 -acodec libmp3lame -ac 2 -ar 44100 -ab 80k out.avi

ffmpeg encodes maximum 35 seconds, even if the movie is longer, without any error message.

i tried to add time limits to longer than that, in various ways, but the longest encoding output was 35 seconds.

here's the commandline and output

FFmpeg version SVN-r23418, Copyright (c) 2000-2010 the FFmpeg developers
  built on Jun  2 2010 04:12:01 with gcc 4.4.2
  configuration: --target-os=mingw32 --enable-runtime-cpudetect --enable-avisynth --enable-gpl --enable-version3 --enable-bzlib --enable-libgsm --enable-libfaad --enable-pthreads --enable-libvorbis --enable-libtheora --enable-libspeex --enable-libmp3lame --enable-libopenjpeg --enable-libxvid --enable-libschroedinger --enable-libx264 --extra-libs='-lx264 -lpthread' --enable-libopencore_amrwb --enable-libopencore_amrnb --enable-librtmp --extra-libs='-lrtmp -lssl -lcrypto -lws2_32 -lgdi32 -lwinmm -lcrypt32 -lz' --arch=x86 --cross-prefix=i686-mingw32- --cc='ccache i686-mingw32-gcc' --enable-memalign-hack
  libavutil     50.16. 0 / 50.16. 0
  libavcodec    52.72. 1 / 52.72. 1
  libavformat   52.67. 0 / 52.67. 0
  libavdevice   52. 2. 0 / 52. 2. 0
  libavfilter    1.20. 0 /  1.20. 0
  libswscale     0.11. 0 /  0.11. 0
[avi @ 016cef20]ODML index invalid
    Last message repeated 1 times
Input #0, avi, from 'v4w7D09.avi':
  Duration: 00:03:03.64, start: 0.000000, bitrate: 44791 kb/s
    Stream #0.0: Video: rawvideo, bgr24, 800x600, 20 tbr, 20 tbn, 20 tbc
    Stream #0.1: Audio: pcm_s16le, 44100 Hz, 2 channels, s16, 1411 kb/s
[ffmpeg_output @ 03692b40]auto-inserting filter 'auto-inserted scaler 0' between the filter 'src' and the filter 'out'
[scale @ 03692c90]w:800 h:600 fmt:bgr24 -> w:800 h:600 fmt:yuv420p flags:0x4
Output #0, avi, to 'out.avi':
  Metadata:
    ISFT            : Lavf52.67.0
    Stream #0.0: Video: mpeg4, yuv420p, 800x600 [PAR 1:1 DAR 4:3], q=2-15, 1000 kb/s, 25 tbn, 25 tbc
    Stream #0.1: Audio: libmp3lame, 44100 Hz, 2 channels, s16, 80 kb/s
Stream mapping:
  Stream #0.0 -> #0.0
  Stream #0.1 -> #0.1
Press [q] to stop encoding
frame=  709 fps= 14 q=2.7 Lsize=    4696kB time=35.44 bitrate=1085.5kbits/s
video:4283kB audio:349kB global headers:0kB muxing overhead 1.381245%

c:\> 
link|improve this question

64% accept rate
i moved to use mencoder, since it gives the same results without that strange behavior. but i'm still curious :) – Berry Tsakala Oct 17 '11 at 20:58
feedback

Know someone who can answer? Share a link to this question via email, Google+, Twitter, or Facebook.

Your Answer

 
or
required, but never shown

Browse other questions tagged or ask your own question.