hi there, using ffmpeg on linux Red hat AS 4, ffmpeg work well except when the resulting output AVI file is too big. #ffmpeg -version FFmpeg version SVN-rUNKNOWN, Copyright (c) 2000-2004 Fabrice Bellard configuration: --enable-mp3lame --enable-vorbis --enable-faad --enable-faadbin --enable-gpl --enable-a52bin --enable-libogg --enable-xvid --enable-shared --enable-pthreads --enable-faac --enable-a52 libavutil version: 49.0.0 libavcodec version: 51.10.0 libavformat version: 50.5.0 built on Jul 26 2006 14:48:52, gcc: 3.4.5 20051201 (Red Hat 3.4.5-2) ffmpeg SVN-rUNKNOWN libavutil 3211264 libavcodec 3344896 libavformat 3278080 Examples (see the size changing): 1) This give a correct AVI file with correct duration: #ffmpeg -i clip.mpg -aspect 4:3 -sameq -s 48x36 -vcodec rawvideo -acodec pcm_s16le /tmp/Clip2005.avi 2) But this give a truncated AVI file with wrong duration (3 mn instead of 5.5 mn). But curiously, the time displayed by ffmpeg (346.7) is correct. #ffmpeg -i CCC_Allan_Afuah.mpg -aspect 4:3 -sameq -s 480x360 -vcodec rawvideo -acodec pcm_s16le /tmp/Clip2005.avi FFmpeg version SVN-rUNKNOWN, Copyright (c) 2000-2004 Fabrice Bellard configuration: --enable-mp3lame --enable-vorbis --enable-faad --enable-faadbin --enable-gpl --enable-a52bin --enable-libogg --enable-xvid --enable-shared --enable-pthreads --enable-faac --enable-a52 libavutil version: 49.0.0 libavcodec version: 51.10.0 libavformat version: 50.5.0 built on Jul 26 2006 14:48:52, gcc: 3.4.5 20051201 (Red Hat 3.4.5-2) Input #0, mpeg, from 'CCC_Allan_Afuah.mpg': Duration: 00:05:45.3, start: 0.213367, bitrate: 1394 kb/s Stream #0.0[0x1e0]: Video: mpeg1video, yuv420p, 352x240, 1150 kb/s, 29.97 fps(r) Stream #0.1[0x1c0]: Audio: mp2, 44100 Hz, stereo, 224 kb/s File '/tmp/Clip2005.avi' already exists. Overwrite ? [y/N] y Output #0, avi, to '/tmp/Clip2005.avi': Stream #0.0: Video: rawvideo, yuv420p, 480x360, q=2-31, 200 kb/s, 29.97 fps(c) Stream #0.1: Audio: pcm_s16le, 44100 Hz, stereo, 1411 kb/s Stream mapping: Stream #0.0 -> #0.0 Stream #0.1 -> #0.1 Press [q] to stop encoding frame=10391 q=0.0 Lsize= 2690469kB time=346.7 bitrate=63572.3kbits/s video:2630222kB audio:59724kB global headers:0kB muxing overhead 0.019433% I have tried different size or rate, the time where the truncation appear change but the problem is the same. So...I realy have no idea where to look at, if the problem comes from Linux, partition (ext3), memory or ffmpeg. It's NOT a file size limit because I have created a 6GB AVI file by using ffmpeg. Any good help would be appreciated. Thx in advance, franck P.
participants (1)
-
franck.perrot@epfl.ch