Artem Russakovskii <ad...@beerpla.net> added the comment:

I'd like to reopen this ticket because ever since upgrading from r16024 to
r16997 (on a SUSE 10.3 32bit), I started getting libmp3lame: output buffer too
small on a ton of videos.

Example:
ffmpeg -v 1 -i 'tmp.10047/42122470_0.flv' -vcodec flv -s 320x240 -r 15 -y -b
218000 -acodec libmp3lame -ab 64kb -ar 44100 -ac 2  -t 30
'tmp.10047/42122470_0.ffmpeg_flv.vb218000.mp3-64.time0-30.320x240.rate15.BLX.flv'
FFmpeg version SVN-r16997, Copyright (c) 2000-2009 Fabrice Bellard, et al.
  configuration: --prefix=/usr/local --enable-gpl --enable-postproc
--enable-nonfree --enable-shared --enable-libmp3lame --enable-libvorbis
--enable-libtheora --enable-libfaad --enable-libfaac --enable-libxvid
--enable-libx264 --enable-libamr-nb --enable-libamr-wb
  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
  libpostproc   51. 2. 0 / 51. 2. 0
  built on Feb  5 2009 01:50:47, gcc: 4.2.1 (SUSE Linux)

Seems stream 0 codec frame rate differs from container frame rate: 1000.00
(1000/1) -> 29.97 (30000/1001)
Input #0, flv, from
'/drive1/home/artem/svn/b2/Fetch/fNodes/tmp.10047/42122470_0.flv':
  Duration: 00:02:01.44, start: 0.000000, bitrate: 424 kb/s
    Stream #0.0: Video: vp6f, yuv420p, 320x240, 296 kb/s, 29.97 tb(r)
    Stream #0.1: Audio: mp3, 44100 Hz, stereo, s16, 128 kb/s
Output #0, flv, to
'/drive1/home/artem/svn/b2/Fetch/fNodes/tmp.10047/42122470_0.ffmpeg_flv.vb218000.mp3-64.time0-30.320x240.rate15.BLX.flv':
    Stream #0.0: Video: flv, yuv420p, 320x240, q=2-31, 218 kb/s, 15.00 tb(c)
    Stream #0.1: Audio: libmp3lame, 44100 Hz, stereo, s16, 64 kb/s
Stream mapping:
  Stream #0.0 -> #0.0
  Stream #0.1 -> #0.1
Press [q] to stop encoding
[libmp3lame @ 0x806e350]lame: output buffer too small (buffer index: 9404, free
bytes: 388)
Audio encoding failed

A few weeks ago I've installed ffmpeg on a new 64bit RHEL box and started
receiving the same errors but I wrote it off to the fact that it's 64bit. Now,
however I'm sure it's something with a recent change.

Any ideas?

I've uploaded the sample to the FTP under
Issue719-libmp3lame-output-buffer-too-small/Issue719-libmp3lame-output-buffer-too-small.flv


Note that this is only 1 sample file, I have a lot more that exhibit the same
behavior.

Thanks!

----------
status: closed -> open
substatus: fixed -> open

____________________________________________________
FFmpeg issue tracker <ffmpeg_iss...@live.polito.it>
<https://roundup.ffmpeg.org/roundup/ffmpeg/issue719>
____________________________________________________

Reply via email to