[MEncoder-users] Problems with AVI larger that 1 GB

Mario Rossi mariofutire at googlemail.com
Wed Jan 24 22:19:56 CET 2007


Hi,

I've had many problem recently converting a DVD to MP4.

I first create a AVI file with mencoder and then encode it with ffmpeg
using the following:

mencoder -ovc copy -oac copy -alang en dvd:// -chapter 9-12 -o mobile2.avi

If the file is larger that 1 GB (in which case mencoder start a second
RIFF section), ffmpeg goes crazy and encode twice the second section,
at the end of the file.

this is the output of ffmpeg.

FFmpeg version SVN-r7659, Copyright (c) 2000-2006 Fabrice Bellard, et al.
  configuration:  --enable-mp3lame --enable-libogg --enable-vorbis
--enable-xvid --enable-x264 --enable-gpl --enable-pp --enable-shared
--disable-ipv6 --enable-pthreads --enable-faac --enable-faad
--enable-a52 --enable-dts
  libavutil version: 49.2.0
  libavcodec version: 51.29.0
  libavformat version: 51.8.0
  built on Jan 23 2007 10:48:24, gcc: 4.1.1 20060525 (Red Hat 4.1.1-1)
Input #0, avi, from 'mobile.avi':
  Duration: 00:35:28.2, start: 0.000000, bitrate: 4923 kb/s
  Stream #0.0: Video: mpeg2video, yuv420p, 720x576, 7500 kb/s, 25.00 fps(r)
  Stream #0.1: Audio: ac3, 48000 Hz, stereo, 192 kb/s
Output #0, mp4, to 'V_1_A_1.ffmpeg.mp4':
  Stream #0.0: Video: mpeg4 (hq), yuv420p, 640x360, q=2-31, 200 kb/s,
25.00 fps(c)
  Stream #0.1: Audio: aac, 48000 Hz, stereo, 96 kb/s
Stream mapping:
  Stream #0.0 -> #0.0
  Stream #0.1 -> #0.1
Press [q] to stop encoding
[ac3 @ 0xb7dd3e64]Error decoding frame
[ac3 @ 0xb7dd3e64]Error decoding frame=1758.8 bitrate=1090.0kbits/s
[ac3 @ 0xb7dd3e64]Error decoding frame=2128.0 bitrate=1117.8kbits/s
frame=62454 q=4.0 Lsize=  348413kB time=2497.2 bitrate=1142.9kbits/s
video:317717kB audio:29265kB global headers:0kB muxing overhead 0.412354%

At 1758.8 secs, the second section starts and everything from 1758
till 2128 (the end) is appended afterwards.
If the file is smaller that 1 GB, the 3 ac3 errors disappear.

Since it only happens for files larger that 1 GB, I don't know whether
the problem is in mencoder or ffmpeg.

Mencoder is compiled from sources
MEncoder dev-SVN-r21977-4.1.1

FFMpeg is compiled from sources
FFmpeg version SVN-r7659

Is there any issue with AVI larger that 1 GB?

Thanks



More information about the MEncoder-users mailing list