Opened 2 years ago

Closed 2 weeks ago

Last modified 2 weeks ago

#5990 closed defect (fixed)

Fail to merge a streamcopied SUP/DVBSUB subtitle in a TS or M2TS file

Reported by: Sami32 Owned by:
Priority: normal Component: avformat
Version: git-master Keywords: dvbsub
Cc: Blocked By:
Blocking: Reproduced by developer: no
Analyzed by developer: no

Description

Summary of the bug:
While trying to merge a streamcopied SUP/DVBSUB subtitle, a strange "Data stream encoding not supported yet (only streamcopy)" message is displayed.

How to reproduce:
ffmpeg -i data0001.ts -i data0001_PID_0226_.sup -map 0:0 -map 0:1 -map 1:0 -c:v copy -c:a copy -c:s copy -copyinkf -f mpegts data0001_sup3.m2ts

ffmpeg version N-80999-gf41e37b Copyright (c) 2000-2016 the FFmpeg developers
  built with gcc 5.4.0 (GCC)
  configuration: --enable-gpl --enable-version3 --disable-w32threads --enable-dxva2 --enable-libmfx --enable-nvenc --enable-avisynth --enable-bzlib --enable-libebur128 --enable-fontconfig --enable-frei0r --enable-gnutls --enable-iconv --enable-libass --enable-libbluray --enable-libbs2b --enable-libcaca --enable-libfreetype --enable-libgme --enable-libgsm --enable-libilbc --enable-libmodplug --enable-libmp3lame --enable-libopencore-amrnb --enable-libopencore-amrwb --enable-libopenjpeg --enable-libopus --enable-librtmp --enable-libschroedinger --enable-libsnappy --enable-libsoxr --enable-libspeex --enable-libtheora --enable-libtwolame --enable-libvidstab --enable-libvo-amrwbenc --enable-libvorbis --enable-libvpx --enable-libwavpack --enable-libwebp --enable-libx264 --enable-libx265 --enable-libxavs --enable-libxvid --enable-libzimg --enable-lzma --enable-decklink --enable-zlib
  libavutil      55. 28.100 / 55. 28.100
  libavcodec     57. 50.100 / 57. 50.100
  libavformat    57. 41.100 / 57. 41.100
  libavdevice    57.  0.102 / 57.  0.102
  libavfilter     6. 47.100 /  6. 47.100
  libswscale      4.  1.100 /  4.  1.100
  libswresample   2.  1.100 /  2.  1.100
  libpostproc    54.  0.100 / 54.  0.100
