1、 Copyright 2013 by THE SOCIETY OF MOTION PICTURE AND TELEVISION ENGINEERS 3 Barker Avenue, White Plains, NY 10601 (914) 761-1100 Approved October 11, 2013 Table of Contents Page Foreword . 2 Intellectual Property 2 Introduction 2 1 Scope . 3 2 Conformance Notation . 3 3 Normative References . 3 4 Ac
2、ronyms (Normative) . 4 5 Definitions 4 6 Creation of Streams for Seamless Reconstruction 5 7 Reception of Streams for Seamless Reconstruction . 6 Annex A Stream Synchronization (Informative) 8 Annex B Stream Differentiation (Informative) . 9 Annex C Management and Monitoring (Informative) 10 Annex D
3、 Relationship of Class SBR and Class HBR to Classes Defined in Y.1541 (Informative) 11 Annex E Use Cases (Informative) 12 Annex F Bibliography (Informative) 13 Page 1 of 13 pages SMPTE ST 2022-7:2013 SMPTE STANDARD Seamless Protection Switching of SMPTE ST 2022 IP Datagrams SMPTE ST 2022-7:2013 Page
4、 2 of 13 pages Foreword SMPTE (the Society of Motion Picture and Television Engineers) is an internationally-recognized standards developing organization. Headquartered and incorporated in the United States of America, SMPTE has members in over 80 countries on six continents. SMPTEs Engineering Docu
5、ments, including Standards, Recommended Practices, and Engineering Guidelines, are prepared by SMPTEs Technology Committees. Participation in these Committees is open to all with a bona fide interest in their work. SMPTE cooperates closely with other standards-developing organizations, including ISO
6、, IEC and ITU. SMPTE Engineering Documents are drafted in accordance with the rules given in Part XIII of its Operations Manual. SMPTE ST 2022-7 was prepared by Technology Committee 32NF on Network/Facilities Architecture. Intellectual Property At the time of publication no notice had been received
7、by SMPTE claiming patent rights essential to the implementation of this Engineering Document. However, attention is drawn to the possibility that some of the elements of this document may be the subject of patent rights. SMPTE shall not be held responsible for identifying any or all such patent righ
8、ts. Introduction This section is entirely informative and does not form an integral part of this Engineering Document. This document is a standard for seamless reconstruction of a stream of SMPTE ST 2022 RTP datagrams based on the transmission of two streams of identical content over potentially div
9、erse paths. The primary reason for this standard is to facilitate interoperability between SMPTE ST 2022 equipment used to transport signals intended for such reconstruction. Cost effective error free transport of video is a constant goal. As costs of redundant network paths decrease sending redunda
10、nt streams becomes a more viable option. This standard defines requirements on redundant streams such that a receiver could switch between them datagram by datagram without impact to the content or the stream. SMPTE ST 2022-7:2013 Page 3 of 13 pages 1 Scope This standard defines requirements for red
11、undant streams of SMPTE 2022 packets to allow for creation of a single reconstructed output stream through seamless protection switching at the RTP datagram level. 2 Conformance Notation Normative text is text that describes elements of the design that are indispensable or contains the conformance l
12、anguage keywords: “shall“, “should“, or “may“. Informative text is text that is potentially helpful to the user, but not indispensable, and can be removed, changed, or added editorially without affecting interoperability. Informative text does not contain any conformance keywords. All text in this d
13、ocument is, by default, normative, except: the Introduction, any section explicitly labeled as “Informative“ or individual paragraphs that start with “Note: The keywords “shall“ and “shall not“ indicate requirements strictly to be followed in order to conform to the document and from which no deviat
14、ion is permitted. The keywords, “should“ and “should not“ indicate that, among several possibilities, one is recommended as particularly suitable, without mentioning or excluding others; or that a certain course of action is preferred but not necessarily required; or that (in the negative form) a ce
15、rtain possibility or course of action is deprecated but not prohibited. The keywords “may“ and “need not“ indicate courses of action permissible within the limits of the document. The keyword reserved indicates a provision that is not defined at this time, shall not be used, and may be defined in th
16、e future. The keyword forbidden indicates reserved and in addition indicates that the provision will never be defined in the future. A conformant implementation according to this document is one that includes all mandatory provisions (“shall“) and, if implemented, all recommended provisions (“should
17、“) as described. A conformant implementation need not implement optional provisions (“may“) and need not implement them as described. Unless otherwise specified, the order of precedence of the types of normative information in this document shall be as follows: Normative prose shall be the authorita
18、tive definition; Tables shall be next; followed by formal languages; then figures; and then any other language forms. 3 Normative References Note: All references in this document to other SMPTE documents use the current numbering style (e.g. SMPTE ST 2022-1:2007) although, during a transitional phas
19、e, the document as published (printed or PDF) may bear an older designation (such as SMPTE 2022-1-2007). Documents with the same root number (e.g. 274) and publication year (e.g. 2008) are functionally identical. The following standards contain provisions which, through reference in this text, const
20、itute provisions of this standard. At the time of publication, the editions indicated were valid. All standards are subject to revision, and parties to agreements based on this standard are encouraged to investigate the possibility of applying the most recent edition of the standards indicated below
21、. IETF RFC 3550 RTP: A Transport Protocol for Real Time Applications SMPTE ST 2022-1:2007, Forward Error Correction for Real-Time Video/Audio Transport Over IP Networks SMPTE ST 2022-2:2007, Unidirectional Transport of Constant Bit Rate MPEG-2 Transport Streams on IP Networks SMPTE ST 2022-7:2013 Pa
22、ge 4 of 13 pages SMPTE ST 2022-3:2010, Unidirectional Transport of Variable Bit Rate MPEG-2 Transport Streams on IP Networks SMPTE ST 2022-4:2011, Unidirectional Transport of Non-Piecewise Constant Variable Bit Rate MPEG-2 Streams on IP Networks SMPTE ST 2022-5:2013, Forward Error Correction for Hig
23、h Bit Rate Media Transport over IP Networks (HBRMT) SMPTE ST 2022-6:2012, Transport of High Bit Rate Media Signals over IP Networks (HBRMT) 4 Acronyms ASI Asynchronous Serial Interface DWDM Dense Wave Division Multiplexing FEC Forward Error Correction HBR High Bit Rate MAC Media Access Control MPLS
24、Multiprotocol Label Switching QOS Quality of Service RTP Real Time Protocol (see IETF RFC 3550) SBR Slower Bit Rate VSID Video Source ID VPN Virtual Private Network 5 Definitions 5.1 Class HBR A Class HBR (High Bit Rate) stream is a flow of datagrams in accordance with SMPTE ST 2022-5 or SMPTE ST 20
25、22-6 with a payload bit rate greater than or equal to 270 Mbps. 5.2 Class SBR A Class SBR (Slower Bit Rate) stream is a flow of datagrams in accordance with SMPTE ST 2022-1, SMPTE ST 2022-2, SMPTE ST 2022-3, or SMPTE ST 2022-4 with a payload bit rate of less than 270 Mbps. 5.3 Datagram Copies A set
26、of redundant RTP datagrams, perhaps transmitted to a different IP destination or port, but having identical contents in the RTP header and RTP payload. SMPTE ST 2022-7:2013 Page 5 of 13 pages 5.4 High-Skew Link A High-Skew Link is a link between two facilities (an inter-facility link) with potential
27、ly large jitter and very large network transit delay variation due to alternative routes. The combination of switching-induced jitter and differential path delay in such a link can be greater than 50ms. 5.5 Input Stream Each input stream is a stream of datagrams in accordance with SMPTE ST 2022-1, S
28、MPTE ST 2022-2, SMPTE ST 2022-3, SMPTE ST 2022-4, SMPTE ST 2022-5 or SMPTE ST 2022-6. These datagrams may represent essence or FEC. 5.6 Low-Skew Link A Low-Skew link is typically a link within a facility (an intra-facility link), characterized by a modest number of router/switch hops and a small amo
29、unt of network transit delay due to actual distance traveled. The combination of switching-induced jitter and differential path delay in such a link is by design less than 10 ms. 5.7 Moderate-Skew Link A Moderate-Skew Link is often a Short-Haul Link between two facilities within a region or a small
30、country, characterized by a moderate number of router/switch hops regardless of path length. The combination of switching-induced jitter and differential path delay in such a link is by design less than 50 ms. 5.8 Output Stream The output stream is the reconstructed datagram stream that results from
31、 processing the multiple copies of the input stream. This output stream may occur at an intermediate stage within a device or system. 5.9 RTP Datagram An RTP packet as defined in RFC 3550 and further constrained in the relevant SMPTE ST 2022 series documents. 5.10 Seamless Reconstruction Successful
32、creation of a reconstructed output stream based on receipt of two (potentially network impaired) input streams meeting the requirements specified in this standard. The RTP header and payload of the reconstructed stream are identical to the input stream(s). 6 Creation of Streams for Seamless Reconstr
33、uction The transmitter shall transmit at least two streams, each containing copies of each SMPTE 2022 RTP datagram. The RTP header and the RTP payload shall be identical for each datagram copy. The seamless reconstruction method described herein makes no assumptions about the Ethernet or IP headers
34、of the source streams. For Class HBR streams, as specified in SMPTE ST 2022-6 the RTP timestamp shall be required. Furthermore, the VSID field as defined in SMPTE ST 2022-6 is part of the RTP payload, and shall be identical across the datagram copies. For Class SBR streams, the RTP timestamp require
35、ment is as stated in the relevant SMPTE 2022 standard. SMPTE ST 2022-7:2013 Page 6 of 13 pages 7 Reception of Streams for Seamless Reconstruction P1 is the instantaneous latency from transmission to reception of datagrams on path number 1. P2 is the instantaneous latency from transmission to recepti
36、on of datagrams on path number 2. P1 and P2 are inclusive of any network jitter. PT is the latency from transmission to the final reconstructed output. It is also the latest time that a packet could arrive at the receiver to be part of the reconstructed output. EA is the earliest time that a packet
37、could arrive at the receiver to ensure seamless reconstruction. MD is the maximum differential and is the difference of PT and EA. MD = (PT-EA) PD is the instantaneous path differential, and is always equal to the absolute value of (P1 P2). PD = |P1-P2| The play out time PT is established by the rec
38、eiver at startup. After startup P1 and P2 may change due to changes in network routing and latency, but only to the extent that PD remains within the bounds specified below. A compliant receiver for Classes A, B, or C shall support Seamless Reconstruction from streams that maintain a PD value of les
39、s than or equal to those specified in the table below for its classification. Receiver Classification Use Case (example) SBR Streams HBR Streams Class A: Low-Skew Intra-Facility Links PD = 10ms PD = 10ms Class B: Moderate-Skew Short-Haul Links PD = 50ms PD = 50ms Class C: High-Skew Long-Haul or spec
40、ial circumstance Links PD = 450ms PD = 150ms SMPTE ST 2022-7:2013 Page 7 of 13 pages As long as both paths P1 and P2 latencies are greater than EA and less than PT then seamless reconstruction is able to recover packet losses in either stream and create a successful output stream. 0 EA P1 PT AND 0 E
41、A P2 PT When only one of P1 or P2 fall within the range greater than EA but less than PT then successful reconstruction is possible but only if there is no packet loss on the stream which is arriving within the range. If neither P1 nor P2 fall within the range greater than EA but less than PT then s
42、uccessful reconstruction of the payload is not possible. SMPTE ST 2022-7:2013 Page 8 of 13 pages Annex A Stream Synchronization (Informative) By the method envisioned herein, the RTP sequence numbers can be used to correlate the two packet streams. Since the sequence numbers roll over relatively fre
43、quently in Class HBR streams, in high bandwidth applications the RTP timestamps can be used in addition to the sequence numbers to ensure proper matching of the incoming streams, when they are present. In the case of a 1080p/60Hz video stream, the HD-SDI bit-rate is 2.970 Gbits/sec. Each packet conv
44、eys 1376 octets (or 11008 bits) of the signal, generating 270 packets (approximately) each millisecond. In the case of a class C receiver and an HBR stream, when the PD value is zero at startup, the receiver must plan to accommodate future path delay excursions of up to 150ms in either direction on
45、either stream; establishment of a 300ms window (PT = P1 + 150ms, EA=PT-300ms) fulfills this requirement. During this 300ms window for class HBR streams, there would be approximately 81,000 packets in the window in the case of 1080p60Hz HD-SDI. There are only 16 bits used to convey the RTP sequence n
46、umber in SMPTE ST 2022-6, rolling over every 65,536 packets. Therefore it is impossible to tell by sequence number alone the relative values of P1 and P2 while maintaining the buffers implied for a class C receiver. The RTP header timestamp values in SMPTE ST 2022-6 are a required field. They are sp
47、ecified in terms of a 27MHz free-running clock, and 32 bits are used, leading to an RTP timestamp roll-over period of 40,722.6 seconds (232/27M). In the perfectly smooth case, there are about 100 ticks of the 27MHz RTP timestamp clock for every 1080p60Hz SMPTE ST 2022-6 datagram. The two streams, by
48、 normative provision of this document, have identical RTP timestamps. These timestamps by themselves can indicate the relative skew (time) between P1 and P2 quite accurately, and the timestamp values themselves could be used to match up the packets between the two streams. Alternatively, the monoton
49、ically increasing sequence numbers can be augmented with a function of the difference between the timestamps to correctly correlate the arriving packets. In the general case, the receiver does not know the absolute values of P1 and P2. It only knows the difference between them. Individual implementations can take different approaches to establishing a startup delay PT, however, barring any a-priori knowledge of the network, a class C receiver, to account for worse case, could start up as follows: For Clas