Schnittvorschau ist zeitlich verschoben

Begonnen von Zenani, Juli 13, 2010, 21:29:28

« vorheriges - nächstes »

Zenani

Hi,

ich habe mal wieder einen seltsamen Fehler.
TS-Doctor meldet das die PTS Zeitbasis außerhalb des erwarteten Bereichs ist. Aber nicht vom Teletext, sondern Audio.
Klicke ich Ja und öffne die so reparierte Datei wieder, kommt die Meldung nochmal. Will ich die originale oder die reparierte schneiden, fängt das Video erst bei ~25min auf der Zeitleiste an. Klicke ich vor 25min in der Zeitleiste etwas an passiert nix. Ab der 25. min sehe ich dann das Video von Anfang an. Natürlich fehlt aber jetzt das Ende und ich kann nicht schneiden. MPC-HC und smplayer spielen das Video mal ab.
Remuxen mit tsmuxer geht hier irgendwie auch nicht, da das nur die Videospur erkennt, aber keine Audiospur.

Falls benötigt lade ich einen Schnipsel davon hoch.

Opening file Z:\todo\tocut\xxx.ts

OS: Windows XP Service Pack 3
TSDoctor.exe V 1.0.54 beta

Supported splitter filter found : Haali,Gabest
Supported audio filter found    : ffdshow
Supported video filter found    : ffdshow,CoreAVC
File size: 3537671952
Packets  : 18817404


Scanning for TRP fill pakets

Scanning for PIDs

Found 5 different PIDs

Identifying stream types

$01FF: 92%  = H264 Video (PES_StreamID $E0 = Video_Stream_0) [PCR,PTS,DTS]
$0021: 3%   = Teletext (PES_StreamID $BD = Private_Stream_1) [PTS][PESLength]
$0203: 4%   = AC3 Audio (PES_StreamID $BD = Private_Stream_1) [PTS][PESLength]
$0000: 0%   = PAT
$0061: 0%   = PMT


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           : 33
Transport Stream ID      : 1057
Reserved Bit 3           : 1
Reserved Bit 4           : 1
Version Number           : 30
Current Next Indicator   : 1
Section Number           : 0
Last Section Number      : 0

  Program Number : $0000
  Map PID        : $0010

  Program Number : $EF10
  Map PID        : $0060

  Program Number : $EF11
  Map PID        : $0061

  Program Number : $EF12
  Map PID        : $0062

  Program Number : $EF13
  Map PID        : $0063

  Program Number : $EF6A
  Map PID        : $0090

CRC32                    : $578AA9AF = $578AA9AF
-----------------------------

Found 1 different PATs
Found 1 different PMT PIDs (5 PMTPIDs ignored $0010, $0060, $0062, $0063, $0090 )
Scanning for PMTs

----------- PMT 0 -----------
Packet                   : $00000247
PacketCount              : 1
PID                      : $0061
Table ID                 : 2
Section Syntax Indicator : 1
PMT Size                 : 159
Pointer Field            : 0
Section Length           : 151
Program Number           : $EF11
Version Number           : 2
Current Next Indicator   : 1
Section Number           : 0
Last Section Number      : 0
PCR PID                  : $01FF

