[FFmpeg-trac] #336(undetermined:new): Problem identifying mp3 file with large ID3 tag

FFmpeg trac at avcodec.org
Fri Jul 8 12:06:52 CEST 2011


#336: Problem identifying mp3 file with large ID3 tag
--------------------------+-------------------------
 Reporter:  Orphis        |        Type:  defect
   Status:  new           |    Priority:  normal
Component:  undetermined  |     Version:  git-master
 Keywords:                |  Blocked By:
 Blocking:                |  Reproduced:  0
 Analyzed:  0             |
--------------------------+-------------------------
 FFmpeg doesn't recognize mp3 files with large ID3 tags at the beginning.
 To reproduce it, create a big image (in my test case I have a 1.8MB
 picture) and insert it in the tags as a cover.

 A test file (with a click track instead of copyrighted music) can be
 downloaded there : http://orphis.free.fr/large_id3_tag.mp3

 {{{
 ffmpeg -v 9 -loglevel 99 -i large_id3_tag.mp3
 ffmpeg version N-31299-ga953577, Copyright (c) 2000-2011 the FFmpeg
 developers
   built on Jul  8 2011 11:31:18 with gcc 4.6.0 20110530 (Red Hat 4.6.0-9)
   configuration: --enable-gpl --enable-nonfree --enable-postproc --enable-
 libmp3lame --enable-runtime-cpudetect --enable-libx264 --enable-
 libfreetype
   libavutil    51. 11. 0 / 51. 11. 0
   libavcodec   53.  7. 0 / 53.  7. 0
   libavformat  53.  5. 0 / 53.  5. 0
   libavdevice  53.  2. 0 / 53.  2. 0
   libavfilter   2. 24. 3 /  2. 24. 3
   libswscale    2.  0. 0 /  2.  0. 0
   libpostproc  51.  2. 0 / 51.  2. 0
 large_id3_tag.mp3: Invalid data found when processing input
 }}}

 FFmpeg recognizes and reads the file properly when the type is forced :
 {{{
 ffmpeg -v 9 -loglevel 99 -f mp3 -i large_id3_tag.mp3
 ffmpeg version N-31299-ga953577, Copyright (c) 2000-2011 the FFmpeg
 developers
   built on Jul  8 2011 11:31:18 with gcc 4.6.0 20110530 (Red Hat 4.6.0-9)
   configuration: --enable-gpl --enable-nonfree --enable-postproc --enable-
 libmp3lame --enable-runtime-cpudetect --enable-libx264 --enable-
 libfreetype
   libavutil    51. 11. 0 / 51. 11. 0
   libavcodec   53.  7. 0 / 53.  7. 0
   libavformat  53.  5. 0 / 53.  5. 0
   libavdevice  53.  2. 0 / 53.  2. 0
   libavfilter   2. 24. 3 /  2. 24. 3
   libswscale    2.  0. 0 /  2.  0. 0
   libpostproc  51.  2. 0 / 51.  2. 0
 [mp3 @ 0x20b4400] max_analyze_duration 5000000 reached at 5015510
 Input #0, mp3, from 'large_id3_tag.mp3':
   Metadata:
     title           : Je m'suis fait tout p'tit
     publisher       : Universal
     genre           : Chanson Francaise Classique
     album           : Je me suis fait tout petit
     album_artist    : Georges Brassens
     track           : 1
     artist          : Georges Brassens
     composer        : Georges Brassens
     date            : 1957
   Duration: 00:00:32.02, start: 0.000000, bitrate: 580 kb/s
     Stream #0.0, 194, 1/14112000: Audio: mp3, 44100 Hz, stereo, s16, 128
 kb/s
 At least one output file must be specified
 }}}

-- 
Ticket URL: <https://ffmpeg.org/trac/ffmpeg/ticket/336>
FFmpeg <http://ffmpeg.org>
FFmpeg issue tracker


More information about the FFmpeg-trac mailing list