[FFmpeg-trac] #4864(avcodec:new): AC3 is parsed as MP3

FFmpeg trac at avcodec.org
Thu Sep 17 21:46:48 CEST 2015


#4864: AC3 is parsed as MP3
-------------------------------------+-------------------------------------
             Reporter:  fritsch      |                     Type:  defect
               Status:  new          |                 Priority:  normal
            Component:  avcodec      |                  Version:
             Keywords:  mp3 ac3      |  unspecified
  Header missing                     |               Blocked By:
             Blocking:               |  Reproduced by developer:  0
Analyzed by developer:  0            |
-------------------------------------+-------------------------------------
 Try to play the uploaded file (incoming/mp3ac3.ts) . ffmpeg tries to parse
 it as mp3 and fails.

 [mp3 @ 0x224bb40] Header missing
 [mp3 @ 0x224c6c0] Header missing
 [mp3 @ 0x224bb40] Header missing
 [mp3 @ 0x224c6c0] Header missing
 [mp3 @ 0x224bb40] Header missing
 [mp3 @ 0x224c6c0] Header missing
 [mp3 @ 0x224bb40] Header missing
 [mp3 @ 0x224c6c0] Header missing
 [mp3 @ 0x224bb40] Header missing
 [mp3 @ 0x224c6c0] Header missing
 [mp3 @ 0x224bb40] Header missing
 [mp3 @ 0x224c6c0] Header missing
 [mp3 @ 0x224bb40] Header missing
 [mp3 @ 0x224c6c0] Header missing
 [mp3 @ 0x224bb40] Header missing
 [mp3 @ 0x224c6c0] Header missing
 [mp3 @ 0x224bb40] Header missing
 [mp3 @ 0x224c6c0] Header missing
 [mp3 @ 0x224bb40] Header missing
 [mp3 @ 0x224c6c0] Header missing
 [mp3 @ 0x224bb40] Header missing
 [mp3 @ 0x224c6c0] Header missing
 [mpegts @ 0x2246ba0] decoding for stream 1 failed
 [mpegts @ 0x2246ba0] decoding for stream 2 failed
 [mpegts @ 0x2246ba0] PES packet size mismatch
 [mpegts @ 0x2246ba0] Could not find codec parameters for stream 1 (Audio:
 mp3 ([4][0][0][0] / 0x0004), 0 channels, s16p): unspecified frame size
 Consider increasing the value for the 'analyzeduration' and 'probesize'
 options
 [mpegts @ 0x2246ba0] Could not find codec parameters for stream 2 (Audio:
 mp3 ([4][0][0][0] / 0x0004), 0 channels, s16p): unspecified frame size
 Consider increasing the value for the 'analyzeduration' and 'probesize'
 options
 Input #0, mpegts, from '../../Downloads/mp3ac3.ts':
   Duration: 00:00:05.53, start: 43473.703389, bitrate: 14819 kb/s
   Program 132
     Stream #0:0[0x31]: Video: mpeg2video (Main) ([2][0][0][0] / 0x0002),
 yuv420p(tv), 1280x720 [SAR 1:1 DAR 16:9], Closed Captions, 15000 kb/s,
 59.94 fps, 59.94 tbr, 90k tbn, 119.88 tbc
     Stream #0:1[0x34](eng): Audio: mp3 ([4][0][0][0] / 0x0004), 0
 channels, s16p
     Audio #1
 ID                                       : 52 (0x34)
 Menu ID                                  : 132 (0x84)
 Format                                   : AC-3
 Format/Info                              : Audio Coding 3
 Mode extension                           : CM (complete main)
 Format settings, Endianness              : Big
 Codec ID                                 : 6
 Duration                                 : 5s 24ms
 Bit rate mode                            : Constant
 Bit rate                                 : 384 Kbps
 Channel(s)                               : 6 channels
 Channel positions                        : Front: L C R, Side: L R, LFE
 Sampling rate                            : 48.0 KHz
 Bit depth                                : 16 bits
 Compression mode                         : Lossy
 Delay relative to video                  : -406ms
 Stream size                              : 236 KiB (2%)

 Audio #2
 ID                                       : 53 (0x35)
 Menu ID                                  : 132 (0x84)
 Format                                   : AC-3
 Format/Info                              : Audio Coding 3
 Mode extension                           : CM (complete main)
 Format settings, Endianness              : Big
 Codec ID                                 : 6
 Duration                                 : 5s 24ms
 Bit rate mode                            : Constant
 Bit rate                                 : 192 Kbps
 Channel(s)                               : 2 channels
 Channel positions                        : Front: L R
 Sampling rate                            : 48.0 KHz
 Bit depth                                : 16 bits
 Compression mode                         : Lossy
 Delay relative to video                  : -398ms
 Stream size                              : 118 KiB (1%)Stream
 #0:2[0x35](es): Audio: mp3 ([4][0][0][0] / 0x0004), 0 channels, s16p

 mediainfo:
 Audio #1
 ID                                       : 52 (0x34)
 Menu ID                                  : 132 (0x84)
 Format                                   : AC-3
 Format/Info                              : Audio Coding 3
 Mode extension                           : CM (complete main)
 Format settings, Endianness              : Big
 Codec ID                                 : 6
 Duration                                 : 5s 24ms
 Bit rate mode                            : Constant
 Bit rate                                 : 384 Kbps
 Channel(s)                               : 6 channels
 Channel positions                        : Front: L C R, Side: L R, LFE
 Sampling rate                            : 48.0 KHz
 Bit depth                                : 16 bits
 Compression mode                         : Lossy
 Delay relative to video                  : -406ms
 Stream size                              : 236 KiB (2%)

 Audio #2
 ID                                       : 53 (0x35)
 Menu ID                                  : 132 (0x84)
 Format                                   : AC-3
 Format/Info                              : Audio Coding 3
 Mode extension                           : CM (complete main)
 Format settings, Endianness              : Big
 Codec ID                                 : 6
 Duration                                 : 5s 24ms
 Bit rate mode                            : Constant
 Bit rate                                 : 192 Kbps
 Channel(s)                               : 2 channels
 Channel positions                        : Front: L R
 Sampling rate                            : 48.0 KHz
 Bit depth                                : 16 bits
 Compression mode                         : Lossy
 Delay relative to video                  : -398ms
 Stream size                              : 118 KiB (1%)

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


More information about the FFmpeg-trac mailing list