[vdr] Small VDR-streamdev patch for Popcorn Hour NMT

jori.hamalainen at teliasonera.com jori.hamalainen at teliasonera.com
Thu Nov 13 19:28:54 CET 2008


> I tried to v3 patch offline from my PCH (just wget to a file and run
> mediainfo & ffprobe etc). There seems to be progress - now ffprobe 
> (and ffmpeg) indicates some errors in start of stream - which could 
> be explained.

I ran the file through ts-doctor and got following output and PCH plays
the file ok. Recognizes audio as AC3 (without fix as DTS as reported
previously).

- Jori

Opening file Z:\mnt\backup\Nomads\C-0-13-3805.ts

Scanning for TRP fill packets
Scanning for PIDs
Found 7 different PIDs
$18CF: 0%
$0202: 93%
$0289: 2%
$0012: 3%
$0288: 2%
$0260: 0%
$025D: 0%


Scanning for PATs

----------- PAT 0 -----------
Table ID                 : 0
Section Syntax Indicator : 1
Reserved Bit 0           : 0
Reserved Bit 1           : 1
Reserved Bit 2           : 1
Section Length           : 13
Transport Stream ID      : 13
Reserved Bit 3           : 0
Reserved Bit 4           : 0
Version Number           : 0
Current Next Indicator   : 1
Section Number           : 0
Last Section Number      : 0

  Program Number : $0EDD
  Map PID        : $18CF

CRC32                    : $9692CCD9 = $9692CCD9
-----------------------------

Found 1 different PATs
Found 1 different PMT PIDs
Scanning for PMTs

----------- PMT 0 -----------
Packet                   : 2953
PID                      : $18CF
Table ID                 : 2
Section Syntax Indicator : 1
Section Length           : 79
Program Number           : 3805
Version Number           : 6
Current Next Indicator   : 1
Section Number           : 0
Last Section Number      : 0
PCR PID                  : $0202

Program Info Length      : 6
Program Info             : $09, $04, $0B, $00, $FC, $89

  Stream Type    : 27
  Description    : AVC video stream as defined in ITU-T Rec. H.264 | ISO/IEC 14496-10 Video
  Elementary PID : $0202
  ES 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 : $0289
  ES Info Length : 9
  ES Info        : $6A, $01, $00, $0A, $04, $65, $6E, $67, $00
  ES Info Text   : j____eng_

  Stream Type    : 3
  Description    : ISO/IEC 11172 Audio
  Elementary PID : $0288
  ES Info Length : 6
  ES Info        : $0A, $04, $66, $72, $65, $00
  ES Info Text   : __fre_

  Stream Type    : 6
  Description    : ITU-T Rec. H.222.0 | ISO/IEC 13818-1 PES packets containing private data
  Elementary PID : $025D
  ES Info Length : 10
  ES Info        : $59, $08, $73, $77, $65, $12, $00, $02, $00, $02
  ES Info Text   : Y_swe_____

  Stream Type    : 6
  Description    : ITU-T Rec. H.222.0 | ISO/IEC 13818-1 PES packets containing private data
  Elementary PID : $0260
  ES Info Length : 10
  ES Info        : $59, $08, $66, $69, $6E, $12, $00, $02, $00, $02
  ES Info Text   : Y_fin_____

CRC32                    : $4C3E165C = $4C3E165C
-----------------------------

Found 1 different PMTs

Selecting PMT with PID $18CF at position 2953
CRC OK!
Deleting PMT entry: PID $025D type 6 = ITU-T Rec. H.222.0 | ISO/IEC 13818-1 PES packets containing private data
Deleting PMT entry: PID $0260 type 6 = ITU-T Rec. H.222.0 | ISO/IEC 13818-1 PES packets containing private data
2 entries deleted from stream list (not found in stream)!

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

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

2.
  stream_type              : 3 = ISO/IEC 11172 Audio
  elementary_pid           : $0288
  ES_info_length           : 6

PCR PID is $0202

Created PAT:

