[FFmpeg-trac] #321(undetermined:new): Ffmpeg fails to detect format of piped input on some mp3 files

FFmpeg trac at avcodec.org
Thu Jun 30 03:55:42 CEST 2011


#321: Ffmpeg fails to detect format of piped input on some mp3 files
------------------------+---------------------------
Reporter:  gwg          |       Owner:
    Type:  defect       |      Status:  new
Priority:  normal       |   Component:  undetermined
 Version:  unspecified  |  Resolution:
Keywords:               |  Blocked By:
Blocking:               |  Reproduced:  0
Analyzed:  0            |
------------------------+---------------------------

Comment (by llogan):

 Appears to be a corrupt input to me. The same FFmpeg won't decode it
 (assuming you're using FFmpeg from the Lucid repo):
 {{{
 $ ffmpeg -v 10 -i vbox/badmp3file.mp3 output2.wav
 FFmpeg version SVN-r0.5.1-4:0.5.1-1ubuntu1.1, Copyright (c) 2000-2009
 Fabrice Bellard, et al.
   configuration: --extra-version=4:0.5.1-1ubuntu1.1 --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-runtime-cpudetect --enable-gpl
 --enable-postproc --enable-swscale --enable-x11grab --enable-libdc1394
 --enable-shared --disable-static
   libavutil     49.15. 0 / 49.15. 0
   libavcodec    52.20. 1 / 52.20. 1
   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 Mar 31 2011 18:59:37, gcc: 4.4.3
 [mp3 @ 0x1e68480]Could not find codec parameters (Audio: mp3, 0 channels,
 s16)
 vbox/badmp3file.mp3: could not find codec parameters
 }}}

 Neither does recent Git:
 {{{
 $ ffmpeg -v 10 -i vbox/badmp3file.mp3 out.wav
 ffmpeg version N-31074-ge1a5430, Copyright (c) 2000-2011 the FFmpeg
 developers
   built on Jun 29 2011 15:44:09 with gcc 4.6.0 20110603 (prerelease)
   configuration: --prefix=/usr --enable-gpl --enable-libfaac --enable-
 libmp3lame --enable-libtheora --enable-libvorbis --enable-libx264
 --enable-nonfree --enable-postproc --enable-vaapi --enable-vdpau --enable-
 x11grab
   libavutil    51. 10. 0 / 51. 10. 0
   libavcodec   53.  7. 0 / 53.  7. 0
   libavformat  53.  4. 0 / 53.  4. 0
   libavdevice  53.  2. 0 / 53.  2. 0
   libavfilter   2. 24. 0 /  2. 24. 0
   libswscale    2.  0. 0 /  2.  0. 0
   libpostproc  51.  2. 0 / 51.  2. 0
 [mp3 @ 0x272f400] Format mp3 detected only with low score of 1,
 misdetection possible!
 [mp3 @ 0x272f400] Could not find codec parameters (Audio: mp3, 0 channels,
 s16)
 [mp3 @ 0x272f400] Estimating duration from bitrate, this may be inaccurate
 vbox/badmp3file.mp3: could not find codec parameters
 }}}

 {{{
 $ md5sum vbox/badmp3file.mp3
 2b5c1b099ebd44e6dd81673912112a5b  vbox/badmp3file.mp3
 }}}

-- 
Ticket URL: <https://ffmpeg.org/trac/ffmpeg/ticket/321#comment:1>
FFmpeg <http://ffmpeg.org>
FFmpeg issue tracker


More information about the FFmpeg-trac mailing list