Original PDF Flash format mpeg-2-transport-stream-service-information-(si)-in-dvb-systems  


Mpeg 2 Transport Stream Service Information (si) In Dvb Systems

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