Splitting the commandline.
Reading option '-v' ... matched as option 'v' (set logging level) with argument '9'.
Reading option '-loglevel' ... matched as option 'loglevel' (set logging level) with argument '99'.
Reading option '-i' ... matched as input file with argument 'data0001.ts'.
Reading option '-i' ... matched as input file with argument 'data0001_PID_0226_.sup'.
Reading option '-map' ... matched as option 'map' (set input stream mapping) with argument '0:0'.
Reading option '-map' ... matched as option 'map' (set input stream mapping) with argument '0:1'.
Reading option '-map' ... matched as option 'map' (set input stream mapping) with argument '1:0'.
Reading option '-c:v' ... matched as option 'c' (codec name) with argument 'copy'.
Reading option '-c:a' ... matched as option 'c' (codec name) with argument 'copy'.
Reading option '-c:s' ... matched as option 'c' (codec name) with argument 'copy'.
Reading option '-copyinkf' ... matched as option 'copyinkf' (copy initial non-keyframes) with argument '1'.
Reading option '-f' ... matched as option 'f' (force format) with argument 'mpegts'.
Reading option 'data0001_sup3.m2ts' ... matched as output file.
Reading option '-report' ... matched as option 'report' (generate a report) with argument '1'.
Finished splitting the commandline.
Parsing a group of options: global .
Applying option v (set logging level) with argument 9.
Applying option loglevel (set logging level) with argument 99.
Applying option report (generate a report) with argument 1.
Successfully parsed a group of options.
Parsing a group of options: input file data0001.ts.
Successfully parsed a group of options.
Opening an input file: data0001.ts.
[file @ 033da760] Setting default whitelist 'file,crypto'
[mpegts @ 033d9de0] Format mpegts probed with size=2048 and score=50
[mpegts @ 033d9de0] stream=0 stream_type=1b pid=208 prog_reg_desc=
[mpegts @ 033d9de0] stream=1 stream_type=6 pid=212 prog_reg_desc=
[mpegts @ 033d9de0] stream=2 stream_type=6 pid=213 prog_reg_desc=
[mpegts @ 033d9de0] stream=3 stream_type=6 pid=214 prog_reg_desc=
[mpegts @ 033d9de0] stream=4 stream_type=6 pid=226 prog_reg_desc=
[mpegts @ 033d9de0] stream=5 stream_type=6 pid=227 prog_reg_desc=
[mpegts @ 033d9de0] Before avformat_find_stream_info() pos: 0 bytes read:98304 seeks:1 nb_streams:6
[h264 @ 033dbb40] SPS unavailable in decode_picture_timing
[h264 @ 033dbb40] non-existing PPS 0 referenced
[h264 @ 033dbb40] nal_unit_type: 9, nal_ref_idc: 0
[h264 @ 033dbb40] nal_unit_type: 6, nal_ref_idc: 0
[h264 @ 033dbb40] nal_unit_type: 1, nal_ref_idc: 2
[h264 @ 033dbb40] SPS unavailable in decode_picture_timing
[h264 @ 033dbb40] non-existing PPS 0 referenced
[h264 @ 033dbb40] decode_slice_header error
[h264 @ 033dbb40] no frame!
[h264 @ 033dbb40] SPS unavailable in decode_picture_timing
[h264 @ 033dbb40] non-existing PPS 0 referenced
[h264 @ 033dbb40] nal_unit_type: 9, nal_ref_idc: 0
[h264 @ 033dbb40] nal_unit_type: 6, nal_ref_idc: 0
[h264 @ 033dbb40] nal_unit_type: 1, nal_ref_idc: 2
[h264 @ 033dbb40] SPS unavailable in decode_picture_timing
[h264 @ 033dbb40] non-existing PPS 0 referenced
[h264 @ 033dbb40] decode_slice_header error
[h264 @ 033dbb40] no frame!
[h264 @ 033dbb40] SPS unavailable in decode_picture_timing
[h264 @ 033dbb40] non-existing PPS 0 referenced
[h264 @ 033dbb40] nal_unit_type: 9, nal_ref_idc: 0
[h264 @ 033dbb40] nal_unit_type: 6, nal_ref_idc: 0
[h264 @ 033dbb40] nal_unit_type: 1, nal_ref_idc: 2
[h264 @ 033dbb40] SPS unavailable in decode_picture_timing
[h264 @ 033dbb40] non-existing PPS 0 referenced
[h264 @ 033dbb40] decode_slice_header error
[h264 @ 033dbb40] no frame!
[h264 @ 033dbb40] SPS unavailable in decode_picture_timing
[h264 @ 033dbb40] non-existing PPS 0 referenced
[h264 @ 033dbb40] nal_unit_type: 9, nal_ref_idc: 0
[h264 @ 033dbb40] nal_unit_type: 6, nal_ref_idc: 0
[h264 @ 033dbb40] nal_unit_type: 1, nal_ref_idc: 2
[h264 @ 033dbb40] SPS unavailable in decode_picture_timing
[h264 @ 033dbb40] non-existing PPS 0 referenced
[h264 @ 033dbb40] decode_slice_header error
[h264 @ 033dbb40] no frame!
[h264 @ 033dbb40] SPS unavailable in decode_picture_timing
[h264 @ 033dbb40] non-existing PPS 0 referenced
[h264 @ 033dbb40] nal_unit_type: 9, nal_ref_idc: 0
[h264 @ 033dbb40] nal_unit_type: 6, nal_ref_idc: 0
[h264 @ 033dbb40] nal_unit_type: 1, nal_ref_idc: 0
[h264 @ 033dbb40] SPS unavailable in decode_picture_timing
[h264 @ 033dbb40] non-existing PPS 0 referenced
[h264 @ 033dbb40] decode_slice_header error
[h264 @ 033dbb40] no frame!
[h264 @ 033dbb40] SPS unavailable in decode_picture_timing
[h264 @ 033dbb40] non-existing PPS 0 referenced
[h264 @ 033dbb40] nal_unit_type: 9, nal_ref_idc: 0
[h264 @ 033dbb40] nal_unit_type: 6, nal_ref_idc: 0
[h264 @ 033dbb40] nal_unit_type: 1, nal_ref_idc: 2
[h264 @ 033dbb40] SPS unavailable in decode_picture_timing
[h264 @ 033dbb40] non-existing PPS 0 referenced
[h264 @ 033dbb40] decode_slice_header error
[h264 @ 033dbb40] no frame!
[h264 @ 033dbb40] SPS unavailable in decode_picture_timing
[h264 @ 033dbb40] non-existing PPS 0 referenced
[h264 @ 033dbb40] nal_unit_type: 9, nal_ref_idc: 0
[h264 @ 033dbb40] nal_unit_type: 6, nal_ref_idc: 0
[h264 @ 033dbb40] nal_unit_type: 1, nal_ref_idc: 2
[h264 @ 033dbb40] SPS unavailable in decode_picture_timing
[h264 @ 033dbb40] non-existing PPS 0 referenced
[h264 @ 033dbb40] decode_slice_header error
[h264 @ 033dbb40] no frame!
[h264 @ 033dbb40] SPS unavailable in decode_picture_timing
[h264 @ 033dbb40] non-existing PPS 0 referenced
[h264 @ 033dbb40] nal_unit_type: 9, nal_ref_idc: 0
[h264 @ 033dbb40] nal_unit_type: 6, nal_ref_idc: 0
[h264 @ 033dbb40] nal_unit_type: 1, nal_ref_idc: 2
[h264 @ 033dbb40] SPS unavailable in decode_picture_timing
[h264 @ 033dbb40] non-existing PPS 0 referenced
[h264 @ 033dbb40] decode_slice_header error
[h264 @ 033dbb40] no frame!
[h264 @ 033dbb40] SPS unavailable in decode_picture_timing
[h264 @ 033dbb40] non-existing PPS 0 referenced
[h264 @ 033dbb40] nal_unit_type: 9, nal_ref_idc: 0
[h264 @ 033dbb40] nal_unit_type: 6, nal_ref_idc: 0
[h264 @ 033dbb40] nal_unit_type: 1, nal_ref_idc: 2
[h264 @ 033dbb40] nal_unit_type: 12, nal_ref_idc: 0
[h264 @ 033dbb40] SPS unavailable in decode_picture_timing
[h264 @ 033dbb40] non-existing PPS 0 referenced
[h264 @ 033dbb40] decode_slice_header error
[h264 @ 033dbb40] no frame!
[h264 @ 033dbb40] ct_type:0 pic_struct:3
[h264 @ 033dbb40] nal_unit_type: 9, nal_ref_idc: 0
[h264 @ 033dbb40] nal_unit_type: 7, nal_ref_idc: 3
[h264 @ 033dbb40] nal_unit_type: 8, nal_ref_idc: 3
[h264 @ 033dbb40] nal_unit_type: 6, nal_ref_idc: 0
[h264 @ 033dbb40] nal_unit_type: 1, nal_ref_idc: 2
[h264 @ 033dbb40] ct_type:0 pic_struct:3
[h264 @ 033dbb40] Reinit context to 1920x1088, pix_fmt: yuv420p
[h264 @ 033dbb40] Frame num gap 21 16
[h264 @ 033dbb40] Frame num gap 21 17
[h264 @ 033dbb40] Frame num gap 21 18
[h264 @ 033dbb40] Frame num gap 21 19
[h264 @ 033dbb40] no picture 
[h264 @ 033dbb40] mmco: unref short failure
[h264 @ 033dbb40] ct_type:0 pic_struct:3
[h264 @ 033dbb40] nal_unit_type: 9, nal_ref_idc: 0
[h264 @ 033dbb40] nal_unit_type: 6, nal_ref_idc: 0
[h264 @ 033dbb40] nal_unit_type: 1, nal_ref_idc: 2
[h264 @ 033dbb40] ct_type:0 pic_struct:3
[h264 @ 033dbb40] ct_type:0 pic_struct:3
[h264 @ 033dbb40] nal_unit_type: 9, nal_ref_idc: 0
[h264 @ 033dbb40] nal_unit_type: 6, nal_ref_idc: 0
[h264 @ 033dbb40] nal_unit_type: 1, nal_ref_idc: 2
[h264 @ 033dbb40] ct_type:0 pic_struct:3
[h264 @ 033dbb40] Increasing reorder buffer to 2
[h264 @ 033dbb40] no picture ooo
[h264 @ 033dbb40] ct_type:0 pic_struct:3
[h264 @ 033dbb40] nal_unit_type: 9, nal_ref_idc: 0
[h264 @ 033dbb40] nal_unit_type: 6, nal_ref_idc: 0
[h264 @ 033dbb40] nal_unit_type: 1, nal_ref_idc: 0
[h264 @ 033dbb40] ct_type:0 pic_struct:3
[h264 @ 033dbb40] Increasing reorder buffer to 3
[h264 @ 033dbb40] no picture ooo
[h264 @ 033dbb40] ct_type:0 pic_struct:3
[h264 @ 033dbb40] nal_unit_type: 9, nal_ref_idc: 0
[h264 @ 033dbb40] nal_unit_type: 6, nal_ref_idc: 0
[h264 @ 033dbb40] nal_unit_type: 1, nal_ref_idc: 2
[h264 @ 033dbb40] ct_type:0 pic_struct:3
[h264 @ 033dbb40] no picture ooo
[h264 @ 033dbb40] ct_type:0 pic_struct:3
[h264 @ 033dbb40] nal_unit_type: 9, nal_ref_idc: 0
[h264 @ 033dbb40] nal_unit_type: 6, nal_ref_idc: 0
[h264 @ 033dbb40] nal_unit_type: 1, nal_ref_idc: 2
[h264 @ 033dbb40] ct_type:0 pic_struct:3
[h264 @ 033dbb40] no picture 
[h264 @ 033dbb40] ct_type:0 pic_struct:3
[h264 @ 033dbb40] nal_unit_type: 9, nal_ref_idc: 0
[h264 @ 033dbb40] nal_unit_type: 6, nal_ref_idc: 0
[h264 @ 033dbb40] nal_unit_type: 1, nal_ref_idc: 2
[h264 @ 033dbb40] ct_type:0 pic_struct:3
[h264 @ 033dbb40] no picture 
[h264 @ 033dbb40] ct_type:0 pic_struct:3
[h264 @ 033dbb40] nal_unit_type: 9, nal_ref_idc: 0
[h264 @ 033dbb40] nal_unit_type: 6, nal_ref_idc: 0
[h264 @ 033dbb40] nal_unit_type: 1, nal_ref_idc: 2
[h264 @ 033dbb40] ct_type:0 pic_struct:3
[h264 @ 033dbb40] ct_type:0 pic_struct:3
[h264 @ 033dbb40] nal_unit_type: 9, nal_ref_idc: 0
[h264 @ 033dbb40] nal_unit_type: 6, nal_ref_idc: 0
[h264 @ 033dbb40] nal_unit_type: 1, nal_ref_idc: 2
[h264 @ 033dbb40] ct_type:0 pic_struct:3
[h264 @ 033dbb40] mmco: unref short failure
[h264 @ 033dbb40] ct_type:0 pic_struct:3
[h264 @ 033dbb40] nal_unit_type: 9, nal_ref_idc: 0
[h264 @ 033dbb40] nal_unit_type: 6, nal_ref_idc: 0
[h264 @ 033dbb40] nal_unit_type: 1, nal_ref_idc: 2
[h264 @ 033dbb40] ct_type:0 pic_struct:3
[h264 @ 033dbb40] ct_type:0 pic_struct:3
[h264 @ 033dbb40] nal_unit_type: 9, nal_ref_idc: 0
[h264 @ 033dbb40] nal_unit_type: 6, nal_ref_idc: 0
[h264 @ 033dbb40] nal_unit_type: 1, nal_ref_idc: 2
[h264 @ 033dbb40] ct_type:0 pic_struct:3
[h264 @ 033dbb40] ct_type:0 pic_struct:3
[h264 @ 033dbb40] nal_unit_type: 9, nal_ref_idc: 0
[h264 @ 033dbb40] nal_unit_type: 6, nal_ref_idc: 0
[h264 @ 033dbb40] nal_unit_type: 1, nal_ref_idc: 0
[h264 @ 033dbb40] ct_type:0 pic_struct:3
[h264 @ 033dbb40] ct_type:0 pic_struct:3
[h264 @ 033dbb40] nal_unit_type: 9, nal_ref_idc: 0
[h264 @ 033dbb40] nal_unit_type: 6, nal_ref_idc: 0
[h264 @ 033dbb40] nal_unit_type: 1, nal_ref_idc: 2
[h264 @ 033dbb40] ct_type:0 pic_struct:3
[h264 @ 033dbb40] ct_type:0 pic_struct:3
[h264 @ 033dbb40] nal_unit_type: 9, nal_ref_idc: 0
[h264 @ 033dbb40] nal_unit_type: 6, nal_ref_idc: 0
[h264 @ 033dbb40] nal_unit_type: 1, nal_ref_idc: 2
[h264 @ 033dbb40] ct_type:0 pic_struct:3
[h264 @ 033dbb40] ct_type:0 pic_struct:3
[h264 @ 033dbb40] nal_unit_type: 9, nal_ref_idc: 0
[h264 @ 033dbb40] nal_unit_type: 6, nal_ref_idc: 0
[h264 @ 033dbb40] nal_unit_type: 1, nal_ref_idc: 2
[h264 @ 033dbb40] ct_type:0 pic_struct:3
[h264 @ 033dbb40] ct_type:0 pic_struct:3
[h264 @ 033dbb40] nal_unit_type: 9, nal_ref_idc: 0
[h264 @ 033dbb40] nal_unit_type: 6, nal_ref_idc: 0
[h264 @ 033dbb40] nal_unit_type: 1, nal_ref_idc: 2
[h264 @ 033dbb40] nal_unit_type: 12, nal_ref_idc: 0
[h264 @ 033dbb40] ct_type:0 pic_struct:3
[h264 @ 033dbb40] ct_type:0 pic_struct:3
[h264 @ 033dbb40] nal_unit_type: 9, nal_ref_idc: 0
[h264 @ 033dbb40] nal_unit_type: 6, nal_ref_idc: 0
[h264 @ 033dbb40] nal_unit_type: 1, nal_ref_idc: 2
[h264 @ 033dbb40] ct_type:0 pic_struct:3
[h264 @ 033dbb40] ct_type:0 pic_struct:3
[h264 @ 033dbb40] nal_unit_type: 9, nal_ref_idc: 0
[h264 @ 033dbb40] nal_unit_type: 6, nal_ref_idc: 0
[h264 @ 033dbb40] nal_unit_type: 1, nal_ref_idc: 2
[h264 @ 033dbb40] ct_type:0 pic_struct:3
[h264 @ 033dbb40] ct_type:0 pic_struct:3
[h264 @ 033dbb40] nal_unit_type: 9, nal_ref_idc: 0
[h264 @ 033dbb40] nal_unit_type: 6, nal_ref_idc: 0
[h264 @ 033dbb40] nal_unit_type: 1, nal_ref_idc: 0
[h264 @ 033dbb40] ct_type:0 pic_struct:3
[h264 @ 033dbb40] ct_type:0 pic_struct:3
[h264 @ 033dbb40] nal_unit_type: 9, nal_ref_idc: 0
[h264 @ 033dbb40] nal_unit_type: 7, nal_ref_idc: 3
[h264 @ 033dbb40] nal_unit_type: 8, nal_ref_idc: 3
[h264 @ 033dbb40] nal_unit_type: 6, nal_ref_idc: 0
[h264 @ 033dbb40] nal_unit_type: 1, nal_ref_idc: 2
[h264 @ 033dbb40] ct_type:0 pic_struct:3
[h264 @ 033dbb40] ct_type:0 pic_struct:3
[h264 @ 033dbb40] nal_unit_type: 9, nal_ref_idc: 0
[h264 @ 033dbb40] nal_unit_type: 6, nal_ref_idc: 0
[h264 @ 033dbb40] nal_unit_type: 1, nal_ref_idc: 2
[h264 @ 033dbb40] ct_type:0 pic_struct:3
[h264 @ 033dbb40] ct_type:0 pic_struct:3
[h264 @ 033dbb40] nal_unit_type: 9, nal_ref_idc: 0
[h264 @ 033dbb40] nal_unit_type: 6, nal_ref_idc: 0
[h264 @ 033dbb40] nal_unit_type: 1, nal_ref_idc: 0
[h264 @ 033dbb40] ct_type:0 pic_struct:3
[h264 @ 033dbb40] ct_type:0 pic_struct:3
[h264 @ 033dbb40] nal_unit_type: 9, nal_ref_idc: 0
[h264 @ 033dbb40] nal_unit_type: 6, nal_ref_idc: 0
[h264 @ 033dbb40] nal_unit_type: 1, nal_ref_idc: 2
[h264 @ 033dbb40] ct_type:0 pic_struct:3
[h264 @ 033dbb40] ct_type:0 pic_struct:3
[h264 @ 033dbb40] nal_unit_type: 9, nal_ref_idc: 0
[h264 @ 033dbb40] nal_unit_type: 6, nal_ref_idc: 0
[h264 @ 033dbb40] nal_unit_type: 1, nal_ref_idc: 2
[h264 @ 033dbb40] ct_type:0 pic_struct:3
[h264 @ 033dbb40] ct_type:0 pic_struct:3
[h264 @ 033dbb40] nal_unit_type: 9, nal_ref_idc: 0
[h264 @ 033dbb40] nal_unit_type: 6, nal_ref_idc: 0
[h264 @ 033dbb40] nal_unit_type: 1, nal_ref_idc: 2
[h264 @ 033dbb40] ct_type:0 pic_struct:3
[h264 @ 033dbb40] ct_type:0 pic_struct:3
[h264 @ 033dbb40] nal_unit_type: 9, nal_ref_idc: 0
[h264 @ 033dbb40] nal_unit_type: 6, nal_ref_idc: 0
[h264 @ 033dbb40] nal_unit_type: 1, nal_ref_idc: 0
[h264 @ 033dbb40] ct_type:0 pic_struct:3
[h264 @ 033dbb40] ct_type:0 pic_struct:3
[h264 @ 033dbb40] nal_unit_type: 9, nal_ref_idc: 0
[h264 @ 033dbb40] nal_unit_type: 6, nal_ref_idc: 0
[h264 @ 033dbb40] nal_unit_type: 1, nal_ref_idc: 2
[h264 @ 033dbb40] ct_type:0 pic_struct:3
[h264 @ 033dbb40] ct_type:0 pic_struct:3
[h264 @ 033dbb40] nal_unit_type: 9, nal_ref_idc: 0
[h264 @ 033dbb40] nal_unit_type: 6, nal_ref_idc: 0
[h264 @ 033dbb40] nal_unit_type: 1, nal_ref_idc: 2
[h264 @ 033dbb40] ct_type:0 pic_struct:3
[h264 @ 033dbb40] ct_type:0 pic_struct:3
[h264 @ 033dbb40] ct_type:0 pic_struct:3
[h264 @ 033dbb40] ct_type:0 pic_struct:3
[h264 @ 033dbb40] ct_type:0 pic_struct:3
[h264 @ 033dbb40] ct_type:0 pic_struct:3
[h264 @ 033dbb40] ct_type:0 pic_struct:3
[h264 @ 033dbb40] ct_type:0 pic_struct:3
[h264 @ 033dbb40] ct_type:0 pic_struct:3
[h264 @ 033dbb40] ct_type:0 pic_struct:3
[h264 @ 033dbb40] ct_type:0 pic_struct:3
[h264 @ 033dbb40] ct_type:0 pic_struct:3
[h264 @ 033dbb40] ct_type:0 pic_struct:3
[h264 @ 033dbb40] ct_type:0 pic_struct:3
[h264 @ 033dbb40] ct_type:0 pic_struct:3
[h264 @ 033dbb40] ct_type:0 pic_struct:3
[h264 @ 033dbb40] ct_type:0 pic_struct:3
[h264 @ 033dbb40] ct_type:0 pic_struct:3
[h264 @ 033dbb40] ct_type:0 pic_struct:3
[h264 @ 033dbb40] ct_type:0 pic_struct:3
[h264 @ 033dbb40] ct_type:0 pic_struct:3
[h264 @ 033dbb40] ct_type:0 pic_struct:3
[h264 @ 033dbb40] ct_type:0 pic_struct:3
[h264 @ 033dbb40] ct_type:0 pic_struct:3
[h264 @ 033dbb40] ct_type:0 pic_struct:3
[h264 @ 033dbb40] ct_type:0 pic_struct:3
[h264 @ 033dbb40] ct_type:0 pic_struct:3
[h264 @ 033dbb40] ct_type:0 pic_struct:3
[h264 @ 033dbb40] ct_type:0 pic_struct:3
[h264 @ 033dbb40] ct_type:0 pic_struct:3
[h264 @ 033dbb40] ct_type:0 pic_struct:3
[h264 @ 033dbb40] ct_type:0 pic_struct:3
[h264 @ 033dbb40] ct_type:0 pic_struct:3
[h264 @ 033dbb40] ct_type:0 pic_struct:3
[h264 @ 033dbb40] ct_type:0 pic_struct:3
[h264 @ 033dbb40] ct_type:0 pic_struct:3
[h264 @ 033dbb40] ct_type:0 pic_struct:3
[h264 @ 033dbb40] ct_type:0 pic_struct:3
[h264 @ 033dbb40] ct_type:0 pic_struct:3
[h264 @ 033dbb40] ct_type:0 pic_struct:3
[h264 @ 033dbb40] ct_type:0 pic_struct:3
[h264 @ 033dbb40] ct_type:0 pic_struct:3
[h264 @ 033dbb40] ct_type:0 pic_struct:3
[h264 @ 033dbb40] ct_type:0 pic_struct:3
[h264 @ 033dbb40] ct_type:0 pic_struct:3
[h264 @ 033dbb40] ct_type:0 pic_struct:3
[h264 @ 033dbb40] ct_type:0 pic_struct:3
[h264 @ 033dbb40] ct_type:0 pic_struct:3
[h264 @ 033dbb40] ct_type:0 pic_struct:3
[h264 @ 033dbb40] ct_type:0 pic_struct:3
[h264 @ 033dbb40] ct_type:0 pic_struct:3
[h264 @ 033dbb40] ct_type:0 pic_struct:3
[h264 @ 033dbb40] ct_type:0 pic_struct:3
[h264 @ 033dbb40] ct_type:0 pic_struct:3
[h264 @ 033dbb40] ct_type:0 pic_struct:3
[h264 @ 033dbb40] ct_type:0 pic_struct:3
[h264 @ 033dbb40] ct_type:0 pic_struct:3
[h264 @ 033dbb40] ct_type:0 pic_struct:3
[h264 @ 033dbb40] ct_type:0 pic_struct:3
[h264 @ 033dbb40] ct_type:0 pic_struct:3
[h264 @ 033dbb40] ct_type:0 pic_struct:3
[h264 @ 033dbb40] ct_type:0 pic_struct:3
[h264 @ 033dbb40] ct_type:0 pic_struct:3
[h264 @ 033dbb40] ct_type:0 pic_struct:3
[h264 @ 033dbb40] ct_type:0 pic_struct:3
[h264 @ 033dbb40] ct_type:0 pic_struct:3
[h264 @ 033dbb40] ct_type:0 pic_struct:3
[h264 @ 033dbb40] ct_type:0 pic_struct:3
[h264 @ 033dbb40] ct_type:0 pic_struct:3
[h264 @ 033dbb40] ct_type:0 pic_struct:3
[h264 @ 033dbb40] ct_type:0 pic_struct:3
[h264 @ 033dbb40] ct_type:0 pic_struct:3
[h264 @ 033dbb40] ct_type:0 pic_struct:3
[h264 @ 033dbb40] ct_type:0 pic_struct:3
[h264 @ 033dbb40] ct_type:0 pic_struct:3
[h264 @ 033dbb40] ct_type:0 pic_struct:3
[h264 @ 033dbb40] ct_type:0 pic_struct:3
[h264 @ 033dbb40] ct_type:0 pic_struct:3
[h264 @ 033dbb40] ct_type:0 pic_struct:3
[h264 @ 033dbb40] ct_type:0 pic_struct:3
[h264 @ 033dbb40] ct_type:0 pic_struct:3
[h264 @ 033dbb40] ct_type:0 pic_struct:3
[h264 @ 033dbb40] ct_type:0 pic_struct:3
[h264 @ 033dbb40] ct_type:0 pic_struct:3
[h264 @ 033dbb40] ct_type:0 pic_struct:3
[h264 @ 033dbb40] ct_type:0 pic_struct:3
[h264 @ 033dbb40] ct_type:0 pic_struct:3
[h264 @ 033dbb40] ct_type:0 pic_struct:3
[h264 @ 033dbb40] ct_type:0 pic_struct:3
[h264 @ 033dbb40] ct_type:0 pic_struct:3
[h264 @ 033dbb40] ct_type:0 pic_struct:3
[h264 @ 033dbb40] ct_type:0 pic_struct:3
[h264 @ 033dbb40] ct_type:0 pic_struct:3
[h264 @ 033dbb40] ct_type:0 pic_struct:3
[h264 @ 033dbb40] ct_type:0 pic_struct:3
[h264 @ 033dbb40] ct_type:0 pic_struct:3
[h264 @ 033dbb40] ct_type:0 pic_struct:3
[h264 @ 033dbb40] ct_type:0 pic_struct:3
[h264 @ 033dbb40] ct_type:0 pic_struct:3
[h264 @ 033dbb40] ct_type:0 pic_struct:3
[h264 @ 033dbb40] ct_type:0 pic_struct:3
[h264 @ 033dbb40] ct_type:0 pic_struct:3
[h264 @ 033dbb40] ct_type:0 pic_struct:3
[h264 @ 033dbb40] ct_type:0 pic_struct:3
[h264 @ 033dbb40] ct_type:0 pic_struct:3
[h264 @ 033dbb40] ct_type:0 pic_struct:3
[h264 @ 033dbb40] ct_type:0 pic_struct:3
[h264 @ 033dbb40] ct_type:0 pic_struct:3
[h264 @ 033dbb40] ct_type:0 pic_struct:3
[h264 @ 033dbb40] ct_type:0 pic_struct:3
[h264 @ 033dbb40] ct_type:0 pic_struct:3
[h264 @ 033dbb40] ct_type:0 pic_struct:3
[h264 @ 033dbb40] ct_type:0 pic_struct:3
[h264 @ 033dbb40] ct_type:0 pic_struct:3
[h264 @ 033dbb40] ct_type:0 pic_struct:3
[h264 @ 033dbb40] ct_type:0 pic_struct:3
[h264 @ 033dbb40] ct_type:0 pic_struct:3
[h264 @ 033dbb40] ct_type:0 pic_struct:3
[h264 @ 033dbb40] ct_type:0 pic_struct:3
[h264 @ 033dbb40] ct_type:0 pic_struct:3
[h264 @ 033dbb40] ct_type:0 pic_struct:3
[h264 @ 033dbb40] ct_type:0 pic_struct:3
[h264 @ 033dbb40] ct_type:0 pic_struct:3
[h264 @ 033dbb40] ct_type:0 pic_struct:3
[h264 @ 033dbb40] ct_type:0 pic_struct:3
[h264 @ 033dbb40] ct_type:0 pic_struct:3
[h264 @ 033dbb40] ct_type:0 pic_struct:3
[h264 @ 033dbb40] ct_type:0 pic_struct:3
[h264 @ 033dbb40] ct_type:0 pic_struct:3
[h264 @ 033dbb40] ct_type:0 pic_struct:3
[h264 @ 033dbb40] ct_type:0 pic_struct:3
[h264 @ 033dbb40] ct_type:0 pic_struct:3
[h264 @ 033dbb40] ct_type:0 pic_struct:3
[h264 @ 033dbb40] ct_type:0 pic_struct:3
[h264 @ 033dbb40] ct_type:0 pic_struct:3
[h264 @ 033dbb40] ct_type:0 pic_struct:3
[h264 @ 033dbb40] ct_type:0 pic_struct:3
[h264 @ 033dbb40] ct_type:0 pic_struct:3
[h264 @ 033dbb40] ct_type:0 pic_struct:3
[h264 @ 033dbb40] ct_type:0 pic_struct:3
[mpegts @ 033d9de0] max_analyze_duration 7000000 reached at 7008000 microseconds st:3
[mpegts @ 033d9de0] start time for stream 5 is not set in estimate_timings_from_pts
[mpegts @ 033d9de0] PES packet size mismatch
[mpegts @ 033d9de0] PES packet size mismatch
[mpegts @ 033d9de0] PES packet size mismatch
[mpegts @ 033d9de0] After avformat_find_stream_info() pos: 0 bytes read:4165776 seeks:3 frames:843
Input #0, mpegts, from 'data0001.ts':
  Duration: 00:00:32.97, start: 95149.869078, bitrate: 4568 kb/s
  Program 2561 
  Program 2562 
  Program 2563 
  Program 2564 
  Program 2565 
    Stream #0:0[0x208], 176, 1/90000: Video: h264 (High), 1 reference frame ([27][0][0][0] / 0x001B), yuv420p(tv, bt709, left), 1920x1080 (1920x1088) [SAR 1:1 DAR 16:9], 0/1, 25 fps, 25 tbr, 90k tbn, 50 tbc
    Stream #0:1[0x212](fra), 221, 1/90000: Audio: eac3 ([6][0][0][0] / 0x0006), 48000 Hz, stereo, fltp, 128 kb/s
    Stream #0:2[0x213](qaa), 221, 1/90000: Audio: eac3 ([6][0][0][0] / 0x0006), 48000 Hz, stereo, fltp, 128 kb/s
    Stream #0:3[0x214](qad), 221, 1/90000: Audio: eac3 ([6][0][0][0] / 0x0006), 48000 Hz, stereo, fltp, 96 kb/s
    Stream #0:4[0x226](fra), 4, 1/90000: Subtitle: dvb_subtitle ([6][0][0][0] / 0x0006) (hearing impaired)
    Stream #0:5[0x227](fra), 0, 1/90000: Subtitle: dvb_subtitle ([6][0][0][0] / 0x0006)
