[FFmpeg-trac] #6825(avformat:new): hlsenc muxer in fmp4 mode creates broken init.mp4 with ac3 surround sound input
FFmpeg
trac at avcodec.org
Fri Nov 10 04:44:38 EET 2017
#6825: hlsenc muxer in fmp4 mode creates broken init.mp4 with ac3 surround sound
input
------------------------------------+------------------------------------
Reporter: tmm1 | 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 |
------------------------------------+------------------------------------
Comment (by stevenliu):
I try use the sample.mpg remux to dash, it also have problem:
liuqideMBP:Test liuqi$ ~/multimedia/ffmpeg/xxx/ffmpeg -i sample.mpg -c
copy -f dash -use_timeline 1 output/a.mpd
ffmpeg version N-88638-gc72abbd0dc Copyright (c) 2000-2017 the FFmpeg
developers
built with Apple LLVM version 8.1.0 (clang-802.0.42)
configuration: --enable-fontconfig --enable-gpl --enable-libass
--enable-libbluray --enable-libfreetype --enable-libmp3lame --enable-
libspeex --enable-libx264 --enable-libx265 --enable-libfdk-aac --enable-
version3 --cc='ccache gcc' --enable-nonfree --enable-videotoolbox
libavutil 56. 0.100 / 56. 0.100
libavcodec 58. 1.100 / 58. 1.100
libavformat 58. 2.102 / 58. 2.102
libavdevice 58. 0.100 / 58. 0.100
libavfilter 7. 0.101 / 7. 0.101
libswscale 5. 0.101 / 5. 0.101
libswresample 3. 0.101 / 3. 0.101
libpostproc 55. 0.100 / 55. 0.100
[h264 @ 0x7f8d6f801000] SPS unavailable in decode_picture_timing
[h264 @ 0x7f8d6f801000] non-existing PPS 1 referenced
[h264 @ 0x7f8d6f801000] SPS unavailable in decode_picture_timing
[h264 @ 0x7f8d6f801000] non-existing PPS 1 referenced
[h264 @ 0x7f8d6f801000] decode_slice_header error
[h264 @ 0x7f8d6f801000] no frame!
[h264 @ 0x7f8d6f801000] SPS unavailable in decode_picture_timing
[h264 @ 0x7f8d6f801000] non-existing PPS 1 referenced
[h264 @ 0x7f8d6f801000] SPS unavailable in decode_picture_timing
[h264 @ 0x7f8d6f801000] non-existing PPS 1 referenced
[h264 @ 0x7f8d6f801000] decode_slice_header error
[h264 @ 0x7f8d6f801000] no frame!
[h264 @ 0x7f8d6f801000] SPS unavailable in decode_picture_timing
[h264 @ 0x7f8d6f801000] non-existing PPS 1 referenced
[h264 @ 0x7f8d6f801000] SPS unavailable in decode_picture_timing
[h264 @ 0x7f8d6f801000] non-existing PPS 1 referenced
[h264 @ 0x7f8d6f801000] decode_slice_header error
[h264 @ 0x7f8d6f801000] no frame!
[h264 @ 0x7f8d6f801000] SPS unavailable in decode_picture_timing
[h264 @ 0x7f8d6f801000] non-existing PPS 1 referenced
[h264 @ 0x7f8d6f801000] SPS unavailable in decode_picture_timing
[h264 @ 0x7f8d6f801000] non-existing PPS 1 referenced
[h264 @ 0x7f8d6f801000] decode_slice_header error
[h264 @ 0x7f8d6f801000] no frame!
[h264 @ 0x7f8d6f801000] SPS unavailable in decode_picture_timing
[h264 @ 0x7f8d6f801000] non-existing PPS 1 referenced
[h264 @ 0x7f8d6f801000] SPS unavailable in decode_picture_timing
[h264 @ 0x7f8d6f801000] non-existing PPS 1 referenced
[h264 @ 0x7f8d6f801000] decode_slice_header error
[h264 @ 0x7f8d6f801000] no frame!
[h264 @ 0x7f8d6f801000] SPS unavailable in decode_picture_timing
[h264 @ 0x7f8d6f801000] non-existing PPS 1 referenced
[h264 @ 0x7f8d6f801000] SPS unavailable in decode_picture_timing
[h264 @ 0x7f8d6f801000] non-existing PPS 1 referenced
[h264 @ 0x7f8d6f801000] decode_slice_header error
[h264 @ 0x7f8d6f801000] no frame!
[h264 @ 0x7f8d6f801000] SPS unavailable in decode_picture_timing
[h264 @ 0x7f8d6f801000] non-existing PPS 1 referenced
[h264 @ 0x7f8d6f801000] SPS unavailable in decode_picture_timing
[h264 @ 0x7f8d6f801000] non-existing PPS 1 referenced
[h264 @ 0x7f8d6f801000] decode_slice_header error
[h264 @ 0x7f8d6f801000] no frame!
[h264 @ 0x7f8d6f801000] SPS unavailable in decode_picture_timing
[h264 @ 0x7f8d6f801000] non-existing PPS 1 referenced
[h264 @ 0x7f8d6f801000] SPS unavailable in decode_picture_timing
[h264 @ 0x7f8d6f801000] non-existing PPS 1 referenced
[h264 @ 0x7f8d6f801000] decode_slice_header error
[h264 @ 0x7f8d6f801000] no frame!
[h264 @ 0x7f8d6f801000] SPS unavailable in decode_picture_timing
[h264 @ 0x7f8d6f801000] non-existing PPS 1 referenced
[h264 @ 0x7f8d6f801000] SPS unavailable in decode_picture_timing
[h264 @ 0x7f8d6f801000] non-existing PPS 1 referenced
[h264 @ 0x7f8d6f801000] decode_slice_header error
[h264 @ 0x7f8d6f801000] no frame!
[h264 @ 0x7f8d6f801000] SPS unavailable in decode_picture_timing
[h264 @ 0x7f8d6f801000] non-existing PPS 1 referenced
[h264 @ 0x7f8d6f801000] SPS unavailable in decode_picture_timing
[h264 @ 0x7f8d6f801000] non-existing PPS 1 referenced
[h264 @ 0x7f8d6f801000] decode_slice_header error
[h264 @ 0x7f8d6f801000] no frame!
[h264 @ 0x7f8d6f801000] SPS unavailable in decode_picture_timing
[h264 @ 0x7f8d6f801000] non-existing PPS 1 referenced
[h264 @ 0x7f8d6f801000] SPS unavailable in decode_picture_timing
[h264 @ 0x7f8d6f801000] non-existing PPS 1 referenced
[h264 @ 0x7f8d6f801000] decode_slice_header error
[h264 @ 0x7f8d6f801000] no frame!
[h264 @ 0x7f8d6f801000] SPS unavailable in decode_picture_timing
[h264 @ 0x7f8d6f801000] non-existing PPS 1 referenced
[h264 @ 0x7f8d6f801000] SPS unavailable in decode_picture_timing
[h264 @ 0x7f8d6f801000] non-existing PPS 1 referenced
[h264 @ 0x7f8d6f801000] decode_slice_header error
[h264 @ 0x7f8d6f801000] no frame!
[h264 @ 0x7f8d6f801000] SPS unavailable in decode_picture_timing
[h264 @ 0x7f8d6f801000] non-existing PPS 1 referenced
[h264 @ 0x7f8d6f801000] SPS unavailable in decode_picture_timing
[h264 @ 0x7f8d6f801000] non-existing PPS 1 referenced
[h264 @ 0x7f8d6f801000] decode_slice_header error
[h264 @ 0x7f8d6f801000] no frame!
[h264 @ 0x7f8d6f801000] SPS unavailable in decode_picture_timing
[h264 @ 0x7f8d6f801000] non-existing PPS 1 referenced
[h264 @ 0x7f8d6f801000] SPS unavailable in decode_picture_timing
[h264 @ 0x7f8d6f801000] non-existing PPS 1 referenced
[h264 @ 0x7f8d6f801000] decode_slice_header error
[h264 @ 0x7f8d6f801000] no frame!
[h264 @ 0x7f8d6f801000] SPS unavailable in decode_picture_timing
[h264 @ 0x7f8d6f801000] non-existing PPS 1 referenced
[h264 @ 0x7f8d6f801000] SPS unavailable in decode_picture_timing
[h264 @ 0x7f8d6f801000] non-existing PPS 1 referenced
[h264 @ 0x7f8d6f801000] decode_slice_header error
[h264 @ 0x7f8d6f801000] no frame!
[h264 @ 0x7f8d6f801000] SPS unavailable in decode_picture_timing
[h264 @ 0x7f8d6f801000] non-existing PPS 1 referenced
[h264 @ 0x7f8d6f801000] SPS unavailable in decode_picture_timing
[h264 @ 0x7f8d6f801000] non-existing PPS 1 referenced
[h264 @ 0x7f8d6f801000] decode_slice_header error
[h264 @ 0x7f8d6f801000] no frame!
[mpegts @ 0x7f8d6f803200] PES packet size mismatch
Last message repeated 1 times
Input #0, mpegts, from 'sample.mpg':
Duration: 00:00:21.54, start: 86589.358267, bitrate: 4956 kb/s
Program 1256
Stream #0:0[0xa01]: Video: h264 (High) ([27][0][0][0] / 0x001B),
yuv420p(tv, bt709, top first), 1920x1080 [SAR 1:1 DAR 16:9], Closed
Captions, 29.97 fps, 29.97 tbr, 90k tbn, 59.94 tbc
Stream #0:1[0xa02]: Audio: ac3 ([129][0][0][0] / 0x0081), 48000 Hz,
5.1(side), fltp, 384 kb/s
Stream #0:2[0xa03]: Audio: ac3 ([129][0][0][0] / 0x0081), 48000 Hz,
mono, fltp, 64 kb/s
Stream #0:3[0xa04]: Data: scte_35
[dash @ 0x7f8d7100de00] No bit rate set for stream 0
[dash @ 0x7f8d7100de00] Opening 'output/init-stream0.m4s' for writing
[mp4 @ 0x7f8d71013c00] Tag [27][0][0][0] incompatible with output codec id
'27' (avc1)
Could not write header for output file #0 (incorrect codec parameters ?):
Invalid data found when processing input
Stream mapping:
Stream #0:0 -> #0:0 (copy)
Stream #0:1 -> #0:1 (copy)
Last message repeated 1 times
liuqideMBP:Test liuqi$
--
Ticket URL: <https://trac.ffmpeg.org/ticket/6825#comment:3>
FFmpeg <https://ffmpeg.org>
FFmpeg issue tracker
More information about the FFmpeg-trac
mailing list