Program Info Length      : 94
Program Info             : $09, $14, $18, $30, $FA, $CE, $86, $0E, $00, $80, $11, $0F, $9F, $20, $FC, $01, $80, $11, $0D, $7A, $20, $FC, $09, $46, $18, $43, $F9, $CE, $86, $0E, $00, $80, $11, $0F, $9F, $20, $FC, $01, $80, $11, $0D, $7A, $20, $FC, $8C, $30, $00, $00, $15, $8C, $13, $00, $80, $11, $08, $02, $18, $43, $20, $0A, $09, $38, $59, $00, $0F, $9F, $59, $00, $0F, $9F, $01, $00, $15, $8C, $13, $00, $80, $11, $08, $02, $18, $43, $20, $0A, $09, $38, $59, $00, $0D, $7B, $59, $00, $0D, $7B

  Stream Type    : 6
  Description    : ITU-T Rec. H.222.0 | ISO/IEC 13818-1 PES packets containing private data (Teletext)
  Elementary PID : $0021
  ES Info Length : 10
  ES Info        : $52, $01, $0A, $56, $05, $64, $65, $75, $09, $00
  ES Info Text   : R__V_deu__

  Stream Type    : 27
  Description    : AVC video stream as defined in ITU-T Rec. H.264 | ISO/IEC 14496-10 Video
  Elementary PID : $01FF
  ES Info Length : 3
  ES Info        : $52, $01, $09
  ES Info Text   : R__

  Stream Type    : 6
  Description    : ITU-T Rec. H.222.0 | ISO/IEC 13818-1 PES packets containing private data (AC3)
  Elementary PID : $0203
  ES Info Length : 16
  ES Info        : $6A, $05, $FF, $42, $08, $00, $00, $0A, $04, $64, $65, $75, $01, $52, $01, $07
  ES Info Text   : j_ÿB_____deu_R__

CRC32                    : $C94D3B3D = $C94D3B3D
-----------------------------

Found 1 different PMTs

Selecting PMT with PID $0061 at position $00000247
CRC OK!

0.
  stream_type              : 6 = ITU-T Rec. H.222.0 | ISO/IEC 13818-1 PES packets containing private data (Teletext)
  elementary_pid           : $0021
  ES_info_length           : 10

1.
  stream_type              : 27 = AVC video stream as defined in ITU-T Rec. H.264 | ISO/IEC 14496-10 Video
  elementary_pid           : $01FF
  ES_info_length           : 3

2.
  stream_type              : 6 = ITU-T Rec. H.222.0 | ISO/IEC 13818-1 PES packets containing private data (AC3)
  elementary_pid           : $0203
  ES_info_length           : 16

PCR PID is $01FF

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      : 1057
Reserved Bit 3           : 1
Reserved Bit 4           : 1
Version Number           : 30
Current Next Indicator   : 1
Section Number           : 0
Last Section Number      : 0

  Program Number : $EF11
  Map PID        : $0061

CRC32                    : $09B81FBF = $09B81FBF
-----------------------------



Created PMT:

----------- PMT 0 -----------
Packet                   : $00000247
PacketCount              : 1
PID                      : $0061
Table ID                 : 2
Section Syntax Indicator : 1
PMT Size                 : 159
Pointer Field            : 0
Section Length           : 151
Program Number           : $EF11
Version Number           : 2
Current Next Indicator   : 1
Section Number           : 0
Last Section Number      : 0
PCR PID                  : $01FF

Program Info Length      : 94
Program Info             : $09, $14, $18, $30, $FA, $CE, $86, $0E, $00, $80, $11, $0F, $9F, $20, $FC, $01, $80, $11, $0D, $7A, $20, $FC, $09, $46, $18, $43, $F9, $CE, $86, $0E, $00, $80, $11, $0F, $9F, $20, $FC, $01, $80, $11, $0D, $7A, $20, $FC, $8C, $30, $00, $00, $15, $8C, $13, $00, $80, $11, $08, $02, $18, $43, $20, $0A, $09, $38, $59, $00, $0F, $9F, $59, $00, $0F, $9F, $01, $00, $15, $8C, $13, $00, $80, $11, $08, $02, $18, $43, $20, $0A, $09, $38, $59, $00, $0D, $7B, $59, $00, $0D, $7B

  Stream Type    : 6
  Description    : ITU-T Rec. H.222.0 | ISO/IEC 13818-1 PES packets containing private data (Teletext)
  Elementary PID : $0021
  ES Info Length : 10
  ES Info        : $52, $01, $0A, $56, $05, $64, $65, $75, $09, $00
  ES Info Text   : R__V_deu__

  Stream Type    : 27
  Description    : AVC video stream as defined in ITU-T Rec. H.264 | ISO/IEC 14496-10 Video
  Elementary PID : $01FF
  ES Info Length : 3
  ES Info        : $52, $01, $09
  ES Info Text   : R__

  Stream Type    : 6
  Description    : ITU-T Rec. H.222.0 | ISO/IEC 13818-1 PES packets containing private data (AC3)
  Elementary PID : $0203
  ES Info Length : 16
  ES Info        : $6A, $05, $FF, $42, $08, $00, $00, $0A, $04, $64, $65, $75, $01, $52, $01, $07
  ES Info Text   : j_ÿB_____deu_R__

