Version 141 problems
Posted: Thu Oct 27, 2011 4:34 pm
If i use 141 with my recordings i get "pcr garbage" and similar warnings as with 140. But the viewable distortions at the cutpoint are much smaller than with the older version: only a minor jump.
Here is the log from ts-doctor after cutting. In the original stream are only the AC3 warnings. TS-doctor can fix the pcr problems, but it would better to not produce them.
Opening file D:\dvd\a.ts.12.ts
OS: Windows 7 Service Pack 1
TSDoctor.exe V 1.1.39 beta (Build 0240EC)
Supported TS source filter found : TS Doctor FileSource (on)
Supported splitter filter found : Haali
Supported audio filter found : CyberLink Audio Decoder (PDVD10), Microsoft DTV-DVD Audio Decoder
Supported Mpeg video filter found : CyberLink Video/SP Decoder (PDVD10)
Supported H264 video filter found : CoreAVC Video Decoder, CyberLink Video Decoder (PDVD10)
File size: 2846929120
Packets : 15143240
Scanning for TRP fill packets
Scanning for PCR problem packets (start)
Scanning for PCR problem packets (end)
Found 15418 PCR garbage packets at the end
Fixing PCR problems and restart!
Opening file D:\dvd\a.ts.12.ts
Multiple files: Merging virtually
File 1 : D:\dvd\a.ts.12.ts
OS: Windows 7 Service Pack 1
TSDoctor.exe V 1.1.39 beta (Build 0240EC)
Supported TS source filter found : TS Doctor FileSource (on)
Supported splitter filter found : Haali
Supported audio filter found : CyberLink Audio Decoder (PDVD10), Microsoft DTV-DVD Audio Decoder
Supported Mpeg video filter found : CyberLink Video/SP Decoder (PDVD10)
Supported H264 video filter found : CoreAVC Video Decoder, CyberLink Video Decoder (PDVD10)
File size: 2844030536
Packets : 15127822
Scanning for TRP fill packets
Scanning for PCR problem packets (start)
Scanning for PCR problem packets (end)
Scanning for PIDs
Found 4 different PIDs
Identifying stream types
$0200: 0% = PMT
$0000: 0% = PAT
$0203: 94% = H264 Video (PES_StreamID E0 = Video_Stream_0) [PTS,DTS]
$0202: 5% = AC3 Audio (PES_StreamID BD = Private_Stream_1) [PCR,PTS][PESLength]
Scanning for PATs
----------- PAT 0 -----------
PacketCount : 1
Table ID : 0
Section Syntax Indicator : 1
Reserved Bit 0 : 0
Reserved Bit 1 : 1
Reserved Bit 2 : 1
Pointer Field : 0
Section Length : 13
Transport Stream ID : 1
Reserved Bit 3 : 0
Reserved Bit 4 : 0
Version Number : 2
Current Next Indicator : 1
Section Number : 0
Last Section Number : 0
Program Number : $0201
Map PID : $0200
CRC32 : $A6CC8308 = $A6CC8308
-----------------------------
Found 1 different PATs
Found 1 different PMT PIDs
Scanning for PMTs
----------- PMT 0 -----------
Packet : $00000001
PacketCount : 1
PID : $0200
Table ID : 2
Section Syntax Indicator : 1
PMT Size : 46
Pointer Field : 0
Section Length : 38
Program Number : $0201
Version Number : 2
Current Next Indicator : 1
Section Number : 0
Last Section Number : 0
PCR PID : $0202
Program Info Length : 0
Stream Type : 6
Description : ITU-T Rec. H.222.0 | ISO/IEC 13818-1 PES packets containing private data (AC3)
Elementary PID : $0202
ES Info Length : 12
ES Info : $52, $01, $01, $0A, $04, $64, $65, $20, $00, $6A, $01, $00
ES Info Text : R____de _j__
Stream Type : 27
Description : AVC video stream as defined in ITU-T Rec. H.264 | ISO/IEC 14496-10 Video
Elementary PID : $0203
ES Info Length : 3
ES Info : $52, $01, $02
ES Info Text : R__
CRC32 : $0F76831A = $0F76831A
-----------------------------
Found 1 different PMTs
Selecting PMT with PID 0200 at position 00000001
CRC OK!
0.
stream_type : 6 = ITU-T Rec. H.222.0 | ISO/IEC 13818-1 PES packets containing private data (AC3)
elementary_pid : 0202
ES_info_length : 12
1.
stream_type : 27 = AVC video stream as defined in ITU-T Rec. H.264 | ISO/IEC 14496-10 Video
elementary_pid : 0203
ES_info_length : 3
PCR PID is 0202
Created PAT:
----------- PAT 0 -----------
PacketCount : 0
Table ID : 0
Section Syntax Indicator : 1
Reserved Bit 0 : 0
Reserved Bit 1 : 1
Reserved Bit 2 : 1
Pointer Field : 0
Section Length : 13
Transport Stream ID : 1
Reserved Bit 3 : 1
Reserved Bit 4 : 1
Version Number : 2
Current Next Indicator : 1
Section Number : 0
Last Section Number : 0
Program Number : $0201
Map PID : $0200
CRC32 : $1F949484 = $1F949484
-----------------------------
Created PMT:
----------- PMT 0 -----------
Packet : $00000001
PacketCount : 1
PID : $0200
Table ID : 2
Section Syntax Indicator : 1
PMT Size : 46
Pointer Field : 0
Section Length : 38
Program Number : $0201
Version Number : 2
Current Next Indicator : 1
Section Number : 0
Last Section Number : 0
PCR PID : $0202
Program Info Length : 0
Stream Type : 6
Description : ITU-T Rec. H.222.0 | ISO/IEC 13818-1 PES packets containing private data (AC3)
Elementary PID : $0202
ES Info Length : 12
ES Info : $52, $01, $01, $0A, $04, $64, $65, $20, $00, $6A, $01, $00
ES Info Text : R____de _j__
Stream Type : 27
Description : AVC video stream as defined in ITU-T Rec. H.264 | ISO/IEC 14496-10 Video
Elementary PID : $0203
ES Info Length : 3
ES Info : $52, $01, $02
ES Info Text : R__
CRC32 : $F2667B89 = $F2667B89
-----------------------------
First video PTS is 4934186238 15:13:44.292
Last video PTS is 5228597774 16:08:15.531
First PCR is 1480234016400 15:13:43.482
Last PCR is 1568552082000 16:08:14.522
Duration of video stream is 294393552 00:54:31.039
Video PCR to PTS difference 0 ms
$0202: Delay to video stream = -1ms
The following PIDs will be imported into new stream: $0202, 0203
Scanning for video details
-------- H264 Video ---------
profile_idc : 77
constrained_set0_flag : 0
constrained_set1_flag : 1
constrained_set2_flag : 0
constrained_set3_flag : 0
reserved_zero_4bits : 0
level_idc : 40
seq_parameter_set_id : 0
log2_max_frame_num_minus4 : 0
pic_order_cnt_type : 0
log2_max_pic_order_cnt_lsb_minus4 : 0
num_ref_frames : 4
gaps_in_frame_num_value_allowed_flag : 0
pic_width_in_mbs_minus1 : 119
pic_height_in_map_units_minus1 : 33
frame_mbs_only_flag : 0
mb_adaptive_frame_field_flag : 1
direct_8x8_inference_flag : 1
frame_cropping_flag : 1
frame_crop_left_offset : 0
frame_crop_right_offset : 0
frame_crop_top_offset : 0
frame_crop_bottom_offset : 2
vui_parameters_present_flag : 1
aspect_ratio_info_present_flag : 1
aspect_ratio_idv : 1
overscan_info_present_flag : 0
video_signal_type_present_flag : 1
video_format : 0
video_full_range_flag : 0
colour_description_present_flag : 1
colour_primaries : 1
transfer_characteristics : 1
matrix_coefficients : 1
chroma_loc_info_present_flag : 0
timing_info_present_flag : 1
num_units_in_tick : 1
time_scale : 50
fixed_frame_rate_flag : 1
nal_hrd_parameters_present_flag : 0
vcl_hrd_parameters_present_flag : 0
-----------------------------
Video format: H264 1920x1088i/25 fps/Main@4.0
Colorimetry : ColourPrimaries=BT.709, TransferCharacteristics=BT.709, MatrixCoefficients=BT.709
Scanning for audio details
AC3 6 channels: 5 times
Audio stream 1: AC3 5.1 48000Hz (DE )
Cut in at PCR: 00:00:00.000 (15:13:43.482)
Cut out at PCR: 00:54:31.039 (16:08:14.522)
File changed to a.ts.12.ts / Read index: 00000000 / Write index: 00000000 at 00:00:00.000
Starting at paket 0000006A(00000000) PCR: 00:00:00.000 (15:13:43.482)
No cutting at the end needed
ES WARNING: H264 video resolution info changed at -15:13:44.292
from 1920x1088, Interlaced / 25 fps / Main@4.0 / ColourPrimaries=BT.709, TransferCharacteristics=BT.709, MatrixCoefficients=BT.709
to 1920x1088, Interlaced / 25 fps / High@4.0 / ColourPrimaries=BT.709, TransferCharacteristics=BT.709, MatrixCoefficients=BT.709
ES WARNING: H264 video resolution info changed at -15:13:44.292
from 1920x1088, Interlaced / 25 fps / High@4.0 / ColourPrimaries=BT.709, TransferCharacteristics=BT.709, MatrixCoefficients=BT.709
to 1920x1088, Interlaced / 25 fps / Main@4.0 / ColourPrimaries=BT.709, TransferCharacteristics=BT.709, MatrixCoefficients=BT.709
TS WARNING: For PID 0202 00:30:15.680 TS packet 00825E61: Packet discontinuity last=4 , current=0
ES WARNING: For PID 0202 AC3 properties changed at 00:30:15.999 (5.1 48kHz >>> 2.0 48kHz)
TS WARNING: For PID 0203 00:30:15.680 TS packet 00825E91: Packet discontinuity last=9 , current=0
ES WARNING: For PID 0202 AC3 properties changed at 00:30:16.030 (2.0 48kHz >>> 5.1 48kHz)
ES WARNING: H264 video resolution info changed at -15:13:44.292
from 1920x1088, Interlaced / 25 fps / Main@4.0 / ColourPrimaries=BT.709, TransferCharacteristics=BT.709, MatrixCoefficients=BT.709
to 1920x1088, Interlaced / 25 fps / High@4.0 / ColourPrimaries=BT.709, TransferCharacteristics=BT.709, MatrixCoefficients=BT.709
ES WARNING: H264 video resolution info changed at -15:13:44.292
from 1920x1088, Interlaced / 25 fps / High@4.0 / ColourPrimaries=BT.709, TransferCharacteristics=BT.709, MatrixCoefficients=BT.709
to 1920x1088, Interlaced / 25 fps / Main@4.0 / ColourPrimaries=BT.709, TransferCharacteristics=BT.709, MatrixCoefficients=BT.709
--------- NAL Unit Type Statistic ---------
Slices : 163497
I-Slices : 2552
P-Slices : 38339
B-Slices : 122606
SP-Slices : 0
SI-Slices : 0
Data Partition A : 0
Data Partition B : 0
Data Partition A : 0
IDR Picture : 6
SEI : 163507
Sequence Parameter Set : 2558
Picture Parameter Set : 2558
AUD : 163503
End of Sequence : 0
End of Stream : 0
Filler : 0
Slices : 0
Seq. Param. Set Ext. : 0
Cutted pakets at the beginning: 0
Cutted pakets at the end: 0
Discarded pakets (Filler data): 686021 = 4,6% [Brutto]
Discarded pakets (not needed): 136855
PID stream sizes
$0202: 157,6 MB
$0203: 2,4 GB
ERRORS : 0
WARNINGS : 8
Speed: 56,2 MBytes/sec
Duration: 00:00:48
Here is the log from ts-doctor after cutting. In the original stream are only the AC3 warnings. TS-doctor can fix the pcr problems, but it would better to not produce them.
Opening file D:\dvd\a.ts.12.ts
OS: Windows 7 Service Pack 1
TSDoctor.exe V 1.1.39 beta (Build 0240EC)
Supported TS source filter found : TS Doctor FileSource (on)
Supported splitter filter found : Haali
Supported audio filter found : CyberLink Audio Decoder (PDVD10), Microsoft DTV-DVD Audio Decoder
Supported Mpeg video filter found : CyberLink Video/SP Decoder (PDVD10)
Supported H264 video filter found : CoreAVC Video Decoder, CyberLink Video Decoder (PDVD10)
File size: 2846929120
Packets : 15143240
Scanning for TRP fill packets
Scanning for PCR problem packets (start)
Scanning for PCR problem packets (end)
Found 15418 PCR garbage packets at the end
Fixing PCR problems and restart!
Opening file D:\dvd\a.ts.12.ts
Multiple files: Merging virtually
File 1 : D:\dvd\a.ts.12.ts
OS: Windows 7 Service Pack 1
TSDoctor.exe V 1.1.39 beta (Build 0240EC)
Supported TS source filter found : TS Doctor FileSource (on)
Supported splitter filter found : Haali
Supported audio filter found : CyberLink Audio Decoder (PDVD10), Microsoft DTV-DVD Audio Decoder
Supported Mpeg video filter found : CyberLink Video/SP Decoder (PDVD10)
Supported H264 video filter found : CoreAVC Video Decoder, CyberLink Video Decoder (PDVD10)
File size: 2844030536
Packets : 15127822
Scanning for TRP fill packets
Scanning for PCR problem packets (start)
Scanning for PCR problem packets (end)
Scanning for PIDs
Found 4 different PIDs
Identifying stream types
$0200: 0% = PMT
$0000: 0% = PAT
$0203: 94% = H264 Video (PES_StreamID E0 = Video_Stream_0) [PTS,DTS]
$0202: 5% = AC3 Audio (PES_StreamID BD = Private_Stream_1) [PCR,PTS][PESLength]
Scanning for PATs
----------- PAT 0 -----------
PacketCount : 1
Table ID : 0
Section Syntax Indicator : 1
Reserved Bit 0 : 0
Reserved Bit 1 : 1
Reserved Bit 2 : 1
Pointer Field : 0
Section Length : 13
Transport Stream ID : 1
Reserved Bit 3 : 0
Reserved Bit 4 : 0
Version Number : 2
Current Next Indicator : 1
Section Number : 0
Last Section Number : 0
Program Number : $0201
Map PID : $0200
CRC32 : $A6CC8308 = $A6CC8308
-----------------------------
Found 1 different PATs
Found 1 different PMT PIDs
Scanning for PMTs
----------- PMT 0 -----------
Packet : $00000001
PacketCount : 1
PID : $0200
Table ID : 2
Section Syntax Indicator : 1
PMT Size : 46
Pointer Field : 0
Section Length : 38
Program Number : $0201
Version Number : 2
Current Next Indicator : 1
Section Number : 0
Last Section Number : 0
PCR PID : $0202
Program Info Length : 0
Stream Type : 6
Description : ITU-T Rec. H.222.0 | ISO/IEC 13818-1 PES packets containing private data (AC3)
Elementary PID : $0202
ES Info Length : 12
ES Info : $52, $01, $01, $0A, $04, $64, $65, $20, $00, $6A, $01, $00
ES Info Text : R____de _j__
Stream Type : 27
Description : AVC video stream as defined in ITU-T Rec. H.264 | ISO/IEC 14496-10 Video
Elementary PID : $0203
ES Info Length : 3
ES Info : $52, $01, $02
ES Info Text : R__
CRC32 : $0F76831A = $0F76831A
-----------------------------
Found 1 different PMTs
Selecting PMT with PID 0200 at position 00000001
CRC OK!
0.
stream_type : 6 = ITU-T Rec. H.222.0 | ISO/IEC 13818-1 PES packets containing private data (AC3)
elementary_pid : 0202
ES_info_length : 12
1.
stream_type : 27 = AVC video stream as defined in ITU-T Rec. H.264 | ISO/IEC 14496-10 Video
elementary_pid : 0203
ES_info_length : 3
PCR PID is 0202
Created PAT:
----------- PAT 0 -----------
PacketCount : 0
Table ID : 0
Section Syntax Indicator : 1
Reserved Bit 0 : 0
Reserved Bit 1 : 1
Reserved Bit 2 : 1
Pointer Field : 0
Section Length : 13
Transport Stream ID : 1
Reserved Bit 3 : 1
Reserved Bit 4 : 1
Version Number : 2
Current Next Indicator : 1
Section Number : 0
Last Section Number : 0
Program Number : $0201
Map PID : $0200
CRC32 : $1F949484 = $1F949484
-----------------------------
Created PMT:
----------- PMT 0 -----------
Packet : $00000001
PacketCount : 1
PID : $0200
Table ID : 2
Section Syntax Indicator : 1
PMT Size : 46
Pointer Field : 0
Section Length : 38
Program Number : $0201
Version Number : 2
Current Next Indicator : 1
Section Number : 0
Last Section Number : 0
PCR PID : $0202
Program Info Length : 0
Stream Type : 6
Description : ITU-T Rec. H.222.0 | ISO/IEC 13818-1 PES packets containing private data (AC3)
Elementary PID : $0202
ES Info Length : 12
ES Info : $52, $01, $01, $0A, $04, $64, $65, $20, $00, $6A, $01, $00
ES Info Text : R____de _j__
Stream Type : 27
Description : AVC video stream as defined in ITU-T Rec. H.264 | ISO/IEC 14496-10 Video
Elementary PID : $0203
ES Info Length : 3
ES Info : $52, $01, $02
ES Info Text : R__
CRC32 : $F2667B89 = $F2667B89
-----------------------------
First video PTS is 4934186238 15:13:44.292
Last video PTS is 5228597774 16:08:15.531
First PCR is 1480234016400 15:13:43.482
Last PCR is 1568552082000 16:08:14.522
Duration of video stream is 294393552 00:54:31.039
Video PCR to PTS difference 0 ms
$0202: Delay to video stream = -1ms
The following PIDs will be imported into new stream: $0202, 0203
Scanning for video details
-------- H264 Video ---------
profile_idc : 77
constrained_set0_flag : 0
constrained_set1_flag : 1
constrained_set2_flag : 0
constrained_set3_flag : 0
reserved_zero_4bits : 0
level_idc : 40
seq_parameter_set_id : 0
log2_max_frame_num_minus4 : 0
pic_order_cnt_type : 0
log2_max_pic_order_cnt_lsb_minus4 : 0
num_ref_frames : 4
gaps_in_frame_num_value_allowed_flag : 0
pic_width_in_mbs_minus1 : 119
pic_height_in_map_units_minus1 : 33
frame_mbs_only_flag : 0
mb_adaptive_frame_field_flag : 1
direct_8x8_inference_flag : 1
frame_cropping_flag : 1
frame_crop_left_offset : 0
frame_crop_right_offset : 0
frame_crop_top_offset : 0
frame_crop_bottom_offset : 2
vui_parameters_present_flag : 1
aspect_ratio_info_present_flag : 1
aspect_ratio_idv : 1
overscan_info_present_flag : 0
video_signal_type_present_flag : 1
video_format : 0
video_full_range_flag : 0
colour_description_present_flag : 1
colour_primaries : 1
transfer_characteristics : 1
matrix_coefficients : 1
chroma_loc_info_present_flag : 0
timing_info_present_flag : 1
num_units_in_tick : 1
time_scale : 50
fixed_frame_rate_flag : 1
nal_hrd_parameters_present_flag : 0
vcl_hrd_parameters_present_flag : 0
-----------------------------
Video format: H264 1920x1088i/25 fps/Main@4.0
Colorimetry : ColourPrimaries=BT.709, TransferCharacteristics=BT.709, MatrixCoefficients=BT.709
Scanning for audio details
AC3 6 channels: 5 times
Audio stream 1: AC3 5.1 48000Hz (DE )
Cut in at PCR: 00:00:00.000 (15:13:43.482)
Cut out at PCR: 00:54:31.039 (16:08:14.522)
File changed to a.ts.12.ts / Read index: 00000000 / Write index: 00000000 at 00:00:00.000
Starting at paket 0000006A(00000000) PCR: 00:00:00.000 (15:13:43.482)
No cutting at the end needed
ES WARNING: H264 video resolution info changed at -15:13:44.292
from 1920x1088, Interlaced / 25 fps / Main@4.0 / ColourPrimaries=BT.709, TransferCharacteristics=BT.709, MatrixCoefficients=BT.709
to 1920x1088, Interlaced / 25 fps / High@4.0 / ColourPrimaries=BT.709, TransferCharacteristics=BT.709, MatrixCoefficients=BT.709
ES WARNING: H264 video resolution info changed at -15:13:44.292
from 1920x1088, Interlaced / 25 fps / High@4.0 / ColourPrimaries=BT.709, TransferCharacteristics=BT.709, MatrixCoefficients=BT.709
to 1920x1088, Interlaced / 25 fps / Main@4.0 / ColourPrimaries=BT.709, TransferCharacteristics=BT.709, MatrixCoefficients=BT.709
TS WARNING: For PID 0202 00:30:15.680 TS packet 00825E61: Packet discontinuity last=4 , current=0
ES WARNING: For PID 0202 AC3 properties changed at 00:30:15.999 (5.1 48kHz >>> 2.0 48kHz)
TS WARNING: For PID 0203 00:30:15.680 TS packet 00825E91: Packet discontinuity last=9 , current=0
ES WARNING: For PID 0202 AC3 properties changed at 00:30:16.030 (2.0 48kHz >>> 5.1 48kHz)
ES WARNING: H264 video resolution info changed at -15:13:44.292
from 1920x1088, Interlaced / 25 fps / Main@4.0 / ColourPrimaries=BT.709, TransferCharacteristics=BT.709, MatrixCoefficients=BT.709
to 1920x1088, Interlaced / 25 fps / High@4.0 / ColourPrimaries=BT.709, TransferCharacteristics=BT.709, MatrixCoefficients=BT.709
ES WARNING: H264 video resolution info changed at -15:13:44.292
from 1920x1088, Interlaced / 25 fps / High@4.0 / ColourPrimaries=BT.709, TransferCharacteristics=BT.709, MatrixCoefficients=BT.709
to 1920x1088, Interlaced / 25 fps / Main@4.0 / ColourPrimaries=BT.709, TransferCharacteristics=BT.709, MatrixCoefficients=BT.709
--------- NAL Unit Type Statistic ---------
Slices : 163497
I-Slices : 2552
P-Slices : 38339
B-Slices : 122606
SP-Slices : 0
SI-Slices : 0
Data Partition A : 0
Data Partition B : 0
Data Partition A : 0
IDR Picture : 6
SEI : 163507
Sequence Parameter Set : 2558
Picture Parameter Set : 2558
AUD : 163503
End of Sequence : 0
End of Stream : 0
Filler : 0
Slices : 0
Seq. Param. Set Ext. : 0
Cutted pakets at the beginning: 0
Cutted pakets at the end: 0
Discarded pakets (Filler data): 686021 = 4,6% [Brutto]
Discarded pakets (not needed): 136855
PID stream sizes
$0202: 157,6 MB
$0203: 2,4 GB
ERRORS : 0
WARNINGS : 8
Speed: 56,2 MBytes/sec
Duration: 00:00:48