[FFmpeg-devel] lame: output buffer too small issue

Dennis Volodomanov dennis.volodomanov
Wed Jan 28 00:55:51 CET 2009


Hello all,

This problem started to occur only recently (within the past 2-3 weeks),
basically lame reports an error and the whole file is not encoded
properly.

The output is like this:

FFmpeg version git-6a1265c, Copyright (c) 2000-2009 Fabrice Bellard, et
al.
  configuration: --enable-gpl --enable-shared --disable-static
--enable-memalign-hack --enable-libmp3lame
--extra-cflags=-I/c/msys/local/include
--extra-ldflags=-L/c/msys/local/lib --enable-swscale
--extra-cflags=-fno-common --enable-zlib
  libavutil     49.14. 0 / 49.14. 0
  libavcodec    52.11. 0 / 52.11. 0
  libavformat   52.25. 0 / 52.25. 0
  libavdevice   52. 1. 0 / 52. 1. 0
  libswscale     0. 6. 1 /  0. 6. 1
  built on Jan 28 2009 09:49:43, gcc: 4.2.1-sjlj (mingw32-2)
Input #0, avi, from 'f:\FROMCH~1\DIFFIC~1\ELEPHA~1.AVI':
  Duration: 00:10:53.82, start: 0.000000, bitrate: 10455 kb/s
    Stream #0.0: Video: msmpeg4v2, yuv420p, 1920x1080, 24.00 tb(r)
    Stream #0.1: Audio: ac3, 48000 Hz, 5.1, s16, 448 kb/s
Warning: not compiled with thread support, using thread emulation
Output #0, dvd, to 'F:\out_test.1':
    Stream #0.0: Video: mpeg2video (hq), yuv420p, 720x576, q=2-31, 8000
kb/s, 24.00 tb(c)
    Stream #0.1: Audio: libmp3lame, 44100 Hz, stereo, s16, 128 kb/s
Stream mapping:
  Stream #0.0 -> #0.0
  Stream #0.1 -> #0.1
[mpeg2video @ 0x141b420]impossible bitrate constraints, this will fail
Press [q] to stop encoding
frame=   13 fps=  0 q=2.0 size=       0kB time=0.10 bitrate=
0.0kbits/s    
... encoding ...
frame=15686 fps= 12 q=2.5 size=  263046kB time=653.46
bitrate=3297.6kbits/s    
[libmp3lame @ 0x141b7a0]lame: output buffer too small (buffer index:
9195, free bytes: 597)
Audio encoding failed


Can anyone tell me what's wrong and how to fix this issue?

Thanks in advance!

   Dennis







More information about the ffmpeg-devel mailing list