Advanced Video Processing and Networking
6.1 Introduction to Transport Streams
6.1.1 IP Encapsulation of MPEG Transport Streams
An MPEG Transport Stream has the following format.
1 to 7 MPEG Transport Stream Packets
RTP Header (optional)
UDP (User Datagram Protocol)
IP (Internet Protocol)
Ethernet (IEEE 802)
Figure 6.1 Mapping of MPEG-2 TS Packets
Between one and seven MPEG transport stream packets are carried in a UDP
packet.
The UDP packet may optionally also contain an Real Time Protocol (RTP) header,
which adds additional information such as a sequence number and a timestamp,
which can help in the detection of packet loss across a network. The RTP header is
12 bytes long.
The UDP header is 8 bytes long.
The network layer protocol is IPV4, which adds a 20 byte header to every packet.
The physical link layer is then Ethernet at either 100 Mbps or 1000 Mbps.
6.1.2 Mapping of MPEG-2 TS Packets
The mapping of MPEG-2 TS packets into IP data frames is done according to the
protocol stack shown in the following illustration.