Successfully opened the file.
Parsing a group of options: input file data0001_PID_0226_.sup.
Successfully parsed a group of options.
Opening an input file: data0001_PID_0226_.sup.
[file @ 039b0ae0] Setting default whitelist 'file,crypto'
[dvbsub @ 0354d020] Format dvbsub probed with size=2048 and score=50
[dvbsub @ 0354d020] Before avformat_find_stream_info() pos: 0 bytes read:32768 seeks:0 nb_streams:1
[dvbsub @ 0354d020] All info found
[dvbsub @ 0354d020] After avformat_find_stream_info() pos: 0 bytes read:32768 seeks:0 frames:0
Input #1, dvbsub, from 'data0001_PID_0226_.sup':
  Duration: N/A, start: 0.000000, bitrate: N/A
    Stream #1:0, 0, 1/90000: Data: dvb_subtitle, 0/1
Successfully opened the file.
Parsing a group of options: output file data0001_sup3.m2ts.
Applying option map (set input stream mapping) with argument 0:0.
Applying option map (set input stream mapping) with argument 0:1.
Applying option map (set input stream mapping) with argument 1:0.
Applying option c:v (codec name) with argument copy.
Applying option c:a (codec name) with argument copy.
Applying option c:s (codec name) with argument copy.
Applying option copyinkf (copy initial non-keyframes) with argument 1.
Applying option f (force format) with argument mpegts.
Successfully parsed a group of options.
Opening an output file: data0001_sup3.m2ts.
Data stream encoding not supported yet (only streamcopy)
[AVIOContext @ 033da8a0] Statistics: 4165776 bytes read, 3 seeks
[AVIOContext @ 03579fc0] Statistics: 32768 bytes read, 0 seeks

Attachments (1)

data0001_PID_0226_.sup (122.4 KB) - added by Sami32 2 years ago.

Download all attachments as: .zip

Change History (7)

Changed 2 years ago by Sami32

comment:1 Changed 2 years ago by Sami32

  • Summary changed from Strange message while trying to merge a streamcopied SUP/DVBSUB subtitle in a TS or M2TS file to Fail to merge a streamcopied SUP/DVBSUB subtitle in a TS or M2TS file

comment:2 Changed 2 years ago by Sami32

The video come from a TV record and the SUP was extracted from this TV record with TS-Doctor.

comment:3 Changed 2 years ago by cehoyos

  • Component changed from undetermined to avformat
  • Keywords dvbsub added; SUP subtitle removed
  • Version changed from unspecified to git-master

comment:4 Changed 2 weeks ago by cehoyos

  • Resolution set to fixed
  • Status changed from new to closed

Not reproducible since 61da882cea4579658e8d01e24b8cb71c98df2b94 based on a commit by Anton Khirnov, the current behaviour may be considered buggy.

comment:5 Changed 2 weeks ago by cehoyos

comment:6 Changed 2 weeks ago by Sami32

Great +1
Thank you to both of you :)

Note: See TracTickets for help on using tickets.