[FFmpeg-trac] #3327(avformat:new): libavformat fails to detect some mp3 files reliably

FFmpeg trac at avcodec.org
Sat Jan 25 23:51:18 CET 2014

#3327: libavformat fails to detect some mp3 files reliably
             Reporter:  gjdfgh      |                    Owner:
                 Type:  defect      |                   Status:  new
             Priority:  normal      |                Component:  avformat
              Version:  git-master  |               Resolution:
             Keywords:  mp3         |               Blocked By:
             Blocking:              |  Reproduced by developer:  0
Analyzed by developer:  0           |

Comment (by gjdfgh):

 The first test file I sent isn't very good: it has a broken id3 tag (not
 recognized by the id3v2 tool) followed by large zero padding.

 Uploaded another file (issue3327_2.mp3) which has a large (this time
 valid) ID3 tag at the beginning.

 One could argue that these files are hard to detect, because the start of
 the files don't even contain a single mp3 frame, and possibly go over the
 normal maximum probe size, but even "ffprobe -probesize 10485760
 issue3327_2.mp3" returns a score of 24.

 Note that I think it should return at least AVPROBE_SCORE_EXTENSION if the
 file extension matches (which it currently doesn't).

Ticket URL: <https://trac.ffmpeg.org/ticket/3327#comment:3>
FFmpeg <http://ffmpeg.org>
FFmpeg issue tracker

More information about the FFmpeg-trac mailing list