SDI Over IP: - Seamless Signal Switching in SMPTE 2022-6 and A Novel Multicast Routing Concept
SDI Over IP: - Seamless Signal Switching in SMPTE 2022-6 and A Novel Multicast Routing Concept
Matthias Laabs
IRT
SMPTE 2022 is a group of standards that specifies the wrappings of professional video into IP.
There is always an even part for the actual wrapping accompanied by an odd part defining forward
error correction (FEC).
SMPTE 2022-2 and SMPTE 2022-4 define the wrapping of the MPEG-2 Transport Stream with con-
stant and variable bitrate, respectively. SMPTE 2022-6, still a draft at the time of writing, will define
the wrapping for SDI (and possibly also compressed and wrapped media formats). It is based on the
Real-time Transport Protocol (RTP) and adds another protocol layer for a high-precision clock and
extra metadata: the High-Bitrate Media Transport Protocol (HBRMT). The layer model of an IP
packet containing SDI according to SMPTE 2022-6 is depicted in Table 1. Each packet contains
1376 Bytes of SDI payload with the last packet of a frame being zero-padded to have each frame
packet-aligned.
The layers (from outermost to innermost) are: Ethernet, IP, UDP, RTP, HBRMT and finally the SDI
payload. Table 2 summarizes the resulting figures for the three common SDI speeds.
Deploying a new technology for the aging SD standard is economically not feasible and the high
bitrates for HD and 3G SDI demand 10GigE equipment, which has not yet entered the consumer
market (and price point) ... but prices for it have dropped to levels that are roughly comparable to
dedicated SDI hardware. Looking at the historical development of Ethernet in Table 3, a shift to
10GigE in consumer commodities would be due, but the limited speeds of consumer broadband and
Fast Ethernet 802.3u 100 Mbit/s 1995 Late 1990s till early
2000s
100 Gigabit Ethernet 802.3ba 40, 100 Gbit/s 2010 Probably never
Abbreviations
10GigE 10 Gigabit Ethernet PAL Phase Alternation Line
100GigE 100 Gigabit Ethernet PoC Proof of Concept
DMA Direct Memory Access PTP Precision Time Protocol
FEC Forward Error Correction RAM Random-Access Memory
HANC Horizontal ANCillary data RFC Request For Comments (IETF standard)
HBRMT High Bit-Rate Media Transport RTP Real-time Transport Protocol
HD SDI High-Definition SDI SDI Serial Digital Interface
ICMP Internet Control Message Protocol SFP Small Form-factor Pluggable transceiver
IEEE Institute of Electrical and Electronics SMPTE Society of Motion Picture and Television
Engineers Engineers
http://www.ieee.org SNMP Simple Network Management Protocol
IETF Internet Engineering Task Force SOAP Originally stood for Simple Object Access
http://www.ietf.org/ Protocol, now doesn’t stand for anything –
IGMP Internet Group Management Protocol see http://www.w3.org/TR/soap12-part1/
IP Internet Protocol #intro
MAC Media Access Control TCP Transmission Control Protocol
NTSC National Television System Committee UDP User Datagram Protocol
(USA) VANC Vertical ANCillary data
Building SDI-over-IP-aware devices could happen at different levels. Preferably the logic would be
deeply integrated into the devices firmware, but programmable switches could be used to add this
new technology to existing devices. Alternatively, in a totally decentralized manner, the logic might
be shifted into the Small form-factor pluggable transceiver (SFP), this would allow for upgrading the
existing infrastructure, especially if there would also be SFPs that connect to electrical or optical SDI
and do the SMPTE 2022-6 conversion as well.
Proof of Concept
To demonstrate the general
soundness and applicability of
the idea, a software-based Proof
of Concept (PoC) with two Dek-
tec SD-SDI capture and playout
interface cards was realized at
the Institut für Rundfunktechnik
(IRT) in Munich. The PoC con-
sists of three different software
modules: an SDI-to-IP converter
and an IP-to-SDI converter, both
implementing SMPTE 2022-6 on
the IP side and using the Dektec
API on the SDI interface side, Figure 3
Proof of Concept
and thirdly an A-B-switch for
SDI-in-IP.
The PoC, as depicted in Fig. 3, consists of two physical SDI input ports, to each of which an SDI-to-
IP converter is attached. The A-B-switch receives the multicast streams generated from the said
converters and its output is sent to an IP-to-SDI converter attached to a physical SDI output port.
The setup was successfully tested using a Phabrix SX for long-term robustness and correct switch-
over behaviour over several thousand switching operations. A more advanced setup is planned
using newer HD-SDI capture/playout cards.
The computational power needed for the PC-based PoC is very low; mostly the data is moved
around using DMA transfers and only a few header bytes per packet need to be read and modified.
With a static ring buffer, no recurring memory allocations are required, and therefore only the system
load induced by the network stack and the Dektec driver is noticeable. A hardware implementation
within a switch should be possible without upgrading the computational power, as every packet can
be inspected and modified in several layers by professional switches. The memory required for buff-
ering at least one frame per stream (~4 MB for HD) may require RAM upgrades.