DVB_Arch
Upcoming SlideShare
Loading in...5
×
 

DVB_Arch

on

  • 1,020 views

 

Statistics

Views

Total Views
1,020
Views on SlideShare
989
Embed Views
31

Actions

Likes
0
Downloads
7
Comments
0

2 Embeds 31

http://www.linkedin.com 23
https://www.linkedin.com 8

Accessibility

Categories

Upload Details

Uploaded via as Adobe PDF

Usage Rights

© All Rights Reserved

Report content

Flagged as inappropriate Flag as inappropriate
Flag as inappropriate

Select your reason for flagging this presentation as inappropriate.

Cancel
  • Full Name Full Name Comment goes here.
    Are you sure you want to
    Your message goes here
    Processing…
Post Comment
Edit your comment

DVB_Arch DVB_Arch Presentation Transcript

  • MPEG-2 Transport Stream Service Information (SI) in DVB SystemsISO/IEC 13818-1 International Standard ETSI EN 300 468 International Standard Discontinuity Information Section ISO/IEC 13818-1 transport packet P E S PACKET SYNTAX DIAGRAM (DI T) 24 bits 8 bits 16 bits Syntax No. of bits Network Information section (NIT) Service description section (SDT) Bouquet association section (BAT) Packet PES Optional Syntax No. of bitstransport_packet ( ) { Stream Syntax No. of bits Syntax No. of bits Start Code Packet PES PES Packet Data Bytes Syntax No. of bits discontinuity_information_section ( ) { sync_byte 8 Id Prefix Length HEADER network_information_section( ){ service_description_section( ){ bouquet_association_section(){ table_id 8 transport_error_indica tor 1 table_id 8 table_id 8 table_id 8 section_syntax_indicator 1 section_syntax_indicator 1 payload_unit_start_indica tor 1 section_syntax_indicator 1 section_syntax_indicator 1 reserved_future_use 1 reserved_future_use 1 reserved_future_use 1 reserved_future_use 1 transport_priority 1 reserved 2 2 bits 2 bits 1 bit 1 bit 1 bit 1 bit 8 bits 8 bits m * 8 bits reserved 2 reserved 2 reserved 2 PID 13 section_length 12 section_length 12 section_length 12 PES Data Stuffing bouquet_id 16 section_length 12 transport_scrambling_control 2 PES Original PES network_id 16 transport_stream_id 16 Optional reserved 2 transition_flag 1 ada pta tion_field_control 2 ‘10’ Scrambling Alignment Copyright 7 Flags Header Bytes reserved 2 reserved 2 Priority or Copy Fields version_number 5 reserved_future_use 7 continuity_counter 4 Control Indicator Data Length (0xFF) version_number 5 version_number 5 current_next_indicator 1 current_next_indicator 1 current_next_indicator 1 section_number 8 } if(adaptation_field_control==’10’ || adaptation_field_control==’11’ ) { section_number 8 section_number 8 adaptation_field ( ) last_section_number 8 last_section number 8 last_section number 8 reserved_future_use 4 33 bits reserved_future_use 4 original_network_id 16 } 33 bits 42 bits 22 bits 8 bits 7 bits 16 bits bouquet_descriptors_length 12 network_descriptors_length 12 reserved_future_use 8 for(i=0;i<N;i++){ if(adaptation_field_control==’01’ || adaptation_field_control==’11’ ) { for(i=0;i<N;i++){ for(i=0;i<N;i++) { DSM Previous descriptor( ) for ( i=0;i<N;i++) { PTS ESCR ES Trick Additional PES PES descriptor() service_id 16 } Selection Information Section (SI T) da ta_byte 8 DTS Rate Copy Info Extension } reserved_future_use 6 Mode CRC reserved_future_use 4 Syntax No. of bits } reserved_future_use 4 EIT_schedule_flag 1 transport_stream_loop_length 12 transport_stream_loop_length 12 EIT_present_following_flag 1 for(i=0;i<N;i++){ } running_status 3 selection_information_section ( ) { for(i=0;i<N;i++){ transport_stream_id 16} transport_stream_id 16 free_CA_mode 1 original_network_id 16 table_id 8 original_network_id 16 descriptors_loop_length 12 reserved_future_use 4 section_syntax_indicator 1 reserved_future_use 4 for(j=0;j<N;j++){ transport_descriptors_length 12 DVB_reserved_future_use 1 Optional transport_descriptors_length 12 descriptor( ) for(j=0;j<N;j++) { 5ESCR Flags } ISO_reserved 2 Fields for(j=0;j<N;j++){ descriptor ( ) TRANSPORT STREAM SYNTAX DIAGRAM } descriptor() } CRC_32 32 } } section_length DVB_reserved_future_use 12 16 188 bytes } } CRC_32 32 ISO_reserved 2 Transport 128 bits 8 bits 8 bits 16 bits 7 bits CRC_32 32 } version_number 5 Header Header Payload } Packet Payload Payload Header PES Packet PES PES current_next_indicator 1 Program Packet P-STD Photo courtesy of NASA/JPL/Caltech Stream Private Header Extension Extension section_number 8 Sequence Counter Buffer Data Field Field Length Field Data last_section_number 8 8 bits 1 bit 1 bit 1 bit 13 bits 2 bits 2 bits 4 bits DVB_reserved_for_future_use 4 transmission_info_loop_length 12 Sync Transport Payload Transport Adaptation for(i=0;i<N;i++) { Transport Continuity Adaptation Byte Error Unit Start PID Scrambling Field Priority Counter Field descriptor ( ) Indicator Indicator Control Control } Program association section (PAT) Event Information Section (EIT) for(i=0;i<N;i++) { 8 bits 1 bit 1 bit 1 bit 5 bits Syntax program_association_section( ) { No. of bits MPEG-2 DVB DVB Syntax event_information_section( ) { No. of bits service_id DVB_reserved_future_use 16 1 table_id 8 (Defined) (Mandatory) (Optional) table_id 8 running_status 3 Adaptation Random Elementary section_syntax_indicator 1 section_syntax_indicator 1 Discontinuity Optional Stuffing service_loop_length 12 Field Access Stream Priority 5 Flags ‘0’ 1 PID=0x0000 PID=0x0010 PID=0x0010 reserved_future_use 1 Indicator Fields Bytes for(j=0;j<N;j++) { Length Indicator Indicator reserved 2 reserved 2 section_length 12 section_length 12 descriptor ( ) transport_stream_id 16 Network service_id 16 } reserved version_number 2 5 PAT NIT NIT Information reserved version_number 2 5 } CRC_32 32 42 bits 42 bits 8 bits 8 bits 8 bits 3 bits current_next_indicator 1 Actual transport Other transport current_next_indicator 1 stream section_number 8 } Transport Transport Adaptation section_number 8 stream Splice Optional last_section_number 8 last_section_number 8 PCR OPCR Private Data Private Field Extenstion 3 Flags transport_stream_id 16 Countdown Fields Conditional access section (CAT) for (j=0;j< N;j++) { PID=0x0011 Length Data Length original_network_id 16 program_number 16 segment_last_section_number 8 Syntax No. of bits reserved 3 last_table_id 8 ETSI TR 101 290 -Table Timing Intervals CA_section( ) { if (program_number==’0’ ) { Bouquet for(i=0;i<N;i++) { 1 bit 15 bits 2 bits 22 bits 4 bits 33 bits table_id section_syntax_indicator 8 1 } network_PID 13 BAT Association event_id start_time 16 40 Table Type PID Max/Min Itw_valid Itw Piecewise Splice else { duration 24 PAT 0x 00 500 ms DTS_next_au ‘0’ 1 program_map_PID 13 Flag Offset Rate Type reserved 2 running_status 3 TSDT 0x 02 10000 ms [1] } free_CA_mode 1 NIT actual 0x10 10000 / 25 ms section_length 12 } reserved 18 PID=0x0011 PID=0x0011 descriptors_loop_length 12 NIT other 0x10 10000 / 25 ms CRC_32 32 for (j=0;j<N;j++) { version_number 5 } descriptor ( ) SDT actual 0x11 2000 / 25 ms current_next_indicator 1 } SDT other 0x11 10000 / 25 ms PID=0x0001 Service } BAT 0x11 10000 / 25 ms PROGRAM ASSOCIATION SECTION DIAGRAM section_number last_section number 8 8 SDT SDT Description } CRC_32 32 EIT actual present-following EIT other present-following 0x12 0x12 2000 / 25 ms [2] 10000 / 25 ms [2] 32 for (i=0;i< N;i++) { Actual transport Other transport 1 2 2 descriptor( ) TOT 0x14 30000 / 25 ms 8 bits 1 bit bit bits 12 bits 16 bits bits 5 bits 1 bit 8 bits 8 bits bits stream stream TDT 0x14 30000 / 25 ms Table ID Section Syntax ‘0’ Section Transport Stream Version Current Next Section Last Section N CRC } CRC_32 32 CAT PID=0x0012 PID=0x0012 PID=0x0012 PMT ALL 500 ms Length Number Number Loop 32 } [1] ETSI TR 101 211, TSDT interval defined in section 4.1.9 Indicator ID Indicator Number Running status section (RST) [2] ETSI TR 101 211, Additional EIT Actual/Other Schedule intervals EIT EIT EIT Event Syntax No. of bits defined for: -DVB Satellite/Cable in section 4.4.1 16 bits 3 bits 13 bits 16 bits 3 bits 13 bits PID=0x0002 Actual transport stream Actual transport stream Other transport stream Information running_status_section ( ) { -DVB Terrestrial in section 4.4.2 table_id 8 Program present/following schedule present/following section_syntax_indicator 1 Program Program reserved_future_use 1 Number Network ... Number Map ... Transport Stream Description Section schedule reserved 2 PID i PID_i (TSDT) section_length 12 0 Syntax No. of bits TSDT PID=0x0013 for(i=0;i<N;i++){ transport_stream_id 16 Stream Type Assignments original_network_id 16 Value Description TS_Description_section( ) { service_id 16 Abbreviations Running event_id 16 0x00 ITU-T | ISO/IEC reserved CONDITIONAL ACCESS SECTION DIAGRAM table_id section_syntax_indicator 8 1 RST Status reserved_future_use running_status 5 3 0x01 ISO/IEC 11172-2 Video AC-3 Dolby AC-3 audio coding ‘0’ 1 } 0x02 ITU-T Rec. H.262 | ISO/IEC 13818-2 Video or ISO/IEC (ITU-R Recommendation BS1196 [19]) 1 2 32 reserved 2 Transport Stream program map section (PMT) } BAT Bouquet Association Table 8 bits 1 bit bit bits 12 bits 18 bits 5 bits 1 bit 8 bits 8 bits bits 11172-2 constrained parameter video stream section_length 12 Syntax No. of bits BCD Binary Coded Decimal Section Current Last N reserved 18 PID=0x0014 PID=0x0014 0x03 ISO/IEC 11172-3 Audio Syntax Section Version Section CRC TS_program_map_section( ) { PID=0x10 to 0x1FFE bslbf bit string, left bit first Table ID ‘0’ Next Section Loop version_number 5 0x04 ISO/IEC 13818-3 Audio Indicator Length Number Indicator Number Number Descriptors 32 table_id 8 Time offset section (TOT) CA Conditional Access current_next_indicator 1 0x05 ITU-T Rec. H.222.0 | ISO/IEC 13818-1 private_sections section_number 8 section_syntax_indicator 1 Syntax No. of bits CAT Conditional Access Table Time ITU-T Rec. H.222.0 | ISO/IEC 13818-1 PES packets last_section number for (i=0;i< N;i++) { 8 ‘0’ reserved 1 2 PMT TDT TOT Offset time_offset_section ( ) { table_id 8 0x06 containing private data CLUT CRC Color Look-Up Table Cyclic Redundancy Check section_length 12 Time & Date section_syntax_indicator 1 0x07 ISO/IEC 13522 MHEG DAB Digital Audio Broadcasting descriptor( ) program_number 16 } reserved_future_use 1 DIT Discontinuity Information Table reserved 2 0x08 Annex A - DSM CC TS PROGRAM MAP SECTION DIAGRAM CRC_32 32 version_number 5 PID=0x0010 to 0x0014 reserved section_length 2 12 0x09 ITU-T Rec. H.222.1 DVB Digital Video Broadcasting 1 2 2 3 4 } current_next_indicator 1 UTC_time 40 DVD Digital Versatile Disc 8 bits 1 bit bit bits 12 bits 16 bits bits 5 bits 1 bit 8 bits 8 bits bits 13 bits bits 0x0A ISO/IEC 13818-6 type A section_number 8 reserved 4 EBU European Broadcasting Union Section Current Last last_section number 8 descriptors_loop_length 12 0x0B ISO/IEC 13818-6 type B EIT Event Information Table Section Program Version Section PCR reserved 3 for(i=0;i<N;i++){ ISO/IEC 13818-6 type C Table ID Syntax Indicator ‘0’ Length Number Number Next Indicator Number Section Number PID PCR_PID reserved 13 4 ST Stuffing } descriptor ( ) 0x0C 0x0D ISO/IEC 13818-6 type D EMM EPG Entitlement Management Message Electronic ProgramGuide CRC_32 32 ISO/IEC 13818-1 auxiliary ETS European Telecommunication Standard program_info_length 12 } 0x0E for (i=0;i< N;i++) { 0x0F - 0x7F ITU-T Rec. H.222.0 | ISO/IEC 13818-1 reserved FEC Forward Error Correction 12 bits 32 bits descriptor( ) IEC International Electrotechnical Commission Program N } 0x80 - 0xFF User private N IRD Integrated Receiver Decoder Info Loop CRC_32 for (i=0;i<N1;i++) { ISO International Organization for Standardization Loop stream_type 8 Length Descriptors LSB Least Significant Bit Private Section reserved 3 elementary_PID 13 MJD Modified Julian Date 3 4 Syntax No. of bits reserved 4 Allocation of table_id Values MPEG Moving Pictures Expert Group 8 bits bits 13 bits bits 12 bits ES_info_length 12 NIT Network Information Table ES N private_section ( ) { for (j=0;j<N2;j++) { Value Description Stream Elementary NVOD Near Video On Demand Info Loop table_id 8 descriptor( ) PAT Program Association Table Type PID 0x00 program_association_section Length Descriptors section_syntax_indicator 1 } PDC ProgramDelivery Control } 0x01 conditional_access_section private_indicator 1 0x02 program_map_section PID Packet IDentifier CRC_32 32 reserved 2 } 0x03 transport_stream_description_section PMT Program Map Table private_section_length 12 0x04 to 0x3F reserved PSI Program Specific Information if(section_syntax_indicator== ‘0’) { 0x40 network_information_section - actual_network PSTN Public Switched Telephone Network Stuffing section (ST) QAM Quadrature Amplitude Modulation PRIVATE SECTION DIAGRAM for(i=0; i<N; i++) { Time and date section (TDT) 0x41 network_information_section - other_network QPSK Quaternary Phase Shift Keying 2 private_data_byte 8 Syntax No. of bits Syntax No. of bits 0x42 service_description_section - actual_transport_stream 8 bits 1 bit 1 bit bits 12 bits 0x43 to 0x45 reserved for future use rpchof remainder polynomial coefficients, highest order first } time_date_section ( ){ stuffing_section ( ) { PID Allocation for DVB SI Section Private table_id 8 0x46 service_description_section - other_transport_stream RS Reed-Solomon Table Private } table_id 8 Syntax Section section_syntax_indicator 1 Table PID Value 0x47 to 0x49 reserved for future use RST Running Status Table Id Indicator else { section_syntax_indicator 1 reserved_future_use 1 Indicator Length reserved_future_use 1 0x4A bouquet_association_section SeF Scale Factor table_id_extension 16 reserved 2 PAT 0x0000 reserved 2 section_length 12 0x4B to 0x4D reserved for future use SDT Service Description Table reserved 2 section_length 12 for(i=0;i<N;i++){ CAT 0x0001 SI Service Information 0x0002 0x4E event_information_section - actual_transport_stream, present/following version_number 5 UTC_time 40 data_byte 8 TSDT SIT Selection Information Table } } reserved 0x0003 to 0x000F 0x4F event_information_section - other_transport_stream, present/following current_next_indicator 1 } event_information_section - actual_transport_stream, schedule SMI Storage Media Interoperability NIT,ST 0x0010 0x50 to 0x5F N Private Data Bytes section_number 8 event_information_section - other_transport_stream, schedule ST Stuffing Table SDT, BAT, ST 0x0011 0x60 to 0x6F last_section_number 8 TDT Time and Date Table EIT, ST 0x0012 0x70 time_date_section for(i=0;i<private_section_length-9;i++) { TOT Time Offset Table RST, ST 0x0013 0x71 running_status_section private_data_byte 8 TPS Transmission Parameter Signaling 2 TDT, TOT, ST 0x0014 0x72 stuffing_section 16 bits bits 5 bits 1 bit 8 bits 8 bits 32 bits TS Transport Stream } network synchronization 0x0015 0x73 time_offset_section Table Current Last N uimsbf unsigned integer most significant bit first Version Section CRC reserved for future use 0x0016 to 0x001B 0x74 to 0x7D reserved for future use Id Next Section Private CRC_32 32 UTC Universal Time, Co-ordinated Number Number 32 inband signalling 0x001C 0x7E discontinuity_information_section Extension Indicator Number Data } VBI Vertical Blanking Interval measurement 0x001D 0x7F selection_information_section } VPS Video Program System DIT 0x001E 0x80 to 0xFE user defined 0x001F WSS Wide Screen Signaling SIT 0xFF reservedwww.tektronix.com