[FFmpeg-trac] #5047(undetermined:new): Regression in mp3 audio stream handling

FFmpeg trac at avcodec.org
Mon Nov 30 11:28:42 CET 2015


#5047: Regression in mp3 audio stream handling
-------------------------------------+-------------------------------------
             Reporter:  fritsch      |                    Owner:
                 Type:  defect       |                   Status:  new
             Priority:  normal       |                Component:
              Version:  2.8.1        |  undetermined
             Keywords:  mp3 header   |               Resolution:
  missing                            |               Blocked By:
             Blocking:               |  Reproduced by developer:  0
Analyzed by developer:  0            |
-------------------------------------+-------------------------------------

Comment (by cehoyos):

 For future tickets: Please always provide your failing command line
 together with the complete, ''uncut'' console output, only test with
 ffplay if an issue is not reproducible with ffmpeg.

 Regression since ae215e2b / 6ec688e1 - related to ticket #4938.
 {{{
 $ ffmpeg -i denis-mp3-broken_cut.mp4 -t 10 -qscale 2 out.avi
 ffmpeg version N-76950-ga814f1d Copyright (c) 2000-2015 the FFmpeg
 developers
   built with gcc 4.7 (SUSE Linux)
   configuration:
   libavutil      55.  9.100 / 55.  9.100
   libavcodec     57. 16.101 / 57. 16.101
   libavformat    57. 19.100 / 57. 19.100
   libavdevice    57.  0.100 / 57.  0.100
   libavfilter     6. 17.100 /  6. 17.100
   libswscale      4.  0.100 /  4.  0.100
   libswresample   2.  0.101 /  2.  0.101
 Input #0, mov,mp4,m4a,3gp,3g2,mj2, from 'denis-mp3-broken_cut.mp4':
   Metadata:
     major_brand     : mp42
     minor_version   : 512
     compatible_brands: isomiso2avc1mp41
     encoder         : HandBrake 0.10.0 2014112200
   Duration: 00:11:08.02, start: 0.080000, bitrate: 30 kb/s
     Stream #0:0(und): Video: h264 (Main) (avc1 / 0x31637661), yuv420p(tv,
 smpte170m/bt470bg/bt709), 704x576 [SAR 16:11 DAR 16:9], 780 kb/s, 25 fps,
 25 tbr, 90k tbn, 180k tbc (default)
     Metadata:
       handler_name    : VideoHandler
     Stream #0:1(und): Audio: mp3 (mp4a / 0x6134706D), 48000 Hz, stereo,
 s16p, 122 kb/s (default)
     Metadata:
       handler_name    : Stereo
 Please use -q:a or -q:v, -qscale is ambiguous
 Output #0, avi, to 'out.avi':
   Metadata:
     major_brand     : mp42
     minor_version   : 512
     compatible_brands: isomiso2avc1mp41
     ISFT            : Lavf57.19.100
     Stream #0:0(und): Video: mpeg4 (FMP4 / 0x34504D46), yuv420p, 704x576
 [SAR 16:11 DAR 16:9], q=2-31, 200 kb/s, 25 fps, 25 tbn, 25 tbc (default)
     Metadata:
       handler_name    : VideoHandler
       encoder         : Lavc57.16.101 mpeg4
     Stream #0:1(und): Audio: ac3 ([0] [0][0] / 0x2000), 48000 Hz, stereo,
 fltp, 192 kb/s (default)
     Metadata:
       handler_name    : Stereo
       encoder         : Lavc57.16.101 ac3
 Stream mapping:
   Stream #0:0 -> #0:0 (h264 (native) -> mpeg4 (native))
   Stream #0:1 -> #0:1 (mp3 (native) -> ac3 (native))
 Press [q] to stop, [?] for help
 [mp3 @ 0x25d45e0] Header missing
 Error while decoding stream #0:1: Invalid data found when processing input
 [mp3 @ 0x25d45e0] Header missing
 Error while decoding stream #0:1: Invalid data found when processing input

 ...

 ...

 [mp3 @ 0x25d45e0] Header missing
 Error while decoding stream #0:1: Invalid data found when processing input
 [mp3 @ 0x25d45e0] Header missing
 Error while decoding stream #0:1: Invalid data found when processing input
 frame=  250 fps=0.0 q=2.0 Lsize=    5736kB time=00:00:10.00
 bitrate=4698.8kbits/s
 video:5706kB audio:8kB subtitle:0kB other streams:0kB global headers:0kB
 muxing overhead: 0.386214%
 }}}

--
Ticket URL: <https://trac.ffmpeg.org/ticket/5047#comment:1>
FFmpeg <https://ffmpeg.org>
FFmpeg issue tracker


More information about the FFmpeg-trac mailing list