[FFmpeg-trac] #5205(avformat:new): mp3 detection regression

FFmpeg trac at avcodec.org
Sat Jan 30 13:14:55 CET 2016


#5205: mp3 detection regression
-------------------------------------+-------------------------------------
               Reporter:  cehoyos    |                  Owner:
                   Type:  defect     |                 Status:  new
               Priority:  important  |              Component:  avformat
                Version:  git-       |               Keywords:  mp3 probe
  master                             |  regression
             Blocked By:             |               Blocking:
Reproduced by developer:  0          |  Analyzed by developer:  0
-------------------------------------+-------------------------------------
 http://thread.gmane.org/gmane.comp.video.ffmpeg.user/60875
 A user provided an mp3 sample that starts with an id3 tag containing a png
 slightly smaller than PROBE_BUF_MAX that is not autodetected with current
 FFmpeg. From a user perspective, this is a long-time regression.
 {{{
 $ ffmpeg -loglevel 99 -i example-with-error_cut.mp3
 ffmpeg version N-78200-g0dd201d Copyright (c) 2000-2016 the FFmpeg
 developers
   built with gcc 4.7 (SUSE Linux)
   configuration: --enable-gpl
   libavutil      55. 16.101 / 55. 16.101
   libavcodec     57. 23.100 / 57. 23.100
   libavformat    57. 23.101 / 57. 23.101
   libavdevice    57.  0.101 / 57.  0.101
   libavfilter     6. 27.100 /  6. 27.100
   libswscale      4.  0.100 /  4.  0.100
   libswresample   2.  0.101 /  2.  0.101
   libpostproc    54.  0.100 / 54.  0.100
 Splitting the commandline.
 Reading option '-loglevel' ... matched as option 'loglevel' (set logging
 level) with argument '99'.
 Reading option '-i' ... matched as input file with argument 'example-with-
 error_cut.mp3'.
 Finished splitting the commandline.
 Parsing a group of options: global .
 Applying option loglevel (set logging level) with argument 99.
 Successfully parsed a group of options.
 Parsing a group of options: input file example-with-error_cut.mp3.
 Successfully parsed a group of options.
 Opening an input file: example-with-error_cut.mp3.
 Probing aac score:1 size:2048
 Probing mp3 score:12 size:2048
 Probing aac score:1 size:4096
 Probing mp3 score:12 size:4096
 Probing mp3 score:12 size:8192
 Probing aac score:1 size:16384
 Probing mp3 score:12 size:16384
 Probing mp3 score:12 size:32768
 Probing aac score:1 size:65536
 Probing mp3 score:12 size:65536
 Probing aac score:1 size:131072
 Probing mp3 score:12 size:131072
 Probing aac score:1 size:262144
 Probing mp3 score:12 size:262144
 Probing mp3 score:12 size:524288
 Probing aac score:1 size:2035
 Probing mp3 score:1 size:2035
 [AVIOContext @ 0x383cde0] Statistics: 1048576 bytes read, 0 seeks
 example-with-error_cut.mp3: Invalid data found when processing input
 }}}
 Imo, after an id3 tag was detected, the file should never get a smaller
 score than if no such tag was detected.

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


More information about the FFmpeg-trac mailing list