[Bug 401406] [NEW] [Karmic] libmp3lame fails in converting audio

Claudio Moretti flyingstar16 at gmail.com
Sun Jul 19 14:51:07 UTC 2009


Public bug reported:

Binary package hint: libmp3lame0

When extracting audio from FLV files using ffmpeg with libmp3lame, or when resampling audio (using libmp3lame), action fails because of a libmp3lame error.
I tried with a youtube-downloaded file (which is not illegal, because of file quality loss due to FLV conversion and audio resampling)
==========================================================
claudio at Mycroft:~/Scrivania$ apt-cache policy libmp3lame0
libmp3lame0:
  Installato: 3.98.2+debian-0ubuntu1
  Candidato: 3.98.2+debian-0ubuntu1
  Tabella versione:
 *** 3.98.2+debian-0ubuntu1 0
        500 http://archive.ubuntu.com karmic/multiverse Packages
        100 /var/lib/dpkg/status
==========================================================
claudio at Mycroft:~/Scrivania$ ffmpeg -i source.flv -acodec libmp3lame -ac 2 -ab 128K -vn -y destination.mp3
FFmpeg version 0.5-svn17737+3:0.svn20090303-1ubuntu6, Copyright (c) 2000-2009 Fabrice Bellard, et al.
  configuration: --enable-gpl --enable-postproc --enable-swscale --enable-x11grab --extra-version=svn17737+3:0.svn20090303-1ubuntu6 --prefix=/usr --enable-avfilter --enable-avfilter-lavf --enable-libgsm --enable-libschroedinger --enable-libspeex --enable-libtheora --enable-libvorbis --enable-pthreads --disable-stripping --disable-vhook --enable-libdc1394 --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 Apr 10 2009 23:20:33, gcc: 4.3.3

Seems stream 0 codec frame rate differs from container frame rate: 1000.00 (1000/1) -> 25.00 (25/1)
Input #0, flv, from 'source.flv':
  Duration: 00:03:52.52, start: 0.000000, bitrate: 326 kb/s
    Stream #0.0: Video: flv, yuv420p, 320x220, 262 kb/s, 25 tbr, 1k tbn, 1k tbc
    Stream #0.1: Audio: mp3, 22050 Hz, mono, s16, 64 kb/s
Output #0, mp3, to 'destination.mp3':
    Stream #0.0: Audio: libmp3lame, 22050 Hz, stereo, s16, 128 kb/s
Stream mapping:
  Stream #0.1 -> #0.0
Press [q] to stop encoding
[libmp3lame @ 0x21109d0]lame: output buffer too small (buffer index: 8359, free bytes: 1433)
Audio encoding failed
==========================================================
claudio at Mycroft:~/Scrivania$ ffmpeg -i source.mp3 -acodec libmp3lame -ab 64K -ar 44100 destination.mp3
FFmpeg version 0.5-svn17737+3:0.svn20090303-1ubuntu6, Copyright (c) 2000-2009 Fabrice Bellard, et al.
  configuration: --enable-gpl --enable-postproc --enable-swscale --enable-x11grab --extra-version=svn17737+3:0.svn20090303-1ubuntu6 --prefix=/usr --enable-avfilter --enable-avfilter-lavf --enable-libgsm --enable-libschroedinger --enable-libspeex --enable-libtheora --enable-libvorbis --enable-pthreads --disable-stripping --disable-vhook --enable-libdc1394 --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 Apr 10 2009 23:20:33, gcc: 4.3.3
Input #0, mp3, from 'source.mp3':
  Duration: 00:03:52.64, start: 0.000000, bitrate: 128 kb/s
    Stream #0.0: Audio: mp3, 22050 Hz, stereo, s16, 128 kb/s
Output #0, mp3, to 'destination.mp3':
    Stream #0.0: Audio: libmp3lame, 44100 Hz, stereo, s16, 64 kb/s
Stream mapping:
  Stream #0.0 -> #0.0
Press [q] to stop encoding
[libmp3lame @ 0xf0d7a0]lame: output buffer too small (buffer index: 9404, free bytes: 388)
Audio encoding failed

** Affects: lame (Ubuntu)
     Importance: Undecided
         Status: New

-- 
[Karmic] libmp3lame fails in converting audio
https://bugs.launchpad.net/bugs/401406
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.

-- 
ubuntu-bugs mailing list
ubuntu-bugs at lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs




More information about the universe-bugs mailing list