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

FFmpeg trac at avcodec.org
Mon Jan 27 09:47:33 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 cehoyos):

 Replying to [comment:3 gjdfgh]:
 > Note that I think it should return at least AVPROBE_SCORE_EXTENSION if
 the file extension matches (which it currently doesn't).

 Are you sure that if a format is currently only detected by extension
 AVPROBE_SCORE_EXTENSION is returned? And do you think it would be good if
 AVPROBE_SCORE_EXTENSION would be returned although no indication except
 the extension existed? I suspect you are just being fooled by a bad name
 of a preprocessor definition (and the bad probing of avconv that fails for
 several user-reported samples like this one, making it necessary for them
 to return 25 just for matching extensions).
 $ rm test.mp3
 $ touch test.mp3
 $ ffmpeg -i test.mp3

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

More information about the FFmpeg-trac mailing list