[FFmpeg-trac] #7309(avformat:open): FFmpeg failing to detect mp2 audio with stream identifier "AC-3" (was: FFmpeg failing to detect audio for a particular input stream)
FFmpeg
trac at avcodec.org
Mon Jul 9 20:44:06 EEST 2018
#7309: FFmpeg failing to detect mp2 audio with stream identifier "AC-3"
-------------------------------------+-------------------------------------
Reporter: barhom | Owner:
Type: defect | Status: open
Priority: minor | Component: avformat
Version: git-master | Resolution:
Keywords: mpegts | Blocked By:
regression | Reproduced by developer: 1
Blocking: |
Analyzed by developer: 0 |
-------------------------------------+-------------------------------------
Changes (by cehoyos):
* status: new => open
* reproduced: 0 => 1
* component: undetermined => avformat
* priority: normal => minor
* version: unspecified => git-master
* keywords: => mpegts regression
Comment:
For future tickets: Please remember to always test current FFmpeg git
head.
Can be considered a regression since
4bec36f98c5150b09d45740f3e1c80526e85b676 related to ticket #4864 but the
sample looks invalid with mp2 audio using `AC-3` as stream identifier.
{{{
$ ffmpeg -i input_cut.ts
ffmpeg version N-91445-g6cc6b61 Copyright (c) 2000-2018 the FFmpeg
developers
built with gcc 4.3 (SUSE Linux)
configuration: --enable-gpl
libavutil 56. 18.102 / 56. 18.102
libavcodec 58. 21.104 / 58. 21.104
libavformat 58. 17.101 / 58. 17.101
libavdevice 58. 4.101 / 58. 4.101
libavfilter 7. 25.100 / 7. 25.100
libswscale 5. 2.100 / 5. 2.100
libswresample 3. 2.100 / 3. 2.100
libpostproc 55. 2.100 / 55. 2.100
[h264 @ 0x9a9b780] SPS unavailable in decode_picture_timing
[h264 @ 0x9a9b780] non-existing PPS 0 referenced
[h264 @ 0x9a9b780] SPS unavailable in decode_picture_timing
[h264 @ 0x9a9b780] non-existing PPS 0 referenced
[h264 @ 0x9a9b780] decode_slice_header error
[h264 @ 0x9a9b780] no frame!
[h264 @ 0x9a9b780] SPS unavailable in decode_picture_timing
[h264 @ 0x9a9b780] non-existing PPS 0 referenced
[h264 @ 0x9a9b780] SPS unavailable in decode_picture_timing
[h264 @ 0x9a9b780] non-existing PPS 0 referenced
[h264 @ 0x9a9b780] decode_slice_header error
[h264 @ 0x9a9b780] no frame!
[h264 @ 0x9a9b780] SPS unavailable in decode_picture_timing
[h264 @ 0x9a9b780] non-existing PPS 0 referenced
[h264 @ 0x9a9b780] SPS unavailable in decode_picture_timing
[h264 @ 0x9a9b780] non-existing PPS 0 referenced
[h264 @ 0x9a9b780] decode_slice_header error
[h264 @ 0x9a9b780] no frame!
[h264 @ 0x9a9b780] sps_id 0 out of range
[h264 @ 0x9a9b780] SPS unavailable in decode_picture_timing
[h264 @ 0x9a9b780] non-existing PPS 1 referenced
[h264 @ 0x9a9b780] sps_id 0 out of range
[h264 @ 0x9a9b780] SPS unavailable in decode_picture_timing
[h264 @ 0x9a9b780] non-existing PPS 1 referenced
[h264 @ 0x9a9b780] decode_slice_header error
[h264 @ 0x9a9b780] no frame!
[h264 @ 0x9a9b780] SPS unavailable in decode_picture_timing
[h264 @ 0x9a9b780] non-existing PPS 1 referenced
[h264 @ 0x9a9b780] SPS unavailable in decode_picture_timing
[h264 @ 0x9a9b780] non-existing PPS 1 referenced
[h264 @ 0x9a9b780] decode_slice_header error
[h264 @ 0x9a9b780] no frame!
[mpegts @ 0x9a96200] PES packet size mismatch
[ac3 @ 0x9a9a900] frame sync error
[mpegts @ 0x9a96200] decoding for stream 0 failed
[mpegts @ 0x9a96200] PES packet size mismatch
[mpegts @ 0x9a96200] Could not find codec parameters for stream 0 (Audio:
ac3 (AC-3 / 0x332D4341), 0 channels, fltp): unspecified sample rate
Consider increasing the value for the 'analyzeduration' and 'probesize'
options
Input #0, mpegts, from 'input_cut.ts':
Duration: 00:00:04.45, start: 19690.439156, bitrate: 4601 kb/s
Program 7
Metadata:
service_name : OMAN TV HD
service_provider: ARABSAT
Stream #0:0[0x6b8](ara): Audio: ac3 (AC-3 / 0x332D4341), 0 channels,
fltp
Stream #0:1[0x6e0]: Video: h264 (High) ([27][0][0][0] / 0x001B),
yuv420p(tv, bt709, top first), 1920x1080 [SAR 1:1 DAR 16:9], 25 fps, 25
tbr, 90k tbn, 50 tbc
At least one output file must be specified
}}}
{{{
$ ffmpeg -acodec mp2 -i input_cut.ts
ffmpeg version N-91445-g6cc6b61 Copyright (c) 2000-2018 the FFmpeg
developers
built with gcc 4.3 (SUSE Linux)
configuration: --enable-gpl
libavutil 56. 18.102 / 56. 18.102
libavcodec 58. 21.104 / 58. 21.104
libavformat 58. 17.101 / 58. 17.101
libavdevice 58. 4.101 / 58. 4.101
libavfilter 7. 25.100 / 7. 25.100
libswscale 5. 2.100 / 5. 2.100
libswresample 3. 2.100 / 3. 2.100
libpostproc 55. 2.100 / 55. 2.100
[h264 @ 0x9a9b700] SPS unavailable in decode_picture_timing
[h264 @ 0x9a9b700] non-existing PPS 0 referenced
[h264 @ 0x9a9b700] SPS unavailable in decode_picture_timing
[h264 @ 0x9a9b700] non-existing PPS 0 referenced
[h264 @ 0x9a9b700] decode_slice_header error
[h264 @ 0x9a9b700] no frame!
[h264 @ 0x9a9b700] SPS unavailable in decode_picture_timing
[h264 @ 0x9a9b700] non-existing PPS 0 referenced
[h264 @ 0x9a9b700] SPS unavailable in decode_picture_timing
[h264 @ 0x9a9b700] non-existing PPS 0 referenced
[h264 @ 0x9a9b700] decode_slice_header error
[h264 @ 0x9a9b700] no frame!
[h264 @ 0x9a9b700] SPS unavailable in decode_picture_timing
[h264 @ 0x9a9b700] non-existing PPS 0 referenced
[h264 @ 0x9a9b700] SPS unavailable in decode_picture_timing
[h264 @ 0x9a9b700] non-existing PPS 0 referenced
[h264 @ 0x9a9b700] decode_slice_header error
[h264 @ 0x9a9b700] no frame!
[h264 @ 0x9a9b700] sps_id 0 out of range
[h264 @ 0x9a9b700] SPS unavailable in decode_picture_timing
[h264 @ 0x9a9b700] non-existing PPS 1 referenced
[h264 @ 0x9a9b700] sps_id 0 out of range
[h264 @ 0x9a9b700] SPS unavailable in decode_picture_timing
[h264 @ 0x9a9b700] non-existing PPS 1 referenced
[h264 @ 0x9a9b700] decode_slice_header error
[h264 @ 0x9a9b700] no frame!
[h264 @ 0x9a9b700] SPS unavailable in decode_picture_timing
[h264 @ 0x9a9b700] non-existing PPS 1 referenced
[h264 @ 0x9a9b700] SPS unavailable in decode_picture_timing
[h264 @ 0x9a9b700] non-existing PPS 1 referenced
[h264 @ 0x9a9b700] decode_slice_header error
[h264 @ 0x9a9b700] no frame!
[mpegts @ 0x9a96240] PES packet size mismatch
Last message repeated 1 times
Input #0, mpegts, from 'input_cut.ts':
Duration: 00:00:04.45, start: 19690.439156, bitrate: 4601 kb/s
Program 7
Metadata:
service_name : OMAN TV HD
service_provider: ARABSAT
Stream #0:0[0x6b8](ara): Audio: mp2 (AC-3 / 0x332D4341), 48000 Hz,
stereo, s16p, 128 kb/s
Stream #0:1[0x6e0]: Video: h264 (High) ([27][0][0][0] / 0x001B),
yuv420p(tv, bt709, top first), 1920x1080 [SAR 1:1 DAR 16:9], 25 fps, 25
tbr, 90k tbn, 50 tbc
At least one output file must be specified
}}}
--
Ticket URL: <https://trac.ffmpeg.org/ticket/7309#comment:2>
FFmpeg <https://ffmpeg.org>
FFmpeg issue tracker
More information about the FFmpeg-trac
mailing list