MP3 audio encoding fails with "output buffer too small" using ffmpeg

Bug #439083 reported by David O'Toole
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
lame (Ubuntu)
New
Undecided
Unassigned

Bug Description

Binary package hint: lame

I am trying to convert a video with the command line attached below. The program output is shown below, including the libmp3lame error message. Spoke with the ffmpeg devs on IRC and they seem to think it's my local version of libmp3lame that's the problem, So i am reporting it here. Encoding the same video on their 9.04 systems works fine.

ProblemType: Bug
Architecture: i386
Date: Tue Sep 29 20:44:44 2009
DistroRelease: Ubuntu 9.10
Package: libmp3lame0 3.98.2+debian-0ubuntu1
ProcEnviron:
 PATH=(custom, user)
 LANG=en_US.UTF-8
 SHELL=/bin/bash
ProcVersionSignature: Ubuntu 2.6.31-6.7-rt
SourcePackage: lame
Uname: Linux 2.6.31-6-rt i686

Revision history for this message
David O'Toole (dto1138) wrote :
Revision history for this message
David O'Toole (dto1138) wrote :

ffmpeg -passlogfile "Log" -i bwb-video-qvga.ogv -f psp -r 29.97 -coder 0 -s 320x240 \
-acodec libmp3lame -ac 2 -ab 128k -b 9000k -ar 24000 -aspect 16:9 bwb2.mp4

Revision history for this message
David O'Toole (dto1138) wrote :

FFmpeg version SVN-r19352-4:0.5+svn20090706-2ubuntu1, Copyright (c) 2000-2009 Fabrice Bellard, et al.
  configuration: --extra-version=4:0.5+svn20090706-2ubuntu1 --prefix=/usr --enable-avfilter --enable-avfilter-lavf --enable-vdpau --enable-bzlib --enable-libgsm --enable-libschroedinger --enable-libspeex --enable-libtheora --enable-libvorbis --enable-pthreads --enable-zlib --disable-stripping --disable-vhook --enable-gpl --enable-postproc --enable-swscale --enable-x11grab --enable-libdc1394 --extra-cflags=-I/build/buildd/ffmpeg-0.5+svn20090706/debian/include --enable-shared --disable-static
  libavutil 49.15. 0 / 49.15. 0
  libavcodec 52.20. 0 / 52.20. 0
  libavformat 52.31. 0 / 52.31. 0
  libavdevice 52. 1. 0 / 52. 1. 0
  libavfilter 0. 4. 0 / 0. 4. 0
  libswscale 0. 7. 1 / 0. 7. 1
  libpostproc 51. 2. 0 / 51. 2. 0
  built on Aug 26 2009 09:45:50, gcc: 4.4.1
[theora @ 0x9753240]7 bits left in packet 82
Input #0, ogg, from 'bwb-video-qvga.ogv':
  Duration: 00:03:00.60, start: 0.000000, bitrate: 344 kb/s
    Stream #0.0: Video: theora, yuv420p, 320x240, PAR 1:1 DAR 4:3, 30 tbr, 30 tbn, 30 tbc
    Stream #0.1: Audio: vorbis, 44100 Hz, stereo, s16, 112 kb/s
File 'bwb2.mp4' already exists. Overwrite ? [y/N] y
Output #0, psp, to 'bwb2.mp4':
    Stream #0.0: Video: mpeg4, yuv420p, 320x240 [PAR 4:3 DAR 16:9], q=2-31, 9000 kb/s, 90k tbn, 29.97 tbc
    Stream #0.1: Audio: libmp3lame, 24000 Hz, stereo, s16, 128 kb/s
Stream mapping:
  Stream #0.0 -> #0.0
  Stream #0.1 -> #0.1
[theora @ 0x9753240]7 bits left in packet 82
Press [q] to stop encoding
[libmp3lame @ 0x9767dc0]lame: output buffer too small (buffer index: 8832, free bytes: 960)
Audio encoding failed
dto@vomac:~/bwb-video

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.