[FFmpeg-trac] #10488(undetermined:reopened): mp3 file with wrong extension erroneusly treated as a video

FFmpeg trac at avcodec.org
Thu Jul 27 20:13:56 EEST 2023


#10488: mp3 file with wrong extension erroneusly treated as a video
-------------------------------------+-------------------------------------
             Reporter:  Paolo        |                    Owner:  (none)
  Benvenuto                          |
                 Type:  defect       |                   Status:  reopened
             Priority:  normal       |                Component:
                                     |  undetermined
              Version:  unspecified  |               Resolution:
             Keywords:               |               Blocked By:
             Blocking:               |  Reproduced by developer:  0
Analyzed by developer:  0            |
-------------------------------------+-------------------------------------
Comment (by Cigaes):

 The core issue is that MP3 is a shitty format, and there is no way of
 detecting it reliably without either ① making a boatload of false
 positives or ② making the probing process much much slower.

 So my advice is: name your MP3 files {{{.mp3}}} rather than {{{.jpg}}},
 because that is asking for trouble, and when you ask for trouble you find
 it.
-- 
Ticket URL: <https://trac.ffmpeg.org/ticket/10488#comment:5>
FFmpeg <https://ffmpeg.org>
FFmpeg issue tracker


More information about the FFmpeg-trac mailing list