[Ffmpeg-devel] FFmpeg converted 3gp getting audio distortion

Pixelib Team pixelib
Sat Oct 7 17:54:36 CEST 2006

Recently, ffmpeg has been compiled using gcc 3.4.6 at redhat 7.3 and
lame-3.96.1, however, the converted flv from 3gp video format getting audio
distortion, the sound is quite different than original.

FFmpeg compile configuration
./configure --enable-a52 --enable-gpl --enable-amr_nb --enable-amr_wb
--enable-mp3lame --enable-vorbis --enable-libogg --enable-xvid

ffmpeg -i foo.3gp -sameq -s qcif foo.flv

Input #0, mov,mp4,m4a,3gp,3g2,mj2, from 'foo.3gp':
Duration: 00:00:25.8, start: 0.000000, bitrate: 129 kb/s
Stream #0.0(jpn): Video: h263, yuv420p, 176x144, 29.97 fps(r)
Stream #0.1(jpn): Audio: amr_nb, 8000 Hz, mono

Output #0, flv, to '001.flv':
Stream #0.0: Video: flv, yuv420p, 176x144, q=2-31, 200 kb/s, 29.97 fps(c)
Stream #0.1: Audio: mp3, 8000 Hz, mono, 64 kb/s
Stream mapping:
Stream #0.0 -> #0.0
Stream #0.1 -> #0.1

Press [q] to stop encoding
[mp3 @ 0x404d0008]lame: output buffer too small (buffer index: 321, free
bytes: 1983)
frame=  770 q=0.0 Lsize=    1390kB time=25.6 bitrate= 444.3kbits/s
video:234kB audio:200kB global headers:0kB muxing overhead 219.989210%
Any idea?

More information about the ffmpeg-devel mailing list