OK, scrambled packtets do not seem to be the root cause. When I cut away this packets the file is still not played in VLC.
I made a comparison before/after filtering with ffmpeg.
The original file has only 4 PIDs:
- 0x00: PAT
- 0x90: the video stream
- 0x9b: the 1st audio stream
- 0x9c: the 2nd audio stream
Since there is no SDT the 3 streams are not identified by DVBInspector and the description is only "?".
The PES header for the video stream looks like this:
Code: Select all
stream_id: 0xE0 (224) => ITU-T Rec. H.262 | ISO/IEC 13818-2 or ISO/IEC 11172-2 or ISO/IEC 14496-2 video stream number 0
PES_packet_length: 0x0 (0)
markerBits: 0x2 (2)
pes_scrambling_control: 0x0 (0) => Not scrambled
pes_priority: 0x0 (0) => normal
data_alignment_indicator: 0x1 (1) => PES packet header is immediately followed by the video start code or audio syncword indicated in the data_stream_alignment_descriptor
copyright: 0x0 (0) => not defined whether the material is protected by copyright
original_or_copy: 0x0 (0) => contents of the associated PES packet payload is a copy
pts_dts_flags: 0x3 (3) => both the PTS fields and DTS fields shall be present in the PES packet header
escr_flag: 0x0 (0) => no ESCR fields are present
es_rate_flag: 0x1 (1) => ES_rate field is present
dsm_trick_mode_flag: 0x0 (0) => 8-bit trick mode field is not present
additional_copy_info_flag: 0x0 (0) => additional_copy_info field is not present
pes_crc_flag: 0x0 (0) => CRC field is not present
pes_extension_flag: 0x0 (0) => extension field is not present
pes_header_data_length: 0xD (13)
pts: 0x19EBEAD62 (6958263650) => 21:28:34.0405
dts: 0x19EBE9F52 (6958260050) => 21:28:34.0005
After filtering with ffmpeg I have:
- 0x00: PAT
- 0x11: SDT/BAT
- 0x100: the video stream
- 0x101: the 1st audio stream
- 0x102: the 2nd audio stream
- 0x1000: PMT
Therefore some additional tables and the video audio PIDs are renumbered.
The PES header for the video stream looks like this:
Code: Select all
stream_id: 0xE0 (224) => ITU-T Rec. H.262 | ISO/IEC 13818-2 or ISO/IEC 11172-2 or ISO/IEC 14496-2 video stream number 0
PES_packet_length: 0x0 (0)
markerBits: 0x2 (2)
pes_scrambling_control: 0x0 (0) => Not scrambled
pes_priority: 0x0 (0) => normal
data_alignment_indicator: 0x0 (0) => alignment not defined
copyright: 0x0 (0) => not defined whether the material is protected by copyright
original_or_copy: 0x0 (0) => contents of the associated PES packet payload is a copy
pts_dts_flags: 0x3 (3) => both the PTS fields and DTS fields shall be present in the PES packet header
escr_flag: 0x0 (0) => no ESCR fields are present
es_rate_flag: 0x0 (0) => no ES_rate field is present
dsm_trick_mode_flag: 0x0 (0) => 8-bit trick mode field is not present
additional_copy_info_flag: 0x0 (0) => additional_copy_info field is not present
pes_crc_flag: 0x0 (0) => CRC field is not present
pes_extension_flag: 0x0 (0) => extension field is not present
pes_header_data_length: 0xA (10)
pts: 0x37EE7 (229095) => 0:00:02.5455
dts: 0x370D7 (225495) => 0:00:02.5055
Can anyone spot anything relevant?