Opened 11 years ago

Last modified 10 years ago

#3003 open defect

aac in dvb: No audio

Reported by: Carl Eugen Hoyos Owned by:
Priority: normal Component: undetermined
Version: git-master Keywords: videolan mpegts aac
Cc: Blocked By:
Blocking: Reproduced by developer: yes
Analyzed by developer: no

Description

(vlc ticket 9446)
J-B pointed to a dvb recording that plays fine with WMP, does not play with FFmpeg nor vlc. mplayer -ac faad plays audio with incorrect speed (indicating SBR afaict).
The problem is apparently related to CRC checks in the ADTS stream (ISO/IEC 11172-3, subclause 2.4.3.1).

$ ffmpeg -probesize 2G -analyzeduration 2G -i broken_packetizer_mpeg4audio_ATDS.ts
ffmpeg version N-56670-gcd05c40 Copyright (c) 2000-2013 the FFmpeg developers
  built on Sep 26 2013 15:06:25 with gcc 4.7 (SUSE Linux)
  configuration: --enable-gpl
  libavutil      52. 46.100 / 52. 46.100
  libavcodec     55. 33.100 / 55. 33.100
  libavformat    55. 18.102 / 55. 18.102
  libavdevice    55.  3.100 / 55.  3.100
  libavfilter     3. 87.100 /  3. 87.100
  libswscale      2.  5.100 /  2.  5.100
  libswresample   0. 17.103 /  0. 17.103
  libpostproc    52.  3.100 / 52.  3.100
[h264 @ 0x2a244c0] non-existing SPS 0 referenced in buffering period
[h264 @ 0x2a244c0] non-existing PPS referenced
[h264 @ 0x2a244c0] non-existing SPS 0 referenced in buffering period
[h264 @ 0x2a244c0] non-existing PPS 0 referenced
[h264 @ 0x2a244c0] decode_slice_header error
[h264 @ 0x2a244c0] non-existing PPS 0 referenced
[h264 @ 0x2a244c0] decode_slice_header error
[h264 @ 0x2a244c0] non-existing PPS 0 referenced
[h264 @ 0x2a244c0] decode_slice_header error
[h264 @ 0x2a244c0] non-existing PPS 0 referenced
[h264 @ 0x2a244c0] decode_slice_header error
[h264 @ 0x2a244c0] non-existing PPS 0 referenced
[h264 @ 0x2a244c0] decode_slice_header error
[h264 @ 0x2a244c0] non-existing PPS 0 referenced
[h264 @ 0x2a244c0] decode_slice_header error
[h264 @ 0x2a244c0] no frame!

...

[aac @ 0x2a24ec0] get_buffer() failed
    Last message repeated 5 times
[h264 @ 0x2a244c0] non-existing SPS 0 referenced in buffering period
[h264 @ 0x2a244c0] non-existing PPS referenced
[h264 @ 0x2a244c0] non-existing SPS 0 referenced in buffering period
[h264 @ 0x2a244c0] non-existing PPS 0 referenced
[h264 @ 0x2a244c0] decode_slice_header error
[h264 @ 0x2a244c0] non-existing PPS 0 referenced
[h264 @ 0x2a244c0] decode_slice_header error
[h264 @ 0x2a244c0] non-existing PPS 0 referenced
[h264 @ 0x2a244c0] decode_slice_header error
[h264 @ 0x2a244c0] non-existing PPS 0 referenced
[h264 @ 0x2a244c0] decode_slice_header error
[h264 @ 0x2a244c0] non-existing PPS 0 referenced
[h264 @ 0x2a244c0] decode_slice_header error
[h264 @ 0x2a244c0] non-existing PPS 0 referenced
[h264 @ 0x2a244c0] decode_slice_header error
[h264 @ 0x2a244c0] no frame!
[aac @ 0x2a24ec0] get_buffer() failed
    Last message repeated 5 times
[h264 @ 0x2a244c0] mmco: unref short failure
    Last message repeated 1 times
[aac @ 0x2a24ec0] get_buffer() failed
    Last message repeated 5 times
[h264 @ 0x2a244c0] mmco: unref short failure
[aac @ 0x2a24ec0] get_buffer() failed
    Last message repeated 1001 times
[mpegts @ 0x2a20300] PES packet size mismatch
[aac @ 0x2a24ec0] get_buffer() failed
    Last message repeated 2 times
[mpegts @ 0x2a20300] decoding for stream 1 failed
[mpegts @ 0x2a20300] PES packet size mismatch
[mpegts @ 0x2a20300] Could not find codec parameters for stream 1 (Audio: aac ([15][0][0][0] / 0x000F), 0 channels, fltp, 180 kb/s): unspecified sample rate
Consider increasing the value for the 'analyzeduration' and 'probesize' options
Input #0, mpegts, from 'broken_packetizer_mpeg4audio_ATDS.ts':
  Duration: 00:00:23.37, start: 27532.278522, bitrate: 4560 kb/s
  Program 1
    Stream #0:0[0x44]: Video: h264 (Main) ([27][0][0][0] / 0x001B), yuv420p(tv, bt709), 1440x1080 [SAR 4:3 DAR 16:9], 25 fps, 25 tbr, 90k tbn, 50 tbc
    Stream #0:1[0x45]: Audio: aac ([15][0][0][0] / 0x000F), 0 channels, fltp, 180 kb/s
At least one output file must be specified

Change History (3)

comment:2 by llogan, 10 years ago

Reproduced by developer: set
Status: newopen

comment:3 by Carl Eugen Hoyos, 10 years ago

Ticket #3408 is probably related.

Note: See TracTickets for help on using tickets.