MPEG-2 Transport Stream Poster
Total Page:16
File Type:pdf, Size:1020Kb
MPEG-2 Transport Stream Poster Includes ATSC Program and System Information Protocol (PSIP) Tables Contact Tektronix: ASEAN / Australasia (65) 6356 3900 Austria* 00800 2255 4835 Balkans, Israel, South Africa and other ISE Countries +41 52 675 3777 Belgium* 00800 2255 4835 Brazil +55 (11) 3759 7627 Canada 1 (800) 833-9200 Central East Europe and the Baltics +41 52 675 3777 Central Europe & Greece +41 52 675 3777 Denmark +45 80 88 1401 Finland +41 52 675 3777 France* 00800 2255 4835 Germany* 00800 2255 4835 Hong Kong 400-820-5835 India 000-800-650-1835 Italy* 00800 2255 4835 Japan 81 (3) 6714-3010 Luxembourg +41 52 675 3777 Mexico, Central/South America & Caribbean 52 (55) 56 04 50 90 Middle East, Asia and North Africa +41 52 675 3777 The Netherlands* 00800 2255 4835 Norway 800 16098 People’s Republic of China 400-820-5835 Poland +41 52 675 3777 Portugal 80 08 12370 Republic of Korea 001-800-8255-2835 Russia & CIS +7 (495) 7484900 South Africa +27 11 206 8360 Spain* 00800 2255 4835 Sweden* 00800 2255 4835 Switzerland* 00800 2255 4835 Taiwan 886 (2) 2722-9622 United Kingdom & Ireland* 00800 2255 4835 USA 1 (800) 833-9200 * If the European phone number above is not accessible, please call +41 52 675 3777 Contact List Updated 10 February 2011 For Further Information Tektronix maintains a comprehensive, constantly expanding collection of application notes, technical briefs and other resources to help engineers working on the cutting edge of technology. Please visit www.tektronix.com Copyright © 2012, Tektronix. All rights reserved. Tektronix products are covered by U.S. and foreign patents, issued and pending. Information in this publication supersedes that in all previously published material. Specification and price change privileges reserved. TEKTRONIX and TEK are registered trademarks of Tektronix, Inc. All other trade names referenced are the service marks, trademarks or registered trademarks of their respective companies. 03/12 EA/FCA-POD 21W-15020-4 MPEG-2 Transport Stream Poster Advanced Television Systems Committee (ATSC) ISO/IEC 13818-1 International Standard Program and System Information Protocol (PSIP) for Terrestrial Broadcast and Cable (Doc. A/65 and A/69) ISO/IEC 13818-1 Transport Packet PES PACKET SYNTAX DIAGRAM System Time Table (STT) Rating Region Table (RRT) Direct Channel Change Table (DCCT) ISO/IEC 13818-2 Video Levels and Profiles 24 bits 8 bits 16 bits Syntax Bits Format Syntax Bits Format Syntax Bits Format 4:2:0 4:2:2 4:2:0, 4:2:2 1920x1152 1920x1088 1920x1152 Packet PES Optional system_time_table_section(){ rating_region_table_section(){ directed_channel_change_table_section(){ High Stream 80 Mb/s 300 Mb/s 100 Mb/s Syntax No. of bits Start Code Packet PES PES Packet Data Bytes table_id 8 0xCD table_id 8 0xCA table_id 8 0xD3 I,P,B I,P,B I,P,B Id section_syntax_indicator 1 ‘1’ Prefix Length HEADER section_syntax_indicator 1 ‘1’ section_syntax_indicator 1 ‘1’ transport_packet(){ private_indicator 1 ‘1’ private_indicator 1 ‘1’ private_indicator 1 ‘1’ 4:2:0 4:2:0 4:2:0, 4:2:2 reserved 2 ‘11’ synch_byte 8 reserved 2 ‘11’ reserved 2 ‘11’ High-1440 1440x1152 1440x1152 1440x1152 section_length 12 uimsbf section_length 12 uimsbf 60 Mb/s 60 Mb/s 80 Mb/s transport_error_indicator 1 section_length 12 uimsbf table_id_extension { table_id_extension 16 0x0000 I,P,B I,P,B I,P,B payload_unit_start_indicator 1 2 bits 2 bits 1 bit 1 bit 1 bit 1 bit 8 bits 8 bits m*8 bits table_id_extension 16 0x0000 reserved 8 0xFF reserved 2 ‘11’ rating_region 8 uimsbf reserved 2 ‘11’ transport_priority 1 version_number 5 uimsbf 4:2:0 4:2:0 4:2:2 4:2:0 4:2:0, 4:2:2 PES Data PES Stuffing version_number 5 ‘00000’ } 720x576 720x576 720x608 720x576 720x576 PID 13 PES Original Optional reserved current_next_indicator 1 ‘1’ Main ‘10’ Scrambling Alignment Copyright 7 Flags Header Bytes current_next_indicator 1 ‘1’ 2 ‘11’ 15 Mb/s 15 Mb/s 50 Mb/s 15 Mb/s 20 Mb/s transport_scrambling_control 2 Priority or Copy Fields version_number 5 uimsbf section_number 8 0x00 Control Indicator Data Length (0xFF) section_number 8 0x00 I,P I,P,B I,P,B I,P,B I,P,B adaptation_field_control 2 last_section_number 8 0x00 current_next_indicator 1 ‘1’ last_section_number 8 0x00 continuity_counter 4 protocol_version 8 uimsbf section_number 8 uimsbf protocol_version 8 uimsbf 4:2:0 4:2:0 system_time 32 uimsbf last_section_number 8 uimsbf dcc_vc_count 8 uimsbf Low 352x288 352x288 protocol_version 8 uimsbf if(adaption_field_control==’10’ II adaptation_field_control==’11’){ 33 bits for(i=0;i<dcc_vc_count;i++){ 4 Mb/s 4 Mb/s GPS_UTC_offset 8 uimsbf rating_region_name_length 8 uimsbf adaptation_field() 33 bits 42 bits 22 bits 8 bits 7 bits 16 bits daylight_savings 16 uimsbf reserved 4 ‘1111’ I,P,B I,P,B rating_region_name_text() var dcc_from_major_channel_number 10 uimsbf } for(l=0;l<N;i++){ dimensions_defined 8 uimsbf DSM Previous dcc_from_minor_channel_number 10 uimsbf Level descriptor() for(i=0;i<dimensions_defined;i++){ if(adaptation_field_control==’01’ II adaptation_field_control==’11’){ PTS ES Additional PES 4 ‘1111’ Simple Main 4:2:2 SNR Spatial High ESCR Trick PES } dimension_name_length 8 uimsbf reserved for (i=0;i<N;i++){ DTS Rate Copy Info Extension 10 uimsbf Profile Mode CRC CRC_32 32 rpchof dimension_name_text() var dcc_to_major_channel_number Profile dcc_to_minor_channel_number 10 uimsbf data_byte 8 } reserved 3 ‘111’ } graduated_scale 1 bslbf dcc_start_time 32 uimsbf values_defined 4 uimsbf dcc_end_time 32 uimsbf } for (j=0;j<values_defined;j++){ dcc_selection_count 8 uimsbf abbrev_rating_value_length 8 uimsbf for (j=0;j<dcc_selection_count;j++){ abbrev_rating_value_text() var dcc_selection_type 8 uimsbf Optional rating_value_length 8 uimsbf 5 Flags dcc_selection_id 64 uimsbf Fields rating_value_text() var reserved 6 ‘111111’ } dcc_descriptors_length 10 uimsbf DCC Selection Code Table (DCCSCT) TRANSPORT STREAM SYNTAX DIAGRAM } for (k=0;k<N;k++){ reserved 6 188 bytes ‘111111’ descriptor() Syntax Bits Format descriptors_length 10 uimsbf Transport 128 bits 8 bits 8 bits 16 bits 7 bits for (i=0;i<N;i++){ } dcc_selection_code_table_section(){ Header Payload Header Payload Header Payload descriptor() table_id 8 0xD4 Packet PES Packet PES PES } } Program Packet P-STD section_syntax_indicator 1 ‘1’ Private Header Extension Extension CRC_32 32 rpchof reserved 6 ‘111111’ Stream Sequence Counter Buffer private_indicator 1 ‘1’ Data Field Field Length Field Data } descriptors_length 10 uimsbf reserved 2 ‘11’ for (j=0;j<N;j++){ section_length 12 uimsbf 8 bits 1 bit 1 bit 1 bit 13 bits 2 bits 2 bits 4 bits descriptor() table_id_extension 16 uimsbf } reserved 2 ‘11’ Transport Payload Transport Adaptation } Sync Transport Continuity Adaptation version_number 5 uimsbf Error Unit Start Scrambling Field reserved 6 ‘111111’ current_next_indicator 1 ‘1’ Byte Priority PID Counter Field Indicator Indicator Control Control additional_descriptors_length 10 uimsbf section_number 8 0x00 for (i=0;i<N;i++){ last_section_number 8 0x00 Program Association Section (PAT) additional_descriptor() protocol_version 8 uimsbf } selection_categories_defined 8 uimsbf Syntax No. of bits CRC_32 32 for(i=0;i<selection_categories_defined;i++){ } selection_category_code 8 uimsbf 8 bits 1 bit 1 bit 1 bit 5 bits program_association_section(){ selection_category_name_length 8 uimsbf table_id 8 Adaptation Random Elementary selection_category_name_text() var Discontinuity Optional Stuffing section_syntax_indicator 1 Field Access Stream Priority 5 Flags reserved 6 ‘111111’ Indicator Fields Bytes ‘0’ 1 MPEG-2 Length Indicator Indicator descriptors_length 10 uimsbf reserved 2 (Defined) base_PID STT for (j=0;j<N;j++){ section_length 12 PID=0x0000 RRT descriptors() transport_stream_id 16 } Abbreviations reserved 2 } version_number 5 reserved 6 ‘111111’ ATSC Advanced Television Systems Committee 42 bits 42 bits 8 bits 8 bits 8 bits 3 bits current_next_indicator 1 DCCT additional_descriptors_length 10 uimsbf BMP Basic Multilingual Plane for (i-0;i<N;i++){ Transport Transport Adaptation section_number 8 bslbf bit serial, left bit first Splice Optional additional_descriptors() PCR OPCR Private Data Private Field Extension 3 Flags last_section_number 8 PAT Countdown Fields ATSC } CAT Conditional Access Table Length Data Length for (j=0;j<N;j++) { CRC_32 32 rpchof CRC Cyclic Redundancy Check program_number 16 } reserved 3 Table Hierarchy for the Program CVCT Cable Virtual Channel Table if (program_number==‘0’){ DCCSCT Master Guide Table (MGT) DTV Digital Television 1 bit 15 bits 2 bits 22 bits 4 bits 33 bits network_PID 13 and System Information Protocol EIT Event Information Table } PID=0x0001 Syntax Bits Format EPG Electronic Program Guide Itw_valid Itw Piecewise Splice else { (PSIP) DTS_next_au master_guide_table_section(){ Flag Offset Rate type program_map_PID 13 table_id 8 0xC7 EMM Entitlement Management Message } section_syntax_indicator 1 ‘1’ Table Timing Intervals ETM Extended Text Message } private_indicator 1 ‘1’ ETT Extended Text Table CRC_32 32 MGT reserved 2 ‘11’ Table PID Max } CAT section_length 12 uimsbf Type Interval GPS Global Positioning System table_id_extension 16 0x0000 PAT 0x0 100 ms MGT Master Guide Table reserved 2 ‘11’ PID-N PID-M PID-L PID-K CAT 0x1 100 ms MPAA Motion Picture Association of America version_number 5 uimsbf PROGRAM ASSOCIATION SECTION DIAGRAM current_next_indicator 1 ‘1’ TSDT 0x2 100 ms MPEG Moving Picture Experts Group 1 2 2 32 Conditional Access Section (CAT) VCT MGT 0x1FFB 150 ms 8 bits 1 bit bit bits 12 bits 16 bits bits 5 bits 1 bit 8 bits 8 bits bits EIT-3 EIT-2 EIT-1 EIT-0