Professional Documents
Culture Documents
&
reference/réference TN-01-13082008-ATV-EDV
issue/édition 1
revision/révision 0
date of issue/date 13/08/2008
d’édition
status/état
Document type/type de Technical Note
document
Distribution/distribution
a
45938626.doc
s ISS ESA ATV DOCKING MPEG-2 ENCODER
issue 1 revision 0 - 13/08/20
TN-01-13082008-ATV-EDV
page ii of iv
A P P R O V A L
approved by dat
approuvé by e
dat
e
C H A N G E L O G
C H A N G E R E C O R D
Issue: 1 Revision: 0
T A B L E O F C O N T E N T S
1 INTRODUCTION....................................................................................................1
2 TECHNICAL SPECIFICATION..............................................................................1
2.1 Ethernet IEEE 802.3 Frame encapsulation for MPEG-2 TS over IP.................................................3
2.2 IP addressing and UDP Ports.............................................................................................................3
2.3 MPEG-2 Transport Stream................................................................................................................3
2.4 The UDP Packet.................................................................................................................................5
2.5 The IP Packet.....................................................................................................................................6
2.6 The Ethernet Frame............................................................................................................................8
1 INTRODUCTION
This document has been prepared to summarize the specification of the ISS ESA ATV docking
video digital end-to-end implementation and become part of the Section four of CCSDS White
Book , chapter 2 : “Examples of current spaceflight video systems” .
It covers the definition of the Encoding scheme and of the MPEG-2 Transport Stream produced by
the ESA Encoder mounted in the ISS Service Module and the transmission over an IP network.
These specifications are also focusing on the definition of Ethernet Frame structure which has to be
prepared by the Ethernet interface of the encoder.
The Specifications are given in form of example. All the mentioned standards such as IEEE
802.3, IPv4, MPEG-2 TS are widely documented and detailed information are easly accessible on
the Web.
2 TECHNICAL SPECIFICATION
The current baseline for the implementation of the transport of the MPEG-2 Video from the ISS to
the ground terminals (PC and TV displays) is depicted in the figure 2.1
802.1q
Trunk Routed
Smart data
Encoder Edge Router OCA C&DH
Switch Router
IP into
I-1 I-3 I-5 CCSDS
encapsulation
VLAN I-2 I-4
(switched data)
TDRSS
Laptop Laptop
CCSDS
into IP
de-encapsulation
I-7 I-6
Network MCC-H WSC
MPEG-2 IP/ASI switch FEP and
Concentrator
Converter
Demodulation
Demux and Mux
VLAN Routed
(switched data) data
ATM
I-8
List of specs/parameters
1. Source signal: Analog signal from the the ATV Docking camera
distributed inside the ISS by the Video Switch (КОММУТАТОР). The Video Signal
contains telemetry and ancillary information overlay produced by the SIMBOL equipment
2. The signal is: composite 625 lines/ 50 Hz PAL
3. The encoder produces: MPEG-2 encoded Video
4. Frame Resolution: 720 x 576 pixel 24bit colour
5. Frame per second: 25
6. YUV colour space: 4:2:0
7. Colour conversion: RGB-24bit to YUV Conversion ITU-601 R
{R [0...255], G [0...255], B [0...255]} => {Y [16...235], U [16...240], V [16...240],
black: Y=16, white: Y = 235
8. Bit rate: constant bit rate
9. GOP: IPPPIPPPI without motion compensation (no B-frames
and motion vectors).
10. Transportation: MPEG-2 TS - MPEG-2 Encoded Video is transmitted at the
constant transport stream bitrate of 4000000 Bits/second.
11. Transport stream ID Yes - Transport stream consist of a single component
(video) with fixed PID.
12. Program stream ID None- No PSI (Program Specific Information) tables need be
used.
13. MPPEG-TS Packet size: Standard - Each TS packet is 188 byte long
14. 1 TS packet is written into a 1 UDP packet of 196 bytes
15. 7 UDP packets are encapsulated into a 1 IP packet
16. 1 IP packet is encapsulated into a 1 Ethernet frame
17. MTU size: 1500 Bytes
18. Every Ethernet Frame is delivers to the network by the Ethernet Interface of the Encoder
19. A single IP multicast addresses is used to group all possible destination at layer-3
20. A single Ethernet address is used to group all possible destination at layer-2
21. Every single Ethernet frame which has been send from the ESA Encoder the Russian
Smart Switch router has to be delivered to:
o Client(s) located in the Russian Segment of the ISS, belonging to the same VLAN
o OCA interface located in the American Segment of the ISS
22. The Smart Switch routes IP Multicast packets from ESA Encoder with static entry of
routing table, without processing of APR (or other) protocols.
23. The protocol between the Smart Switch Router and the Edge Router is the IEEE 802.1q
trunk protocol.
24. The Edge Router routes IP Multicast packets to the OCA interface.
25. In MCC_H the IP Multicast packet is received and delivered to the ESA MPEG-2 /IP to
ASI interface hosted inside the ESA Relay.
26. The ESA Ground Segment supports the distribution of the MPEG-2 Video to the end
systems in ATC-CC and MCC-M
s ISS ESA ATV DOCKING MPEG-2 ENCODER
issue 1 revision 0 - 13/08/20
TN-01-13082008-ATV-EDV
page 3 of 9
27. For the end-to-end compatibility, the ESA Encoder MPEG-2 Transport Stream shall be
compatible with the Client Software and the MPEG-2 /IP to ASI interface.
Each MPEG-2 TS packet carries 184 B of payload data prefixed by a 4 B (32 bit) header. MPEG-2
Transport stream:
The packet is 188 bytes = 4 header , 184 payload. Overhead 2%
1
The ATV reference video used for the MPEG-2 parameter identification has been send via IP multicast using the
VideoLAN software over a LAN in UDP Multicast. The server and the client were connected via 2 switches with a
802.1q trunk between the 2 switches. The Mpeg-2 file and the network traffic hexdump of the transmission of the file
are available on request to F. Sintoni fabio.sintoni@esa.int .
s ISS ESA ATV DOCKING MPEG-2 ENCODER
issue 1 revision 0 - 13/08/20
TN-01-13082008-ATV-EDV
page 4 of 9
Any transport stream packet has a single fixed PID with the value 0x85(as example, can be any).
s ISS ESA ATV DOCKING MPEG-2 ENCODER
issue 1 revision 0 - 13/08/20
TN-01-13082008-ATV-EDV
page 5 of 9
In my example:
source port = 1051 (example) (2 bytes) 04.1b
destination port = 1234 (2 bytes) 04.d2
packet length =196 bytes (2 bytes) 00.c4
checksum (2 bytes)cf.61 example, must be calculated!
Our complete UDP packet of 196 bytes must be encapsulated into an IP v4 packet.
To build and IP packet we need to build the IP header and after the header put the UDP packet. Because of the length
of the IP header of 20 bytes the total length of the new packet is 20 + 196 = 216 bytes.
Now we have a complete IP packet, ready to be delivered to a lower layer: we have decided to use Ethernet.
s ISS ESA ATV DOCKING MPEG-2 ENCODER
issue 1 revision 0 - 13/08/20
TN-01-13082008-ATV-EDV
page 8 of 9
We concentrate our attention to the header, because every Ethernet controller should prepare the preamble by itself
when are set to a certain speed 910/100/1000 Mbits) It is a sequence of 101010... to synch the transmitter and the
receiver. Also the checksum should be calculated by the Ethernet controller.
s ISS ESA ATV DOCKING MPEG-2 ENCODER
issue 1 revision 0 - 13/08/20
TN-01-13082008-ATV-EDV
page 9 of 9
MAC Address destination (6 bytes)01.00.5E.7F.64.01 ( Multicast MAC address which corresponds to 239.255.100.1
MAC Address source (6 bytes)00.11.85.86.8F.57 ( example)
Protocol Type = IP (2 bytes)08.00
In our case the header is always the same in every frame : the encoder doesn't chance its MAC address and since we
use a Multicast MAC address as destination, it also doesn't change and we will use IP which is "coded" as 0x08.00
according to the IEEE 802.3
In addition to that the Ethernet standard 802.3 includes 8 bytes for preamble at the beginning of the Ethernet packet
and 4 bytes for the FCS ( Frame Check Sequence ) at the end.
Preamble: an alternating 1,0 pattern provides a 5MHz clock for 10Mbits ( or 50Mhz for 100 Mbits or 500 for 1 Gbits)
at the start of each packet, which allows the receiving devices to lock the incoming bit stream. The preamble uses
either an SFD or synch field to indicate to the receiving station that the data portion of the message will follow.
Start Frame Delimiter (SFD)/Synch SFD is 1,0,1,0,1,0, etc., and the synch field is all 1s. The preamble and SFD/synch
field are 64 bits long.
Frame Check Sequence (FCS) is a field at the end of the frame that is used to store the cyclic redundancy check
(CRC).
Typically the Preamble and the FCS are prepared by the Ethernet controller "low level routines" and are typically
stripped off when you display data dumps with a LAN Sniffer.