DVB Tutorial
DVB Tutorial
Introduction
Introduction to
to Digital
Digital Television
Television
❑ Digital TV
! ITU-R BT.601-5 (SDTV-Standard Definition TV)
! ITU-R BT.709-3 (HDTV-High Definition TV)
! DVB Content Plane
! Broadcasting Network Interface
! Satellite Interface
Y image ⇒
+ + = any color
R G B
(Y+Cr+Cb) image ⇒
fc fa
5 Instituto de Telecomunicações - Pólo de Aveiro 21-1-2000
Digital
Digital TV
TV -- ITU-R
ITU-R BT.601-5
BT.601-5
4:4:4 , 4:2:2 and 4:2:0 (not defined in BT.601) Formats
Conv.Punc.(1/2, TS
QPSK 2/3, 3/4,5/6,7/8)
TUNER De-inter. I=12
1 GHz Demod.
RS(204,188,T=8)
! sync_byte (8 bits) ⇒ The sync_byte is a fixed 8 bit field whose value is '0100
0111' (0x47) and is used to identify the start of a TS packet. Sync_byte
emulation in the choice of values for other regularly occurring fields, such as
PID, should be avoided.
! transport_error_indicator (1 bit) ⇒ When set to ‘1’, it indicates a bit error in
this TS packet.
! payload_unit_start_indicator (1 bit) ⇒ This flag indicates that the first byte
of this TS payload is the start of an unit access (e. g. a PES packet or a PSI
section as explained later).
! transport_priority (1bit) ⇒ when set to 1, it indicates that this TS packet is of
greater priority than other packets having the same PID which do not have this
bit set to ‘1’.
! PID (13 bits) ⇒ Packet IDentifier is one of the most important field in the TS
header. It identifies TS packets carrying data from the same elementary stream
(e.g. video stream from ‘Sport TV’ programme). Some PID values have special
meaning as described in the following table,
value description
0x0000 Program Association Table
0x0001 Conditional Access Table
0x0002-0x000F reserved
0x00010 Available for PES streams,
… program_map tables, network tables,
0x1FFE or for other purposes.
0x1FFF Null packet
value description
00 not scrambled
01 user defined
10 user defined
11 user defined
1 15 2 22 4 33
stream_id Description
1011 1101 Private_stream_1
Packet PES optional
start stream 1011 1111 Private_stream_2
packet PES
code id
length Header 110x xxxx MPEG-2 or MPEG-1 audio
prefix stream number x xxxx
24 8 16 1110 xxxx MPEG-2 or MPEG-1 video
stream number xxxx
1111 0000 ECM_stream
1011 1100
1111 0001 EMM_stream
1111 0010 DSM-CC_stream
1111 1111
The number of bytes in this PES packet
following the last byte of this field
8 1 1 2 12 16 2 5 1 8 8 32
program Network
network program program
number 0 PID(NIT) ... number i map ...
PID PID_i
16 3 13 16 3 13
8 1 1 2 12 16 2 5 1 8 8 3 13 4
program N N
info loop loop CRC_32
length descriptors
32
8 3 13 4 12
! PCR_PID (13 bit) ⇒ It indicates the PID of the Transport Stream packets
which shall contain the PCR fields valid for the program specified by
program_number.
! program_info_length (12 bit) ⇒ The first two bits shall be '00'. It specifies the
number of bytes of the descriptors immediately following the
program_info_length field.
0-1 Reserved
2 video_stream_descriptor
3 audio_stream_descriptor
…. ….
9 video_window_descriptor
10 CA_descriptor
…. ….
19-63 Reserved
64-255 User_Private
PAT sections
PMT sections
PIDs - Audio,
Prog 4 PID M Video, ECM, PCR
Prog 4
CA-
CAT sections system 1 EMM-1 reference
CA-
system 2 EMM-2 reference
8 1 1 2 12 18 5 1 8 8 32
! ETR 289 specifies a Section for the transport of conditional Access (CA)
information such as ECMs and EMMs. The structure of this CA information is
specific to each CA System Specifier (see a list of CA_system_id in ETR 162).
The header of CA_message section() may be used for filtering. CA_message
section() is actually a Private section as defined in MPEG-2.
CA_section
table_id '0' N CA_data_bytes
length
8 1 3 12
Decryption
CMT-ECM CW
(CW encrypted)
Service_key
Decryption
CMT-EMM Service_key
(Service_key encrypted and
Conditional Access)
EMM
User_key
(Conditional Access)
Smart
PCMCIA Card
EN 50221 Standard
Card
! PAT, CAT and PMT of PSI give information only for the
multiplex in which they are contained (the actual TS). ETS 300
468 provides additional tables with appropriate descriptors for
identification of services, information on services and events
carried by different multiplexers and even on other networks.
The syntax and semantics of these additional tables and the NIT
are defined in this ETS.
! All tables are split into sections before insertion in TS packets.
Table_id distinguishes tables with the same PID (e.g. BAT and SDT)