----------- PAT 0 -----------
Table ID                 : 0
Section Syntax Indicator : 1
Reserved Bit 0           : 0
Reserved Bit 1           : 1
Reserved Bit 2           : 1
Section Length           : 13
Transport Stream ID      : 6
Reserved Bit 3           : 1
Reserved Bit 4           : 1
Version Number           : 11
Current Next Indicator   : 1
Section Number           : 0
Last Section Number      : 0

  Program Number : $0001
  Map PID        : $18CF

CRC32                    : $02D8FB18 = $02D8FB18
-----------------------------



Created PMT:

----------- PMT 0 -----------
Packet                   : 2953
PID                      : $18CF
Table ID                 : 2
Section Syntax Indicator : 1
Section Length           : 49
Program Number           : 1
Version Number           : 6
Current Next Indicator   : 1
Section Number           : 0
Last Section Number      : 0
PCR PID                  : $0202

Program Info Length      : 6
Program Info             : $09, $04, $0B, $00, $FC, $89

  Stream Type    : 27
  Description    : AVC video stream as defined in ITU-T Rec. H.264 | ISO/IEC 14496-10 Video
  Elementary PID : $0202
  ES 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 : $0289
  ES Info Length : 9
  ES Info        : $6A, $01, $00, $0A, $04, $65, $6E, $67, $00
  ES Info Text   : j____eng_

  Stream Type    : 3
  Description    : ISO/IEC 11172 Audio
  Elementary PID : $0288
  ES Info Length : 6
  ES Info        : $0A, $04, $66, $72, $65, $00
  ES Info Text   : __fre_

CRC32                    : $29870363 = $29870363
-----------------------------


First PTS is 1692177132 05:13:21.968
Last PTS is 1693048332 05:13:31.648
First DTS is 0 00:00:00.000
First PCR  is 507621736500 05:13:20.805
First PCR´ is 1692072455 05:13:20.805
Duration of video stream is 871200 00:00:09.680

The following PIDs will be imported into new stream: $0202, $0289, $0288

Scanning for video details
Video format: H264 1920x1088, Interlaced / 25 fps / High at 4.0

-------- H264 Video ---------
profile_idc                            : 100
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
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              : 8
pic_order_cnt_type                     : 0
log2_max_pic_order_cnt_lsb_minus4      : 5
num_ref_frames                         : 2
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                    : 0
vui_parameters_present_flag            : 1
aspect_ratio_info_present_flag         : 1
aspect_ratio_idv                       : 1
overscan_info_present_flag             : 1
overscan_appropriate_flag              : 1
video_signal_type_present_flag         : 1
video_format                           : 5
video_full_range_flag                  : 1
colour_description_present_flag        : 1
colour_primaries                       : 1
transfer_characteristics               : 1
matrix_coefficients                    : 1
chroma_loc_info_present_flag           : 1
chroma_sample_loc_type_top_field       : 0
chroma_sample_loc_type_bottom_field    : 0
timing_info_present_flag               : 1
num_units_in_tick                      : 1
time_scale                             : 50
fixed_frame_rate_flag                  : 1
-----------------------------

WARNING: video_full_range_flag is set!
Reset video_full_range_flag !

Scanning for audio details
Audio stream 1: AC3 5.1 48000Hz (ENG)
Audio stream 2: 
Error: Invalid packet 1, skipped! Error: illegal_adaptation_field_type

