[FFmpeg-trac] #7709(undetermined:new): Data Codec DTS stripped from MPEG2-TS

FFmpeg trac at avcodec.org
Thu Jan 31 21:43:38 EET 2019


#7709: Data Codec DTS stripped from MPEG2-TS
-------------------------------------+-------------------------------------
             Reporter:  gstair       |                    Owner:
                 Type:  defect       |                   Status:  new
             Priority:  normal       |                Component:
              Version:  unspecified  |  undetermined
             Keywords:  DTS, mpegts  |               Resolution:
             Blocking:               |               Blocked By:
Analyzed by developer:  0            |  Reproduced by developer:  0
-------------------------------------+-------------------------------------

Comment (by gstair):

 Here is the full output. I uploaded a short 5-s video using the VideoLAN
 File Uploader and referenced this ticket.

 {{{
 ffmpeg started on 2019-01-31 at 10:14:41
 Report written to "ffmpeg-20190131-101441.log"
 Command line:
 "C:\\ffmpeg\\20190131-Zeranoe-static\\bin\\ffmpeg.exe" -report -v 9
 -loglevel 99 -i ".\\Short.ts" -map 0 -f mpegts -codec copy
 Nightly_Restreamed.ts
 ffmpeg version N-93056-g1e03d60054 Copyright (c) 2000-2019 the FFmpeg
 developers
   built with gcc 8.2.1 (GCC) 20181201
   configuration: --enable-gpl --enable-version3 --enable-sdl2 --enable-
 fontconfig --enable-gnutls --enable-iconv --enable-libass --enable-
 libdav1d --enable-libbluray --enable-libfreetype --enable-libmp3lame
 --enable-libopencore-amrnb --enable-libopencore-amrwb --enable-libopenjpeg
 --enable-libopus --enable-libshine --enable-libsnappy --enable-libsoxr
 --enable-libtheora --enable-libtwolame --enable-libvpx --enable-libwavpack
 --enable-libwebp --enable-libx264 --enable-libx265 --enable-libxml2
 --enable-libzimg --enable-lzma --enable-zlib --enable-gmp --enable-
 libvidstab --enable-libvorbis --enable-libvo-amrwbenc --enable-libmysofa
 --enable-libspeex --enable-libxvid --enable-libaom --enable-libmfx
 --enable-amf --enable-ffnvcodec --enable-cuvid --enable-d3d11va --enable-
 nvenc --enable-nvdec --enable-dxva2 --enable-avisynth --enable-libopenmpt
   libavutil      56. 26.100 / 56. 26.100
   libavcodec     58. 46.100 / 58. 46.100
   libavformat    58. 26.100 / 58. 26.100
   libavdevice    58.  6.101 / 58.  6.101
   libavfilter     7. 48.100 /  7. 48.100
   libswscale      5.  4.100 /  5.  4.100
   libswresample   3.  4.100 /  3.  4.100
   libpostproc    55.  4.100 / 55.  4.100
 Splitting the commandline.
 Reading option '-report' ... matched as option 'report' (generate a
 report) with argument '1'.
 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 url with argument '.\Short.ts'.
 Reading option '-map' ... matched as option 'map' (set input stream
 mapping) with argument '0'.
 Reading option '-f' ... matched as option 'f' (force format) with argument
 'mpegts'.
 Reading option '-codec' ... matched as option 'codec' (codec name) with
 argument 'copy'.
 Reading option 'Nightly_Restreamed.ts' ... matched as output url.
 Finished splitting the commandline.
 Parsing a group of options: global .
 Applying option report (generate a report) with argument 1.
 Applying option v (set logging level) with argument 9.
 Applying option loglevel (set logging level) with argument 99.
 Successfully parsed a group of options.
 Parsing a group of options: input url .\Short.ts.
 Successfully parsed a group of options.
 Opening an input file: .\Short.ts.
 [NULL @ 000002368397c380] Opening '.\Short.ts' for reading
 [file @ 000002368397d480] Setting default whitelist 'file,crypto'
 [mpegts @ 000002368397c380] Format mpegts probed with size=2048 and
 score=50
 [mpegts @ 000002368397c380] stream=0 stream_type=1b pid=100 prog_reg_desc=
 [mpegts @ 000002368397c380] stream=1 stream_type=6 pid=101 prog_reg_desc=
 [mpegts @ 000002368397c380] Before avformat_find_stream_info() pos: 0
 bytes read:32768 seeks:0 nb_streams:2
 [mpegts @ 000002368397c380] parser not found for codec klv, packets or
 times may be invalid.
 [mpegts @ 000002368397c380] Continuity check failed for pid 256 expected 7
 got 4
 [mpegts @ 000002368397c380] Continuity check failed for pid 0 expected 13
 got 15
 [mpegts @ 000002368397c380] Continuity check failed for pid 4096 expected
 13 got 15
 [mpegts @ 000002368397c380] parser not found for codec klv, packets or
 times may be invalid.
 [mpegts @ 000002368397c380] Continuity check failed for pid 17 expected 3
 got 7
 [AVBSFContext @ 0000023683dda980] nal_unit_type: 9(AUD), nal_ref_idc: 0
 [AVBSFContext @ 0000023683dda980] nal_unit_type: 7(SPS), nal_ref_idc: 3
 [AVBSFContext @ 0000023683dda980] nal_unit_type: 8(PPS), nal_ref_idc: 3
 [AVBSFContext @ 0000023683dda980] nal_unit_type: 6(SEI), nal_ref_idc: 0
 [AVBSFContext @ 0000023683dda980] nal_unit_type: 5(IDR), nal_ref_idc: 3
 [h264 @ 00000236839a2b00] nal_unit_type: 9(AUD), nal_ref_idc: 0
 [h264 @ 00000236839a2b00] nal_unit_type: 7(SPS), nal_ref_idc: 3
 [h264 @ 00000236839a2b00] nal_unit_type: 8(PPS), nal_ref_idc: 3
 [h264 @ 00000236839a2b00] nal_unit_type: 6(SEI), nal_ref_idc: 0
 [h264 @ 00000236839a2b00] nal_unit_type: 5(IDR), nal_ref_idc: 3
 [h264 @ 00000236839a2b00] Format yuv420p chosen by get_format().
 [h264 @ 00000236839a2b00] Reinit context to 1920x1088, pix_fmt: yuv420p
 [h264 @ 00000236839a2b00] mb_type 58 in I slice too large at 84 23
 [h264 @ 00000236839a2b00] error while decoding MB 84 23
 [h264 @ 00000236839a2b00] concealing 5365 DC, 5365 AC, 5365 MV errors in I
 frame
 [h264 @ 00000236839a2b00] nal_unit_type: 9(AUD), nal_ref_idc: 0
 [h264 @ 00000236839a2b00] nal_unit_type: 1(Coded slice of a non-IDR
 picture), nal_ref_idc: 3
 [h264 @ 00000236839a2b00] Frame num gap 4 2
 [h264 @ 00000236839a2b00] nal_unit_type: 9(AUD), nal_ref_idc: 0
 [h264 @ 00000236839a2b00] nal_unit_type: 1(Coded slice of a non-IDR
 picture), nal_ref_idc: 3
 [h264 @ 00000236839a2b00] nal_unit_type: 9(AUD), nal_ref_idc: 0
 [h264 @ 00000236839a2b00] nal_unit_type: 1(Coded slice of a non-IDR
 picture), nal_ref_idc: 3
 [h264 @ 00000236839a2b00] nal_unit_type: 9(AUD), nal_ref_idc: 0
 [h264 @ 00000236839a2b00] nal_unit_type: 1(Coded slice of a non-IDR
 picture), nal_ref_idc: 3
 [h264 @ 00000236839a2b00] nal_unit_type: 9(AUD), nal_ref_idc: 0
 [h264 @ 00000236839a2b00] nal_unit_type: 1(Coded slice of a non-IDR
 picture), nal_ref_idc: 3
 [h264 @ 00000236839a2b00] nal_unit_type: 9(AUD), nal_ref_idc: 0
 [h264 @ 00000236839a2b00] nal_unit_type: 1(Coded slice of a non-IDR
 picture), nal_ref_idc: 3
 [mpegts @ 000002368397c380] After avformat_find_stream_info() pos: 0 bytes
 read:5046820 seeks:2 frames:139
 Input #0, mpegts, from '.\Short.ts':
   Duration: 00:00:04.12, start: 2.000000, bitrate: 9305 kb/s
   Program 1
     Metadata:
       service_name    : Service01
       service_provider: FFmpeg
     Stream #0:0[0x100], 70, 1/90000: Video: h264 (Constrained Baseline), 1
 reference frame ([27][0][0][0] / 0x001B), yuv420p(progressive, left),
 1920x1080 (1920x1088), 0/1, 90k tbr, 90k tbn, 180k tbc
     Stream #0:1[0x101], 69, 1/90000: Data: klv (KLVA / 0x41564C4B), 0/1
 Successfully opened the file.
 Parsing a group of options: output url Nightly_Restreamed.ts.
 Applying option map (set input stream mapping) with argument 0.
 Applying option f (force format) with argument mpegts.
 Applying option codec (codec name) with argument copy.
 Successfully parsed a group of options.
 Opening an output file: Nightly_Restreamed.ts.
 [file @ 00000236839802c0] Setting default whitelist 'file,crypto'
 Successfully opened the file.
 [mpegts @ 000002368454d040] muxrate VBR, pcr every 9000 pkts, sdt every
 200, pat/pmt every 40 pkts
 Output #0, mpegts, to 'Nightly_Restreamed.ts':
   Metadata:
     encoder         : Lavf58.26.100
     Stream #0:0, 0, 1/90000: Video: h264 (Constrained Baseline), 1
 reference frame ([27][0][0][0] / 0x001B), yuv420p(progressive, left),
 1920x1080 (0x0), 0/1, q=2-31, 90k tbr, 90k tbn, 90k tbc
     Stream #0:1, 0, 1/90000: Data: klv (KLVA / 0x41564C4B), 0/1
 Stream mapping:
   Stream #0:0 -> #0:0 (copy)
   Stream #0:1 -> #0:1 (copy)
 Press [q] to stop, [?] for help
 cur_dts is invalid (this is harmless if it occurs once at the start per
 stream)
 cur_dts is invalid (this is harmless if it occurs once at the start per
 stream)
 [mpegts @ 000002368397c380] Continuity check failed for pid 256 expected 7
 got 4
 [mpegts @ 000002368397c380] Continuity check failed for pid 0 expected 13
 got 15
 [mpegts @ 000002368397c380] Continuity check failed for pid 4096 expected
 13 got 15
 cur_dts is invalid (this is harmless if it occurs once at the start per
 stream)
 cur_dts is invalid (this is harmless if it occurs once at the start per
 stream)
 [NULL @ 00000236839a2b00] nal_unit_type: 7(SPS), nal_ref_idc: 3
 [NULL @ 00000236839a2b00] nal_unit_type: 8(PPS), nal_ref_idc: 3
 [mpegts @ 000002368397c380] Continuity check failed for pid 17 expected 3
 got 7
 frame=   15 fps=0.0 q=-1.0 size=     768kB time=00:00:00.99
 bitrate=6316.7kbits/s speed=1.98x
 frame=   34 fps= 34 q=-1.0 size=    2304kB time=00:00:02.17
 bitrate=8677.9kbits/s speed=2.16x
 frame=   58 fps= 38 q=-1.0 size=    3840kB time=00:00:03.43
 bitrate=9152.5kbits/s speed=2.26x
 No more output streams to write to, finishing.
 frame=   70 fps= 43 q=-1.0 Lsize=    4684kB time=00:00:04.12
 bitrate=9304.4kbits/s speed=2.56x
 video:4313kB audio:0kB subtitle:0kB other streams:20kB global headers:0kB
 muxing overhead: 8.098672%
 Input file #0 (.\Short.ts):
   Input stream #0:0 (video): 70 packets read (4416467 bytes);
   Input stream #0:1 (data): 69 packets read (20631 bytes);
   Total: 139 packets (4437098 bytes) demuxed
 Output file #0 (Nightly_Restreamed.ts):
   Output stream #0:0 (video): 70 packets muxed (4416467 bytes);
   Output stream #0:1 (data): 69 packets muxed (20631 bytes);
   Total: 139 packets (4437098 bytes) muxed
 0 frames successfully decoded, 0 decoding errors
 [AVIOContext @ 0000023684af7dc0] Statistics: 0 seeks, 19 writeouts
 [AVIOContext @ 00000236839856c0] Statistics: 9843640 bytes read, 2 seeks
 }}}

--
Ticket URL: <https://trac.ffmpeg.org/ticket/7709#comment:3>
FFmpeg <https://ffmpeg.org>
FFmpeg issue tracker


More information about the FFmpeg-trac mailing list