CRC32                    : $C94D3B3D = $C94D3B3D
-----------------------------


First video PTS is 4817302841 14:52:05.587
Last video PTS  is 5249279441 16:12:05.327

First PCR  is 1480814479800 15:14:04.981
Last PCR  is 1574769680675 16:12:04.803
Duration of video stream is 313184003 00:57:59.822
Video PCR to PTS difference 0 ms
Patch time base for PID $0203 = 0 ms
$0021: Delay to video stream = 0ms
$0203: Delay to video stream = 1319450ms


The following PIDs will be imported into new stream: $0021, $01FF, $0203

Scanning for video details

-------- H264 Video ---------
profile_idc                            : 100
constrained_set0_flag                  : 0
constrained_set1_flag                  : 0
constrained_set2_flag                  : 0
constrained_set3_flag                  : 0
reserved_zero_4bits                    : 0
level_idc                              : 40
seq_parameter_set_id                   : 0
chroma_format_idc                      : 1
bit_depth_luma_minus8                  : 0
bit_depth_chroma_minus8                : 0
qpprime_y_zero_transform_bypass_flag   : 0
seq_scaling_matrix_present_flag        : 0
log2_max_frame_num_minus4              : 5
pic_order_cnt_type                     : 0
log2_max_pic_order_cnt_lsb_minus4      : 5
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           : 0
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/High@4.0
Colorimetry : ColourPrimaries=BT.709, TransferCharacteristics=BT.709, MatrixCoefficients=BT.709

Scanning for audio details
Audio stream 1: AC3 2.0 48000Hz (DEU)

Cut in  at PCR: 00:00:00.000 (15:14:04.981)
Cut out at PCR: 00:57:59.822 (16:12:04.803)

Starting at paket $00000000(00000000) PCR: 00:00:00.000 (15:14:04.981)
No cutting at the end needed
TS  WARNING: For PID 01FF $000000C4: Paket discontinuity 0,14
TS  WARNING: For PID 0203 $000000D5: Paket discontinuity 1,11

---------  NAL Unit Type Statistic  ---------
Slices                 : 173999
    I-Slices           : 2719
    P-Slices           : 40780
    B-Slices           : 130500
    SP-Slices          : 0
    SI-Slices          : 0
Data Partition A       : 0
Data Partition B       : 0
Data Partition A       : 0
IDR Picture            : 0
SEI                    : 173999
Sequence Parameter Set : 2719
Picture Parameter Set  : 2719
AUD                    : 173999
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): 961313 = 5,3% [Brutto]
Discarded pakets (not needed): 765577

ERRORS : 0
WARNINGS : 2

Speed: 6,6 MBytes/sec
Duration: 00:08:32


mfg Zenani

Cypheros

Hi Zenani,

so ein Teil vom Anfang (die ersten 26 Minuten) wäre schon interessant.

Der Haupttimer liegt auf $01FF, das ist der Videostream. OK soweit aber:
First video PTS is 4817302841 14:52:05.587
Last video PTS  is 5249279441 16:12:05.327

First PCR  is 1480814479800 15:14:04.981
Last PCR  is 1574769680675 16:12:04.803


Der erste PTS-Eintrag liegt etwa 22 Minuten vor dem ersten PCR. Das ist nicht OK! Eigendlich müßten alle PTS- und PCR-Timer im gleichen Zeitrahmen liegen, plus/minus ein paar Sekunden Delay. Deshalb kriegst Du auch diesen PTS Zeitbasis-Fehler.


www.cypheros.de