Starting at packet 2 00:00:00.000
ERROR: For video PID 0202 00000148: Wrong PSCPrefix
ERROR: For video PID 0202 0000026F: Wrong PSCPrefix
ERROR: For audio PID 0288 0000029A: Wrong PSCPrefix
ERROR: For video PID 0202 000004B5: Wrong PSCPrefix
ERROR: For audio PID 0289 00000595: Wrong PSCPrefix
ERROR: For video PID 0202 000005EA: Wrong PSCPrefix
ERROR: For video PID 0202 000007F9: Wrong PSCPrefix
ERROR: For video PID 0202 00000948: Wrong PSCPrefix
ERROR: For audio PID 0288 00000AF2: Wrong PSCPrefix
ERROR: For audio PID 0289 00000B50: Wrong PSCPrefix
ERROR: For video PID 0202 00000B70: Wrong PSCPrefix
ERROR: For video PID 0202 00000CB8: Wrong PSCPrefix
ERROR: For video PID 0202 00000F07: Wrong PSCPrefix
ERROR: For video PID 0202 0000103D: Wrong PSCPrefix
ERROR: For audio PID 0289 000010F7: Wrong PSCPrefix
ERROR: For video PID 0202 0000127D: Wrong PSCPrefix
ERROR: For audio PID 0288 0000132B: Wrong PSCPrefix
ERROR: For video PID 0202 000013A3: Wrong PSCPrefix
ERROR: For video PID 0202 000015A1: Wrong PSCPrefix
ERROR: For video PID 0202 00001670: Wrong PSCPrefix
ERROR: For audio PID 0289 000016A5: Wrong PSCPrefix
ERROR: For audio PID 0288 00001B30: Wrong PSCPrefix
ERROR: For video PID 0202 00001B9F: Wrong PSCPrefix
ERROR: For video PID 0202 00001BFD: Wrong PSCPrefix
ERROR: For audio PID 0289 00001C5F: Wrong PSCPrefix
ERROR: For video PID 0202 00001EFE: Wrong PSCPrefix
ERROR: For video PID 0202 00001F4F: Wrong PSCPrefix
ERROR: For video PID 0202 000020CF: Wrong PSCPrefix
ERROR: For video PID 0202 0000215E: Wrong PSCPrefix
ERROR: For audio PID 0289 000021F1: Wrong PSCPrefix
ERROR: For video PID 0202 00002291: Wrong PSCPrefix
ERROR: For audio PID 0288 0000236F: Wrong PSCPrefix
Changed Sequence Parameter Set (0) video_full_range_flag in packet 14177 byte 66
Changed Sequence Parameter Set (1) video_full_range_flag in packet 19213 byte 66
Changed Sequence Parameter Set (2) video_full_range_flag in packet 25840 byte 66
Changed Sequence Parameter Set (3) video_full_range_flag in packet 31405 byte 66
Changed Sequence Parameter Set (4) video_full_range_flag in packet 36853 byte 66
Changed Sequence Parameter Set (5) video_full_range_flag in packet 42392 byte 66
Changed Sequence Parameter Set (6) video_full_range_flag in packet 47884 byte 66
Changed Sequence Parameter Set (7) video_full_range_flag in packet 53756 byte 66
Changed Sequence Parameter Set (8) video_full_range_flag in packet 60588 byte 66
Changed Sequence Parameter Set (9) video_full_range_flag in packet 66330 byte 66
Changed Sequence Parameter Set (10) video_full_range_flag in packet 71884 byte 66
Changed Sequence Parameter Set (11) video_full_range_flag in packet 77397 byte 66
Changed Sequence Parameter Set (12) video_full_range_flag in packet 83455 byte 66
Changed Sequence Parameter Set (13) video_full_range_flag in packet 88846 byte 66
Changed Sequence Parameter Set (14) video_full_range_flag in packet 94193 byte 66
Changed Sequence Parameter Set (15) video_full_range_flag in packet 99668 byte 66
Changed Sequence Parameter Set (16) video_full_range_flag in packet 105360 byte 66
Changed Sequence Parameter Set (17) video_full_range_flag in packet 109953 byte 66
Changed Sequence Parameter Set (18) video_full_range_flag in packet 115524 byte 66

---------  NAL Unit Type Statistic  ---------
Slices                 : 1434
Data Partition A       : 0
Data Partition B       : 0
Data Partition A       : 0
IDR Picture            : 0
SEI                    : 277
Sequence Parameter Set : 19
Picture Parameter Set  : 19
AUD                    : 239
End of Sequence        : 0
End of Stream          : 0
Filler                 : 0
Slices                 : 0
Seq. Param. Set Ext.   : 0


Cutted packets at the beginning: 0
Cutted packets at the end: 0
Discarded packets (not needed): 3827
Changed Sequence Parameter Sets: 19 of 19

ERRORS : 11
WARNINGS : 0

Speed: 4.2 MBytes/sec
Duration: 00:00:05
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://www.linuxtv.org/pipermail/vdr/attachments/20081113/e31dd64f/attachment-0001.htm 


More information about the vdr mailing list