[Bug 242] New: ffmpeg: Audio encoding failed while transform Movie file to Audio file ( ripping audio track from video)

[email protected] Tue, 16 Jun 2009 11:46:29 +0200 (CEST)
Newsgroups gmane.linux.mandrake.plf.general
Message-ID <[email protected]/bugzilla/>
http://plf.zarb.org/bugzilla/show_bug.cgi?id=242

           Summary: ffmpeg: Audio encoding failed while transform Movie file
                    to Audio file (ripping audio track from video)
           Product: ffmpeg
           Version: 0.5
          Platform: x86_64
        OS/Version: All
            Status: NEW
          Severity: critical
          Priority: P2
         Component: program
        AssignedTo: [email protected]
        ReportedBy: [email protected]


Description of problem:
When try transform any movie file for example mp4 to audio file for example mp3
(ripping audio track from video) by ffmpeg it create mp3 file but report error
(output buffer too small). It error code is cause of removing audio files
created by DownloadHelper (firefox plugin to convert files from YouTube and
other services) - losing files and problems with other plugins and programs.
Problem is present for flv (flash video) files too.

++++++++++++ example error +++++++++++++++
[slawek@localhost ~]$ ffmpeg -i Jozin_z_Bazin_polskie_napisy.mp4 Jozin.mp3
FFmpeg version 0.5, Copyright (c) 2000-2009 Fabrice Bellard, et al.
  configuration: --prefix=/usr --enable-shared --libdir=/usr/lib64
--shlibdir=/usr/lib64 --incdir=/usr/include --enable-postproc --enable-gpl
--enable-pthreads --enable-libtheora --enable-libvorbis --enable-x11grab
--enable-swscale --enable-libmp3lame --enable-libfaad --enable-libfaac
--enable-libx264
  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
  libswscale     0. 7. 1 /  0. 7. 1
  libpostproc   51. 2. 0 / 51. 2. 0
  built on Mar 11 2009 13:15:10, gcc: 4.3.2
Input #0, mov,mp4,m4a,3gp,3g2,mj2, from 'Jozin_z_Bazin_polskie_napisy.mp4':
  Duration: 00:02:33.46, start: 0.000000, bitrate: 605 kb/s
    Stream #0.0(und): Video: mpeg4, yuv420p, 320x240 [PAR 1:1 DAR 4:3], 30 tbr,
30 tbn, 30 tbc
    Stream #0.1(und): Audio: aac, 44100 Hz, stereo, s16
Output #0, mp3, to 'Jozin.mp3':
    Stream #0.0(und): Audio: libmp3lame, 44100 Hz, stereo, s16, 64 kb/s
Stream mapping:
  Stream #0.1 -> #0.0
Press [q] to stop encoding
[libmp3lame @ 0x12f1b20]lame: output buffer too small (buffer index: 9404, free
bytes: 388)
Audio encoding failed
[slawek@localhost ~]$
+++++++++++++++++++++++++++

Version-Release number of selected component (if applicable):
ffmpeg 0.5-1plf2009.1 - Mandriva 2009.1 x86_64

How reproducible:
Download or create video file with audio track. Try rip audio track to mp3
format by ffmpeg:
fmpeg -i Input_Video_with_Audio_Track.mp4 Output_Audio_Track.mp3

Steps to Reproduce:
1. Download or create video file with audio track.
2. fmpeg -i Input_Video_with_Audio_Track.mp4 Output_Audio_Track.mp3
3. At last line of ffpmeg announcement find error similar for this:
[libmp3lame @ 0x12f1b20]lame: output buffer too small (buffer index: 9404, free
bytes: 388)
Audio encoding failed

ffmpeg return error code.


-- 
Configure bugmail: http://plf.zarb.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are watching all bug changes.