[FFmpeg-trac] #6573(avformat:new): lost sound when timestamp discontinuity appears with HLC encoder
FFmpeg
trac at avcodec.org
Tue Aug 15 15:44:31 EEST 2017
#6573: lost sound when timestamp discontinuity appears with HLC encoder
------------------------------------+------------------------------------
Reporter: krs_vital | Owner:
Type: defect | Status: new
Priority: normal | Component: avformat
Version: git-master | Resolution:
Keywords: | Blocked By:
Blocking: | Reproduced by developer: 0
Analyzed by developer: 0 |
------------------------------------+------------------------------------
Changes (by cehoyos):
* priority: critical => normal
Comment:
I tested the following:
{{{
$ ffmpeg -i Shant_Premium.ts -c copy out.ts
ffmpeg version N-86977-g5859b5b Copyright (c) 2000-2017 the FFmpeg
developers
built with gcc 6.3.0 (GCC)
configuration: --enable-gpl
libavutil 55. 73.100 / 55. 73.100
libavcodec 57.102.100 / 57.102.100
libavformat 57. 76.100 / 57. 76.100
libavdevice 57. 7.100 / 57. 7.100
libavfilter 6. 98.100 / 6. 98.100
libswscale 4. 7.102 / 4. 7.102
libswresample 2. 8.100 / 2. 8.100
libpostproc 54. 6.100 / 54. 6.100
[h264 @ 0x3f26ea0] non-existing SPS 0 referenced in buffering period
[h264 @ 0x3f26ea0] SPS unavailable in decode_picture_timing
[h264 @ 0x3f26ea0] non-existing PPS 0 referenced
[h264 @ 0x3f26ea0] non-existing SPS 0 referenced in buffering period
[h264 @ 0x3f26ea0] SPS unavailable in decode_picture_timing
[h264 @ 0x3f26ea0] non-existing PPS 0 referenced
[h264 @ 0x3f26ea0] decode_slice_header error
[h264 @ 0x3f26ea0] no frame!
[h264 @ 0x3f26ea0] non-existing SPS 0 referenced in buffering period
[h264 @ 0x3f26ea0] SPS unavailable in decode_picture_timing
[h264 @ 0x3f26ea0] non-existing PPS 0 referenced
[h264 @ 0x3f26ea0] non-existing SPS 0 referenced in buffering period
[h264 @ 0x3f26ea0] SPS unavailable in decode_picture_timing
[h264 @ 0x3f26ea0] non-existing PPS 0 referenced
[h264 @ 0x3f26ea0] decode_slice_header error
[h264 @ 0x3f26ea0] no frame!
[h264 @ 0x3f26ea0] non-existing SPS 0 referenced in buffering period
[h264 @ 0x3f26ea0] SPS unavailable in decode_picture_timing
[h264 @ 0x3f26ea0] non-existing PPS 0 referenced
[h264 @ 0x3f26ea0] non-existing SPS 0 referenced in buffering period
[h264 @ 0x3f26ea0] SPS unavailable in decode_picture_timing
[h264 @ 0x3f26ea0] non-existing PPS 0 referenced
[h264 @ 0x3f26ea0] decode_slice_header error
[h264 @ 0x3f26ea0] no frame!
[h264 @ 0x3f26ea0] non-existing SPS 0 referenced in buffering period
[h264 @ 0x3f26ea0] SPS unavailable in decode_picture_timing
[h264 @ 0x3f26ea0] non-existing PPS 0 referenced
[h264 @ 0x3f26ea0] non-existing SPS 0 referenced in buffering period
[h264 @ 0x3f26ea0] SPS unavailable in decode_picture_timing
[h264 @ 0x3f26ea0] non-existing PPS 0 referenced
[h264 @ 0x3f26ea0] decode_slice_header error
[h264 @ 0x3f26ea0] no frame!
[h264 @ 0x3f26ea0] non-existing SPS 0 referenced in buffering period
[h264 @ 0x3f26ea0] SPS unavailable in decode_picture_timing
[h264 @ 0x3f26ea0] non-existing PPS 0 referenced
[h264 @ 0x3f26ea0] non-existing SPS 0 referenced in buffering period
[h264 @ 0x3f26ea0] SPS unavailable in decode_picture_timing
[h264 @ 0x3f26ea0] non-existing PPS 0 referenced
[h264 @ 0x3f26ea0] decode_slice_header error
[h264 @ 0x3f26ea0] no frame!
[h264 @ 0x3f26ea0] non-existing SPS 0 referenced in buffering period
[h264 @ 0x3f26ea0] SPS unavailable in decode_picture_timing
[h264 @ 0x3f26ea0] non-existing PPS 0 referenced
[h264 @ 0x3f26ea0] non-existing SPS 0 referenced in buffering period
[h264 @ 0x3f26ea0] SPS unavailable in decode_picture_timing
[h264 @ 0x3f26ea0] non-existing PPS 0 referenced
[h264 @ 0x3f26ea0] decode_slice_header error
[h264 @ 0x3f26ea0] no frame!
[h264 @ 0x3f26ea0] non-existing SPS 0 referenced in buffering period
[h264 @ 0x3f26ea0] SPS unavailable in decode_picture_timing
[h264 @ 0x3f26ea0] non-existing PPS 0 referenced
[h264 @ 0x3f26ea0] non-existing SPS 0 referenced in buffering period
[h264 @ 0x3f26ea0] SPS unavailable in decode_picture_timing
[h264 @ 0x3f26ea0] non-existing PPS 0 referenced
[h264 @ 0x3f26ea0] decode_slice_header error
[h264 @ 0x3f26ea0] no frame!
[h264 @ 0x3f26ea0] non-existing SPS 0 referenced in buffering period
[h264 @ 0x3f26ea0] SPS unavailable in decode_picture_timing
[h264 @ 0x3f26ea0] non-existing PPS 0 referenced
[h264 @ 0x3f26ea0] non-existing SPS 0 referenced in buffering period
[h264 @ 0x3f26ea0] SPS unavailable in decode_picture_timing
[h264 @ 0x3f26ea0] non-existing PPS 0 referenced
[h264 @ 0x3f26ea0] decode_slice_header error
[h264 @ 0x3f26ea0] no frame!
[h264 @ 0x3f26ea0] non-existing SPS 0 referenced in buffering period
[h264 @ 0x3f26ea0] SPS unavailable in decode_picture_timing
[h264 @ 0x3f26ea0] non-existing PPS 0 referenced
[h264 @ 0x3f26ea0] non-existing SPS 0 referenced in buffering period
[h264 @ 0x3f26ea0] SPS unavailable in decode_picture_timing
[h264 @ 0x3f26ea0] non-existing PPS 0 referenced
[h264 @ 0x3f26ea0] decode_slice_header error
[h264 @ 0x3f26ea0] no frame!
[h264 @ 0x3f26ea0] non-existing SPS 0 referenced in buffering period
[h264 @ 0x3f26ea0] SPS unavailable in decode_picture_timing
[h264 @ 0x3f26ea0] non-existing PPS 0 referenced
[h264 @ 0x3f26ea0] non-existing SPS 0 referenced in buffering period
[h264 @ 0x3f26ea0] SPS unavailable in decode_picture_timing
[h264 @ 0x3f26ea0] non-existing PPS 0 referenced
[h264 @ 0x3f26ea0] decode_slice_header error
[h264 @ 0x3f26ea0] no frame!
[h264 @ 0x3f26ea0] non-existing SPS 0 referenced in buffering period
[h264 @ 0x3f26ea0] SPS unavailable in decode_picture_timing
[h264 @ 0x3f26ea0] non-existing PPS 0 referenced
[h264 @ 0x3f26ea0] non-existing SPS 0 referenced in buffering period
[h264 @ 0x3f26ea0] SPS unavailable in decode_picture_timing
[h264 @ 0x3f26ea0] non-existing PPS 0 referenced
[h264 @ 0x3f26ea0] decode_slice_header error
[h264 @ 0x3f26ea0] no frame!
[h264 @ 0x3f26ea0] non-existing SPS 0 referenced in buffering period
[h264 @ 0x3f26ea0] SPS unavailable in decode_picture_timing
[h264 @ 0x3f26ea0] non-existing PPS 0 referenced
[h264 @ 0x3f26ea0] non-existing SPS 0 referenced in buffering period
[h264 @ 0x3f26ea0] SPS unavailable in decode_picture_timing
[h264 @ 0x3f26ea0] non-existing PPS 0 referenced
[h264 @ 0x3f26ea0] decode_slice_header error
[h264 @ 0x3f26ea0] no frame!
[h264 @ 0x3f26ea0] non-existing SPS 0 referenced in buffering period
[h264 @ 0x3f26ea0] SPS unavailable in decode_picture_timing
[h264 @ 0x3f26ea0] non-existing PPS 0 referenced
[h264 @ 0x3f26ea0] non-existing SPS 0 referenced in buffering period
[h264 @ 0x3f26ea0] SPS unavailable in decode_picture_timing
[h264 @ 0x3f26ea0] non-existing PPS 0 referenced
[h264 @ 0x3f26ea0] decode_slice_header error
[h264 @ 0x3f26ea0] no frame!
[h264 @ 0x3f26ea0] non-existing SPS 0 referenced in buffering period
[h264 @ 0x3f26ea0] SPS unavailable in decode_picture_timing
[h264 @ 0x3f26ea0] non-existing PPS 0 referenced
[h264 @ 0x3f26ea0] non-existing SPS 0 referenced in buffering period
[h264 @ 0x3f26ea0] SPS unavailable in decode_picture_timing
[h264 @ 0x3f26ea0] non-existing PPS 0 referenced
[h264 @ 0x3f26ea0] decode_slice_header error
[h264 @ 0x3f26ea0] no frame!
[h264 @ 0x3f26ea0] non-existing SPS 0 referenced in buffering period
[h264 @ 0x3f26ea0] SPS unavailable in decode_picture_timing
[h264 @ 0x3f26ea0] non-existing PPS 0 referenced
[h264 @ 0x3f26ea0] non-existing SPS 0 referenced in buffering period
[h264 @ 0x3f26ea0] SPS unavailable in decode_picture_timing
[h264 @ 0x3f26ea0] non-existing PPS 0 referenced
[h264 @ 0x3f26ea0] decode_slice_header error
[h264 @ 0x3f26ea0] no frame!
[h264 @ 0x3f26ea0] non-existing SPS 0 referenced in buffering period
[h264 @ 0x3f26ea0] SPS unavailable in decode_picture_timing
[h264 @ 0x3f26ea0] non-existing PPS 0 referenced
[h264 @ 0x3f26ea0] non-existing SPS 0 referenced in buffering period
[h264 @ 0x3f26ea0] SPS unavailable in decode_picture_timing
[h264 @ 0x3f26ea0] non-existing PPS 0 referenced
[h264 @ 0x3f26ea0] decode_slice_header error
[h264 @ 0x3f26ea0] no frame!
[h264 @ 0x3f26ea0] non-existing SPS 0 referenced in buffering period
[h264 @ 0x3f26ea0] SPS unavailable in decode_picture_timing
[h264 @ 0x3f26ea0] non-existing PPS 0 referenced
[h264 @ 0x3f26ea0] non-existing SPS 0 referenced in buffering period
[h264 @ 0x3f26ea0] SPS unavailable in decode_picture_timing
[h264 @ 0x3f26ea0] non-existing PPS 0 referenced
[h264 @ 0x3f26ea0] decode_slice_header error
[h264 @ 0x3f26ea0] no frame!
[h264 @ 0x3f26ea0] non-existing SPS 0 referenced in buffering period
[h264 @ 0x3f26ea0] SPS unavailable in decode_picture_timing
[h264 @ 0x3f26ea0] non-existing PPS 0 referenced
[h264 @ 0x3f26ea0] non-existing SPS 0 referenced in buffering period
[h264 @ 0x3f26ea0] SPS unavailable in decode_picture_timing
[h264 @ 0x3f26ea0] non-existing PPS 0 referenced
[h264 @ 0x3f26ea0] decode_slice_header error
[h264 @ 0x3f26ea0] no frame!
[h264 @ 0x3f26ea0] non-existing SPS 0 referenced in buffering period
[h264 @ 0x3f26ea0] SPS unavailable in decode_picture_timing
[h264 @ 0x3f26ea0] non-existing PPS 0 referenced
[h264 @ 0x3f26ea0] non-existing SPS 0 referenced in buffering period
[h264 @ 0x3f26ea0] SPS unavailable in decode_picture_timing
[h264 @ 0x3f26ea0] non-existing PPS 0 referenced
[h264 @ 0x3f26ea0] decode_slice_header error
[h264 @ 0x3f26ea0] no frame!
[h264 @ 0x3f26ea0] non-existing SPS 0 referenced in buffering period
[h264 @ 0x3f26ea0] SPS unavailable in decode_picture_timing
[h264 @ 0x3f26ea0] non-existing PPS 0 referenced
[h264 @ 0x3f26ea0] non-existing SPS 0 referenced in buffering period
[h264 @ 0x3f26ea0] SPS unavailable in decode_picture_timing
[h264 @ 0x3f26ea0] non-existing PPS 0 referenced
[h264 @ 0x3f26ea0] decode_slice_header error
[h264 @ 0x3f26ea0] no frame!
[h264 @ 0x3f26ea0] non-existing SPS 0 referenced in buffering period
[h264 @ 0x3f26ea0] SPS unavailable in decode_picture_timing
[h264 @ 0x3f26ea0] non-existing PPS 0 referenced
[h264 @ 0x3f26ea0] non-existing SPS 0 referenced in buffering period
[h264 @ 0x3f26ea0] SPS unavailable in decode_picture_timing
[h264 @ 0x3f26ea0] non-existing PPS 0 referenced
[h264 @ 0x3f26ea0] decode_slice_header error
[h264 @ 0x3f26ea0] no frame!
[h264 @ 0x3f26ea0] non-existing SPS 0 referenced in buffering period
[h264 @ 0x3f26ea0] SPS unavailable in decode_picture_timing
[h264 @ 0x3f26ea0] non-existing PPS 0 referenced
[h264 @ 0x3f26ea0] non-existing SPS 0 referenced in buffering period
[h264 @ 0x3f26ea0] SPS unavailable in decode_picture_timing
[h264 @ 0x3f26ea0] non-existing PPS 0 referenced
[h264 @ 0x3f26ea0] decode_slice_header error
[h264 @ 0x3f26ea0] no frame!
[h264 @ 0x3f26ea0] non-existing SPS 0 referenced in buffering period
[h264 @ 0x3f26ea0] SPS unavailable in decode_picture_timing
[h264 @ 0x3f26ea0] non-existing PPS 0 referenced
[h264 @ 0x3f26ea0] non-existing SPS 0 referenced in buffering period
[h264 @ 0x3f26ea0] SPS unavailable in decode_picture_timing
[h264 @ 0x3f26ea0] non-existing PPS 0 referenced
[h264 @ 0x3f26ea0] decode_slice_header error
[h264 @ 0x3f26ea0] no frame!
[mpegts @ 0x3f223c0] PES packet size mismatch
Input #0, mpegts, from 'Shant_Premium.ts':
Duration: 00:01:48.30, start: 39165.377300, bitrate: 4217 kb/s
Program 50
Metadata:
service_name : Shant Premium HD
service_provider: Shant TV
Stream #0:0[0x1f5]: Video: h264 (Main) ([27][0][0][0] / 0x001B),
yuv420p(tv, bt709, top first), 1920x1080 [SAR 1:1 DAR 16:9], 25 fps, 50
tbr, 90k tbn, 50 tbc
Stream #0:1[0x1f6](eng): Audio: mp2 ([3][0][0][0] / 0x0003), 48000 Hz,
stereo, s16p, 128 kb/s
Output #0, mpegts, to 'out.ts':
Metadata:
encoder : Lavf57.76.100
Stream #0:0: Video: h264 (Main) ([27][0][0][0] / 0x001B), yuv420p(tv,
bt709, top first), 1920x1080 [SAR 1:1 DAR 16:9], q=2-31, 25 fps, 50 tbr,
90k tbn, 90k tbc
Stream #0:1(eng): Audio: mp2 ([3][0][0][0] / 0x0003), 48000 Hz,
stereo, s16p, 128 kb/s
Stream mapping:
Stream #0:0 -> #0:0 (copy)
Stream #0:1 -> #0:1 (copy)
Press [q] to stop, [?] for help
[mpegts @ 0x3f223c0] PES packet size mismatch
Last message repeated 1 times
frame= 4814 fps=0.0 q=-1.0 Lsize= 48456kB time=00:01:48.08
bitrate=3672.7kbits/s speed= 822x
video:42856kB audio:1512kB subtitle:0kB other streams:0kB global
headers:0kB muxing overhead: 9.215338%
}}}
I don't see a line `Error while decoding stream #0:1` and the output file
plays not worse than the input file.
--
Ticket URL: <https://trac.ffmpeg.org/ticket/6573#comment:7>
FFmpeg <https://ffmpeg.org>
FFmpeg issue tracker
More information about the FFmpeg-trac
mailing list