Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- One of the hard erroring MPEGTS files, all of them start out broken for the first few packets particularly video
- MPC-HC is able to run it okay, never got one that didn't play. But at the beginning only audio starts and video is black
- for a few seconds for all these files including this one.
- I have used ffmpeg to compress around 20 files yesterday, today's batch of 3 files won't work, nothing has really changed
- other than what I'm suspecting is because the device was simultaneously recording and reading other files which I forgot to
- avoid, I was downloading files from the same HDD that was used to write this MPEGTS
- THese files usually get errors at the beginning such as:
- [mpegts @ 0000000000562900] parser not found for codec dvb_teletext, packets or times may be invalid.
- Last message repeated 1 times
- [h264 @ 0000000000567e20] SPS unavailable in decode_picture_timing
- [h264 @ 0000000000567e20] non-existing PPS 0 referenced
- [h264 @ 0000000000567e20] SPS unavailable in decode_picture_timing
- [h264 @ 0000000000567e20] non-existing PPS 0 referenced
- [h264 @ 0000000000567e20] decode_slice_header error
- [h264 @ 0000000000567e20] no frame!
- [h264 @ 0000000000567e20] SPS unavailable in decode_picture_timing
- [h264 @ 0000000000567e20] non-existing PPS 0 referenced
- [h264 @ 0000000000567e20] SPS unavailable in decode_picture_timing
- [h264 @ 0000000000567e20] non-existing PPS 0 referenced
- [h264 @ 0000000000567e20] decode_slice_header error
- [h264 @ 0000000000567e20] no frame!
- [h264 @ 0000000000567e20] SPS unavailable in decode_picture_timing
- [h264 @ 0000000000567e20] non-existing PPS 0 referenced
- [h264 @ 0000000000567e20] SPS unavailable in decode_picture_timing
- [h264 @ 0000000000567e20] non-existing PPS 0 referenced
- [h264 @ 0000000000567e20] decode_slice_header error
- [h264 @ 0000000000567e20] no frame!
- [h264 @ 0000000000567e20] SPS unavailable in decode_picture_timing
- [h264 @ 0000000000567e20] non-existing PPS 0 referenced
- [h264 @ 0000000000567e20] SPS unavailable in decode_picture_timing
- [h264 @ 0000000000567e20] non-existing PPS 0 referenced
- [h264 @ 0000000000567e20] decode_slice_header error
- [h264 @ 0000000000567e20] no frame!
- [h264 @ 0000000000567e20] SPS unavailable in decode_picture_timing
- [h264 @ 0000000000567e20] non-existing PPS 0 referenced
- [h264 @ 0000000000567e20] SPS unavailable in decode_picture_timing
- [h264 @ 0000000000567e20] non-existing PPS 0 referenced
- [h264 @ 0000000000567e20] decode_slice_header error
- [h264 @ 0000000000567e20] no frame!
- [h264 @ 0000000000567e20] SPS unavailable in decode_picture_timing
- [h264 @ 0000000000567e20] non-existing PPS 0 referenced
- [h264 @ 0000000000567e20] SPS unavailable in decode_picture_timing
- [h264 @ 0000000000567e20] non-existing PPS 0 referenced
- [h264 @ 0000000000567e20] decode_slice_header error
- [h264 @ 0000000000567e20] no frame!
- [h264 @ 0000000000567e20] Reinit context to 1280x720, pix_fmt: yuv420p
- [h264 @ 0000000000567e20] mmco: unref short failure
- [h264 @ 0000000000567e20] Increasing reorder buffer to 2
- [h264 @ 0000000000567e20] Increasing reorder buffer to 3
- [h264 @ 0000000000567e20] mmco: unref short failure
- [mpegts @ 0000000000562900] start time for stream 2 is not set in estimate_timings_from_pts
- [mpegts @ 0000000000562900] start time for stream 3 is not set in estimate_timings_from_pts
- [mpegts @ 0000000000562900] start time for stream 5 is not set in estimate_timings_from_pts
- [mpegts @ 0000000000562900] start time for stream 6 is not set in estimate_timings_from_pts
- [mpegts @ 0000000000562900] start time for stream 8 is not set in estimate_timings_from_pts
- [mpegts @ 0000000000562900] PES packet size mismatch
- [mpegts @ 0000000000562900] Ignoring outlier non primary stream endtime 90757.523438
- -----------------------------------------------------------
- [mpegts @ 0000000000562900] Correcting start time by 9633
- [h264 @ 0000000000596aa0] Reinit context to 1280x720, pix_fmt: yuv420p
- [h264 @ 0000000000596aa0] co located POCs unavailable
- [h264 @ 0000000000597340] co located POCs unavailable
- [h264 @ 00000000005977a0] co located POCs unavailable
- [h264 @ 0000000000598040] co located POCs unavailable
- [h264 @ 00000000005988e0] mmco: unref short failure
- [h264 @ 0000000000598480] mmco: unref short failure
- ------------------------------------------------------------------------------------------
- During the transcoding, which is to H264, I get various error like these:
- Not every file has same kind of errors, it's kinda random:
- [h264 @ 0000000000598040] concealing 309 DC, 309 AC, 309 MV errors in B frames/s speed= 3.7x
- [mpegts @ 0000000000562900] PES packet size mismatch:59.12 bitrate=4849.3kbits/s speed=3.79x
- [h264 @ 0000000000596f00] error while decoding MB 43 1, bytestream -6
- [h264 @ 0000000000596f00] concealing 3526 DC, 3526 AC, 3526 MV errors in P frame
- No more output streams to write to, finishing.
- -------
- [mpegts @ 00000000004e2920] parser not found for codec dvb_teletext, packets or times may be invalid.
- Last message repeated 1 times
- [mpeg2video @ 00000000004ea860] Invalid frame dimensions 0x0.
- Last message repeated 14 times
- [mpegts @ 00000000004e2920] max_analyze_duration 7000000 reached at 7008000 microseconds st:1
- [mpegts @ 00000000004e2920] start time for stream 2 is not set in estimate_timings_from_pts
- [mpegts @ 00000000004e2920] start time for stream 3 is not set in estimate_timings_from_pts
- [mpegts @ 00000000004e2920] PES packet size mismatch
- [mpegts @ 00000000004e2920] Could not find codec parameters for stream 2 (Audio: mp3 ([3][0][0][0] / 0x0003), 0 channels, s16p): u
- nspecified frame size
- Consider increasing the value for the 'analyzeduration' and 'probesize' options
- [mpegts @ 00000000004e2920] Could not find codec parameters for stream 3 (Audio: mp3 ([3][0][0][0] / 0x0003), 0 channels, s16p): u
- nspecified frame size
- Consider increasing the value for the 'analyzeduration' and 'probesize' options
- (thank goodness I only need first audio stream and not the rest, this is common scenario, all are suppose to be mp2, not mp3, that's misleading detection)
- -------
- [mpegts @ 00000000004e2920] PES packet size mismatch:55.96 bitrate=7000.3kbits/s speed=10.5x
- [mpeg2video @ 0000000002e0a140] ac-tex damaged at 7 0
- [mpeg2video @ 0000000002e0a140] Warning MVs not available
- [mpeg2video @ 0000000002e0a140] concealing 1620 DC, 1620 AC, 1620 MV errors in I frame
- No more output streams to write to, finishing.
- -------
- [h264 @ 00000000005d73e0] concealing 2982 DC, 2982 AC, 2982 MV errors in B frame speed=3.84x
- [h264 @ 00000000005d80e0] Reference 2 >= 2time=00:28:15.67 bitrate=6529.7kbits/s speed=3.85x
- [h264 @ 00000000005d80e0] error while decoding MB 44 36, bytestream 12547
- [h264 @ 00000000005d80e0] concealing 725 DC, 725 AC, 725 MV errors in P frame
- [h264 @ 00000000005d7c80] Reference 3 >= 2time=00:51:01.48 bitrate=6639.6kbits/s speed=3.83x
- [h264 @ 00000000005d7c80] error while decoding MB 67 21, bytestream 20465
- [h264 @ 00000000005d7c80] concealing 1902 DC, 1902 AC, 1902 MV errors in P frame
- [mpegts @ 00000000005a2960] PES packet size mismatch:02.33 bitrate=6650.4kbits/s speed=3.83x
- [h264 @ 00000000005d7c80] error while decoding MB 23 3, bytestream -8
- [h264 @ 00000000005d7c80] concealing 3386 DC, 3386 AC, 3386 MV errors in B frame
- No more output streams to write to, finishing.
- ------
- [h264 @ 00000000005b8980] concealing 1739 DC, 1739 AC, 1739 MV errors in P frame speed=3.95x
- [h264 @ 00000000005b8dc0] concealing 1163 DC, 1163 AC, 1163 MV errors in B frame speed=3.95x
- [h264 @ 00000000005b80e0] concealing 3270 DC, 3270 AC, 3270 MV errors in P frame speed=3.94x
- [h264 @ 00000000005b8980] concealing 3547 DC, 3547 AC, 3547 MV errors in B frame speed=3.88x
- [h264 @ 00000000005b80e0] cabac decode of qscale diff failed at 40 10
- [h264 @ 00000000005b80e0] error while decoding MB 40 10, bytestream 58973
- [h264 @ 00000000005b80e0] concealing 2809 DC, 2809 AC, 2809 MV errors in P frame
- [h264 @ 00000000005b7840] left block unavailable for requested intra4x4 mode -1
- [h264 @ 00000000005b7840] error while decoding MB 0 30, bytestream 49441
- [h264 @ 00000000005b7840] concealing 1249 DC, 1249 AC, 1249 MV errors in I frame
- [mpegts @ 0000000000582960] PES packet size mismatch
- [h264 @ 00000000005b73e0] left block unavailable for requested intra4x4 mode -1
- [h264 @ 00000000005b73e0] error while decoding MB 0 18, bytestream 47322
- [h264 @ 00000000005b73e0] concealing 2209 DC, 2209 AC, 2209 MV errors in P frame
- [h264 @ 00000000005b7840] error while decoding MB 24 14, bytestream -81.8kbits/s speed=3.86x
- [h264 @ 00000000005b7840] concealing 2505 DC, 2505 AC, 2505 MV errors in B frame
- No more output streams to write to, finishing.
- -------------------------------------------------------------------------------------------
- -------------------------------------------------------------------------------------------
- And now finally the file that completely doesn't work:
- ////////////////////////////////////////////////////////////////
- ****************** Probing *************************************
- ////////////////////////////////////////////////////////////////
- ffprobe version git-2017-12-19-c94b094 Copyright (c) 2007-2017 the FFmpeg developers
- built with gcc 7.2.0 (GCC)
- configuration: --enable-gpl --enable-version3 --enable-sdl2 --enable-bzlib --enable-fontconfig --enable-gnutls --enable-iconv --
- enable-libass --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-l
- zma --enable-zlib --enable-gmp --enable-libvidstab --enable-libvorbis --enable-libvo-amrwbenc --enable-libmysofa --enable-amf --en
- able-cuda --enable-cuvid --enable-d3d11va --enable-nvenc --enable-dxva2 --enable-avisynth --enable-libmfx
- libavutil 56. 6.100 / 56. 6.100
- libavcodec 58. 8.100 / 58. 8.100
- libavformat 58. 3.100 / 58. 3.100
- libavdevice 58. 0.100 / 58. 0.100
- libavfilter 7. 7.100 / 7. 7.100
- libswscale 5. 0.101 / 5. 0.101
- libswresample 3. 0.101 / 3. 0.101
- libpostproc 55. 0.100 / 55. 0.100
- [NULL @ 0000000000403fa0] Opening 'Kdo_bi_vedel_2017.12.23_19.00.ts' for reading
- [file @ 0000000000405800] Setting default whitelist 'file,crypto'
- [mpegts @ 0000000000403fa0] Format mpegts probed with size=2048 and score=50
- [mpegts @ 0000000000403fa0] stream=0 stream_type=5 pid=191 prog_reg_desc=
- [mpegts @ 0000000000403fa0] stream=1 stream_type=2 pid=44d prog_reg_desc=
- [mpegts @ 0000000000403fa0] stream=2 stream_type=4 pid=44e prog_reg_desc=
- [mpegts @ 0000000000403fa0] stream=3 stream_type=6 pid=460 prog_reg_desc=
- [mpegts @ 0000000000403fa0] Before avformat_find_stream_info() pos: 0 bytes read:262144 seeks:1 nb_streams:4
- [mpegts @ 0000000000403fa0] parser not found for codec none, packets or times may be invalid.
- [mpegts @ 0000000000403fa0] parser not found for codec dvb_teletext, packets or times may be invalid.
- Last message repeated 1 times
- [mpeg2video @ 00000000004301a0] Invalid frame dimensions 0x0.
- Last message repeated 1 times
- [mpegts @ 0000000000403fa0] probing stream 2 pp:2500
- [mpegts @ 0000000000403fa0] Probe with size=3456, packets=1 detected mp3 with score=25
- [mpegts @ 0000000000403fa0] probed stream 2
- [mpeg2video @ 00000000004301a0] Invalid frame dimensions 0x0.
- Last message repeated 7 times
- [mpeg2video @ 00000000004301a0] Format yuv420p chosen by get_format().
- [mpegts @ 0000000000403fa0] Probe buffer size limit of 293554432 bytes reached
- [mpegts @ 0000000000403fa0] rfps: 25.000000 0.000015
- Last message repeated 1 times
- [mpegts @ 0000000000403fa0] rfps: 50.000000 0.000061
- Last message repeated 1 times
- [mpegts @ 0000000000403fa0] PES packet size mismatch
- Last message repeated 1 times
- [mpegts @ 0000000000403fa0] Could not find codec parameters for stream 0 (Unknown: none ([5][0][0][0] / 0x0005)): unknown codec
- Consider increasing the value for the 'analyzeduration' and 'probesize' options
- [mpegts @ 0000000000403fa0] After avformat_find_stream_info() pos: 0 bytes read:333664400 seeks:3 frames:39799
- Input #0, mpegts, from 'Kdo_bi_vedel_2017.12.23_19.00.ts':
- Duration: 01:19:59.79, start: 11309.753578, bitrate: 6136 kb/s
- Program 10601
- Stream #0:0[0x191], 0, 1/90000: Unknown: none ([5][0][0][0] / 0x0005)
- Stream #0:1[0x44d], 10854, 1/90000: Video: mpeg2video (Main), 1 reference frame ([2][0][0][0] / 0x0002), yuv420p(tv, top first
- , left), 720x576 [SAR 64:45 DAR 16:9], 0/1, 25 fps, 25 tbr, 90k tbn, 50 tbc
- Stream #0:2[0x44e](slv), 18090, 1/90000: Audio: mp2 ([4][0][0][0] / 0x0004), 48000 Hz, stereo, s16p, 192 kb/s
- Stream #0:3[0x460](slv), 10855, 1/90000: Subtitle: dvb_teletext ([6][0][0][0] / 0x0006)
- Program 10602
- Program 10603
- Program 10604
- Program 10605
- Program 10606
- Program 10620
- Program 10621
- Program 10622
- Program 10623
- Program 10624
- Program 10625
- Program 10626
- Program 10627
- Program 10628
- Program 10629
- Program 10630
- Program 10632
- Unsupported codec with id 0 for input stream 0
- Unsupported codec with id 94215 for input stream 3
- [STREAM]
- index=0
- codec_name=unknown
- codec_long_name=unknown
- profile=unknown
- codec_type=unknown
- codec_tag_string=[5][0][0][0]
- codec_tag=0x0005
- id=0x191
- r_frame_rate=0/0
- avg_frame_rate=0/0
- time_base=1/90000
- start_pts=1017877822
- start_time=11309.753578
- duration_ts=431981485
- duration=4799.794278
- bit_rate=N/A
- max_bit_rate=N/A
- bits_per_raw_sample=N/A
- nb_frames=N/A
- nb_read_frames=N/A
- nb_read_packets=N/A
- DISPOSITION:default=0
- DISPOSITION:dub=0
- DISPOSITION:original=0
- DISPOSITION:comment=0
- DISPOSITION:lyrics=0
- DISPOSITION:karaoke=0
- DISPOSITION:forced=0
- DISPOSITION:hearing_impaired=0
- DISPOSITION:visual_impaired=0
- DISPOSITION:clean_effects=0
- DISPOSITION:attached_pic=0
- DISPOSITION:timed_thumbnails=0
- [/STREAM]
- [STREAM]
- index=1
- codec_name=mpeg2video
- codec_long_name=MPEG-2 video
- profile=Main
- codec_type=video
- codec_time_base=1/25
- codec_tag_string=[2][0][0][0]
- codec_tag=0x0002
- width=720
- height=576
- coded_width=0
- coded_height=0
- has_b_frames=1
- sample_aspect_ratio=64:45
- display_aspect_ratio=16:9
- pix_fmt=yuv420p
- level=8
- color_range=tv
- color_space=unknown
- color_transfer=unknown
- color_primaries=unknown
- chroma_location=left
- field_order=tt
- timecode=N/A
- refs=1
- id=0x44d
- r_frame_rate=25/1
- avg_frame_rate=25/1
- time_base=1/90000
- start_pts=1017892235
- start_time=11309.913722
- duration_ts=431967072
- duration=4799.634133
- bit_rate=N/A
- max_bit_rate=N/A
- bits_per_raw_sample=N/A
- nb_frames=N/A
- nb_read_frames=N/A
- nb_read_packets=N/A
- DISPOSITION:default=0
- DISPOSITION:dub=0
- DISPOSITION:original=0
- DISPOSITION:comment=0
- DISPOSITION:lyrics=0
- DISPOSITION:karaoke=0
- DISPOSITION:forced=0
- DISPOSITION:hearing_impaired=0
- DISPOSITION:visual_impaired=0
- DISPOSITION:clean_effects=0
- DISPOSITION:attached_pic=0
- DISPOSITION:timed_thumbnails=0
- [/STREAM]
- [STREAM]
- index=2
- codec_name=mp2
- codec_long_name=MP2 (MPEG audio layer 2)
- profile=unknown
- codec_type=audio
- codec_time_base=1/48000
- codec_tag_string=[4][0][0][0]
- codec_tag=0x0004
- sample_fmt=s16p
- sample_rate=48000
- channels=2
- channel_layout=stereo
- bits_per_sample=0
- id=0x44e
- r_frame_rate=0/0
- avg_frame_rate=0/0
- time_base=1/90000
- start_pts=1017884081
- start_time=11309.823122
- duration_ts=431945472
- duration=4799.394133
- bit_rate=192000
- max_bit_rate=N/A
- bits_per_raw_sample=N/A
- nb_frames=N/A
- nb_read_frames=N/A
- nb_read_packets=N/A
- DISPOSITION:default=0
- DISPOSITION:dub=0
- DISPOSITION:original=0
- DISPOSITION:comment=0
- DISPOSITION:lyrics=0
- DISPOSITION:karaoke=0
- DISPOSITION:forced=0
- DISPOSITION:hearing_impaired=0
- DISPOSITION:visual_impaired=0
- DISPOSITION:clean_effects=0
- DISPOSITION:attached_pic=0
- DISPOSITION:timed_thumbnails=0
- TAG:language=slv
- [/STREAM]
- [STREAM]
- index=3
- codec_name=dvb_teletext
- codec_long_name=DVB teletext
- profile=unknown
- codec_type=subtitle
- codec_tag_string=[6][0][0][0]
- codec_tag=0x0006
- width=N/A
- height=N/A
- id=0x460
- r_frame_rate=0/0
- avg_frame_rate=0/0
- time_base=1/90000
- start_pts=1017877822
- start_time=11309.753578
- duration_ts=431949072
- duration=4799.434133
- bit_rate=N/A
- max_bit_rate=N/A
- bits_per_raw_sample=N/A
- nb_frames=N/A
- nb_read_frames=N/A
- nb_read_packets=N/A
- DISPOSITION:default=0
- DISPOSITION:dub=0
- DISPOSITION:original=0
- DISPOSITION:comment=0
- DISPOSITION:lyrics=0
- DISPOSITION:karaoke=0
- DISPOSITION:forced=0
- DISPOSITION:hearing_impaired=0
- DISPOSITION:visual_impaired=0
- DISPOSITION:clean_effects=0
- DISPOSITION:attached_pic=0
- DISPOSITION:timed_thumbnails=0
- TAG:language=slv
- [/STREAM]
- [FORMAT]
- filename=Kdo_bi_vedel_2017.12.23_19.00.ts
- nb_streams=4
- nb_programs=18
- format_name=mpegts
- format_long_name=MPEG-TS (MPEG-2 Transport Stream)
- start_time=11309.753578
- duration=4799.794277
- size=3681996732
- bit_rate=6136924
- probe_score=50
- [/FORMAT]
- [AVIOContext @ 000000000040e8e0] Statistics: 333664400 bytes read, 3 seeks
- Press any key to continue . . .
Add Comment
Please, Sign In to add comment