Network Device Interface

Network Device Interface (NDI) is a royalty-free software standard developed by NewTek to enable video-compatible products to communicate, deliver, and receive high-definition video over a computer network in a high-quality, low-latency manner that is frame-accurate and suitable for switching in a live production environment.

NDI
Stable release
4.5
WebsiteOfficial Site

Technology

NDI is designed to run over gigabit Ethernet,[1] with the NDI codec[2] expected to deliver 1080i HD video at VBR data rates typically around 100 Mbit/s.[3]

By Default, NDI uses the mDNS (Bonjour / Zeroconf) discovery mechanism to advertise sources on a local area network, such that NDI receiving devices can automatically discover and offer those sources, although 2 other discovery modes (NDI Access, NDI Discovery Server) allow for operations across subnets, and without mDNS. Sources are created using an arbitrarily selected TCP port from a range of ports on the NDI send host. When a source is requested, a TCP connection is established on the appropriate port with the NDI receiver connecting to the NDI sender. NDI 3.x has options to use UDP multicast or unicast with forward error correction (FEC) instead of TCP, and can load balance streams across multiple network interface controllers NICs without using link aggregation. NDI 4.0 introduces multi-TCP connections.

NDI carries video, multichannel uncompressed audio and metadata. Metadata messages can be sent in both directions allowing the sender and receiver to message one another over the connection with arbitrary metadata in XML form.[4] This directional metadata system allows for functionality such as active tally information fed back to sources to understand that they are on-air (program / preview). NDI also allows senders to determine the number of connected receivers, so they can skip unnecessary processing and network bandwidth utilisation when there are no NDI receiver clients connected. NDI Receivers can opt to connect to various combinations of streams, to support things like audio-only or metadata-only connections where video is not required.

The NDI software development kit (SDK) is available for Windows, Linux and macOS,[5] and has also been ported to iOS, tvOS,[6] Android, Raspberry Pi, and FPGA.[7][8] The SDK is available via a royalty-free proprietary license.[9]

Comparison of common IP video protocols

Other IP video protocols emerging for use in professional video production (rather than IP video used for distribution to end users) include SMPTE 2022, SMPTE 2110, ASPEN (largely superseded by SMPTE 2110) and Sony NMI. There are clear differences in the technology used by these protocols.

Protocol
Parameter
NDI NDI HX NDI HX2 SMPTE 2022-6[10] SMPTE 2110 ASPEN[11] NMI[12]
Transport TCP/UDP/Multi-TCP[upper-alpha 1] UDP (TCP) TCP/UDP/Multi-TCP[upper-alpha 1] UDP UDP UDP UDP
Image format Size / Aspect Independent Size / Aspect Independent Size / Aspect Independent SDI Formats only Size / Aspect Independent
Tally Yes Yes Yes No No[upper-alpha 2] No
Bidirectional device control Yes Yes Yes No No No
Integrated alpha channel Yes No No No Yes
Compression NDI Codec (SHQ 2/7)[13] NDI|HX (H.264) H.264/H.265 NONE[upper-alpha 3] SMPTE 2110-22 spec.(JPEG XS, but not limited to) NONE NONE / LLVC Codec
Connection Socket, Unicast / Multicast and FEC Unicast / Multicast Socket, Unicast / Multicast and FEC Multicast Multicast Multicast Multicast / ?
HD (1080i) data rate ~100 Mbit/s 8–20 Mbit/s ~1–50 Mbit/s >1.5 Gbit/s >1.1 Gbit/s >1.5 Gbit/s >1.5 Gbit/s / up to 14:1[14]
Essence packing Discrete audio, metadata and video frame packets, single connection Delivered as discrete audio, metadata and video frame packets, single connection Discrete audio, metadata and video frame packets, single connection Packetized raw SDI bitstream Discrete audio, video and Metadata on separate connections with different protocols Multiple MPEG transport streams Frame aligned 2022-6 / LLVC
Infrastructure Gigabit / wireless / load balanced multi NIC / 10 GBit Gigabit / wireless Gigabit / wireless 10 GBit minimum 10 GBit minimum 10 GBit minimum Gigabit / 10 GBit
Service Discovery Bonjour (mDNS), NDI Access (manual), server (NDI4) automatic via HX driver Bonjour (mDNS), NDI Access (manual), server (NDI4) NMOS[15] AMWA IS-04 JSON-RPC Plug & play (NDCP)
API Royalty-free license, SDK libraries for Win (x86), Mac, Linux (x86 & ARM), iOS,[16] FPGA reference Hardware encode, decode with NDI libraries Send with NDI embedded SDK, receive with NDI libraries SMPTE standard SMPTE standard SMPTE RDD
  1. NDI v1.0 was pure TCP. Later versions included options for UDP Unicast and Multicast as appropriate and FEC. NDI 4.0 adds 'Multi-TCP' transport. NDI
  2. Tally for SMPTE 2110 relies on external data sources, using proposed AMWA IS 07.
  3. The TICO RDD35 codec can be used to compress UHD by 4:1 so an encoded stream can be carried along a SMPTE 2022-6 channel at the same uncompressed bandwidth as HD.[upper-alpha 4] SMPTE 2110 with TR-03 also offers the potential to use TICO RDD35 and JPEG XS.[upper-alpha 5] This requires a proprietary encoder and decoder which are generally implemented as silicon on each end.
  4. "TICO Alliance - Technology". www.tico-alliance.org.
  5. "SMPTE RDD 35 - TICO Lightweight Codec Used in IP Networked or in SDI Infrastructures - Engineering360". standards.globalspec.com.

History

NDI was publicly revealed by NewTek on 8 September 2015 and was demonstrated at the IBC broadcast exhibition in Amsterdam that week.[17] The first device shown using NDI was the NewTek TriCaster which delivered an NDI feed from each of its SDI inputs as well as four output feeds from its vision mixer. The TriCaster could also receive up to two NDI sources from other devices (increased to 12 in later releases and up to 44 in NewTek's IP Series ).[18]

NDI devices from other vendors followed during 2016. The first third-party products came from Gallery Sienna and included an NDI signal generator for macOS, a desktop scan converter for macOS and the NDICam camera app for iPhone which delivers a native NDI stream from iOS devices.[19][20]

NewTek had previously created a predecessor of NDI called AirSend to get video from external devices into their TriCaster products. AirSend had been implemented by a number of character generator (CG) vendors including VizRT and Chyron. In order to quickly bring these products into the NDI space, NewTek created a new driver to replace the existing AirSend driver, which could be installed on these existing AirSend compatible devices, instantly converting them to NDI compatible devices with no change required by the original CG vendors.[21]

Another early adopter of NDI was VMix, a Windows-based vision mixer which offers NDI inputs and outputs.[22] A significant increase in the NDI installed base came when live streaming application XSplit added support for NDI.[23]

Later in 2016, NewTek delivered NDI 2.0 which added features including support for service discovery across subnets. In April, Magewell announced seamless integration of their PCIe and USB capture devices, allowing access to any video source on the network. This solution created one of the most efficient broadcast video production scenarios possible with unlimited source choice and ubiquitous operating system compatibility.

On 12 July 2017 NewTek announced NDI 3.0 which added multicast, NDI|HX and other new features, introducing support for specific PTZ Cameras with H.264 chipsets and updated firmware.[24]

In April 2018 at the NAB Show, Microsoft announced they had added NDI support to Skype for Content Creators.[25] Other announcements at NAB2018 included NDI 3.5, and new NDI support from vendors including EVS[26] and Avid.[27]

Version 3.4 of FFmpeg added input and output support for NDI when optionally compiled by the end-user to a non-open-source NewTek library.[28] However, NewTek was later found to be redistributing pre-compiled binaries of FFmpeg that incorporated their non-opensource library in violation of the GNU General Public License, causing the FFmpeg project to remove NDI support from their codebase in March 2019.[29][30]

In April 2019, ahead of NAB, NewTek announced the addition of Multi-TCP mode to NDI 4.0 which is reported to leverage hardware TCP acceleration present in silicon, assisting lower-spec processors with NDI transport.[31] NDI 4.0 shipped in September 2019 to coincide with the IBC exhibition.

VersionReleasedFeatures/Enhancements
1.0April 2016Initial Release
2.0Sept 2016Cross subnet support via Access Manager, ARM encoding support, iOS SDK
3.0July 2017NDI-HX support, Option for multicast transport with FEC, PTZ support.
3.5June 2018Defaults to Unicast UDP transport method with FEC.
3.6July 2018Packet level bonding improvements.
3.7Sept 2018Discovery improvements.
3.8Nov 2018Performance Enhancements, NDI Embedded SDK for FPGA development.
4.0Sept 2019Multi-TCP Transport mode, HDR 16-bit support, Native synchronized recording, Discovery Server, NDI HX2[31]
4.1Nov 2019Performance improvements.
4.5March 2020New Multi-TCP implementation, Lower latency with NDI-HX, Predictable port numbers for firewall rules, Improvements to codec quality.
4.6Nov 2020Can support NDI-HX2 encoding on PC's using NVENC. [32]

Use in Wi-Fi and wide area networks

NDI was designed to work on good quality gigabit local area networks using TCP and Bonjour (mDNS) technologies. In order to work across subnets that don't pass mDNS, NDI supports a mechanism known as NDI Access which allows manual entry of the IP address of machines on other subnets which may be running NDI sources.

Some NDI adopters have run the protocol across fibre connections up to 15 km, although NDI's use of the TCP protocol makes it less suitable for long-distance, high-latency connections due to factors such as bandwidth-delay product and TCP packet loss recovery.[33] The NDI 3.5 libraries now default to a UDP transfer method with forward error correction. This removes the latency requirements that are inherent with TCP connections. NDI|HX uses a lower data rate making it easier to use in bandwidth-limited connections.[24]

To provide an extension of NDI to wide area networks, tools have been developed including the Sienna Cloud for NDI[34] protocol which uses node gateways in each LAN to bridge NDI sources across continents.[35] In July 2017, United States Specialty Sports Association (USSSA) successfully made the first truly wide area network NDI sports coverage using NDI with 5 cameras backhauled across the public internet from a stadium 200 miles away into an NDI based production gallery.[36]

NDI is also used within cloud-based production systems,[37] with its compressed video and unicast transmissions making suitable for cloud-based services like AWS and Azure. in 2019 Sienna demonstrated a complete cloud-based production workflow using NDI, including remote contribution and final publishing via content delivery networks like YouTube Live.

CPU architecture support

NDI, when running on x86 architectures, requires CPUs that include the SSSE3 instruction set. Most Intel CPU designs starting in 2006 have this instruction set, AMD added support starting in 2011. While not a requirement, NDI will take advantage of Advanced Vector Extensions (AVX) and AVX2 instructions sets for additional performance.

NDI can run on 32-bit or 64-bit CPU architectures, although performance is increased when using 64-bit.

NDI is available with encode support for ARM-based systems, but generally not video decode. Exceptions to this are Sienna NDI Monitor[38] for iOS which does provide NDI decoding on ARM, and Sienna NDI Monitor TV for AppleTV 4k.[39]

NDI|HX devices are typically transmit-only and based on proprietary platforms with hardware H.264 encoder chips. Examples of NDI|HX devices are PTZ cameras, and the NDI Connect Spark SDI to NDI|HX converter box. The NDI stream itself is formed at the stream consumption end via the platform-specific NDI|HX driver, presenting the same uncompressed data to the application software consuming the NDI source regardless of original HX source hardware and compression. NDI|HX2 is a purer implementation of H.264 in NDI packets and will allow software and hardware systems to embed H.264 essence into NDI streams using the NDI Embedded SDK.

NewTek, Birddog and Magewell have all developed FPGA encoding implementations of NDI. In April 2018 NewTek announced the Connect Spark Pro which will be their first FPGA based NDI product. Birddog and Magewell also offer FPGA-based decode of full NDI streams (not NDI|HX). Newtek offers a licensable FPGA reference design for third-party NDI encoders as part of their NDI Embedded SDK.

With NDI 4.0 NewTek announced the addition of a Multi-TCP transport mode. This takes advantage of the hardware TCP acceleration in silicon which helps lower-spec processors handle heavy network load, in contrast to UDP which does not benefit from the hardware acceleration.[40]

Metadata and extensions to the NDI specification

NDI supports arbitrary metadata as XML blocks, embedded in video and audio frames, as well as stand-alone metadata frames. The content of these metadata blocks form 3 families.

  1. Internal metadata used by NDI invisibly. These messages are used for connectivity and some other fundamental tasks like Tally. They are typically invisible to NDI clients.
  2. Defined public metadata. These messages include things like the NDI PTZ Protocol. They are defined by NewTek as part of the NDI SDK.
  3. Third-party metadata schemes. These messages are implemented in the same way as defined NDI metadata but the content is based on third-party designs.

There are 8 published examples of third-party NDI metadata schemes:

  • In August 2018, Gallery Sienna published a proposal[41] for the carriage of C708 Closed Caption metadata via NDI. It involves the capture of the appropriate line of SDI VANC data, and text-based encoding to be compatible with XML. This is carried as video-frame-based attached metadata. It can be passed to an equivalently compatible decoder for reconversion to SDI along with intact C708 captions. Gallery Sienna implemented this standard into their Sienna NDI SourceMulti product,[42] and the proposal is also being adopted by other NDI product developers. A companion proposal for a universal caption format[43] for NDI has since been published, providing a human readable, rather than binary container for closed captions in NDI Metadata streams.
  • In February 2019, Gallery Sienna published a proposal for the carriage of MIDI messages via NDI.[44] This uses real-time stand-alone NDI Metadata frames to carry any sort of MIDI message including MIDI Machine Control, and controller data. NDI MIDI is used within Sienna's NDI processing engine[45] as a generic control protocol between modules and the outside world.
  • In April 2019, Gallery Sienna published a proposal for the use of the industry standard iXML Metadata protocol within NDI.[46] iXML allows for unambiguous description of stream contents, and linkage between streams.
  • In April 2019, Gallery Sienna published a proposal for the carriage of PTPv2 timing and GMID within NDI.[47] Sienna also implemented this as a Precision Time Protocol converter which captures this data and feeds it as NDI into multiple NDI systems wanting to share this information, such as software to interact with AES67 devices.
  • In September 2019, Gallery Sienna published a proposal for the definition and carriage of sub-region stream definition within NDI.[48] This can be used for definition of video wall subcuts of a stream, or for applications like AI analysis of video where a system is following a face in a stream, or following a football - with a pan scan subcut of the stream. This is also used to deliver sub-stream definitions for social media publishing with non-standard aspect ratios - for example, portrait or square video for phones.
  • In November 2019, Gallery Sienna published a proposal for the definition of the HDR Metadata description profile for HDR NDI Streams.[49]
  • In December 2019, Gallery Sienna published a proposal for the communication of GPI State via NDI connections.[50] This mechanism is implemented in Sienna's GPI Interface module in the NDI Processing Engine[51] which interfaces with the JLCooper Ebox[52] GPI interface, supporting 24 GPI Inputs and Outputs.
  • In December 2019, Gallery Sienna published a proposal for the communication of DMX data via NDI connections.[53] This mechanism is implemented in Sienna's ArtNet-DMX Interface module in the NDI Processing Engine[54] which interfaces with the LTECH Artnet-DMX-1 DMX interface, supporting 512 DMX Channels in or out.

References

  1. Coalition, ProVideo (8 September 2015). "NewTek announces NDI, an open protocol for IP production workflow by Allan Tépper".
  2. "NDI Encoding/Decoding". NewTek Knowledge Base.
  3. "NDI Network Bandwidth". NewTek Knowledge Base.
  4. "NewTek Announces NDI – Open Protocol for IP Production Workflow - Technical Standards". Content-technology.com.
  5. "NewTek NDI SDK". Newtek.com.
  6. http://www.sienna-tv.com/ndi/ndimontv.html
  7. "Home". Sienna-tv.com.
  8. "bird-dog". Bird-dog.
  9. "NDI® license agreement". new.tk. Retrieved 3 June 2020.
  10. "Numerical Index of Smpte Standards, recommended Practices, Engineering Guidelines and Registered Disclosure Documents" (PDF). Smpte.org. Retrieved 2017-05-23.
  11. "ASPEN Community - Home". aspen-community.com.
  12. "Sony launches Networked Media Interface in collaboration with leading broadcast industry organisations : Press : United Kingdom : Sony Professional". Sony.co.uk.
  13. "SpeedHQ". wiki.multimedia.cx. Retrieved 2020-07-31.
  14. "NMI Core - Nextera Video Inc". Nexteravideo.com.
  15. "What are the Networked Media Open Specifications?". Nmos.tv.
  16. "NewTek NDI SDK". NewTek.
  17. "NewTek announces NDI, an open protocol for IP production workflow by Allan Tépper". Provideocoalition.com. 8 September 2015.
  18. Kerschbaumer, Ken (September 19, 2016). "NewTek's IP Series Video-Production System Targets New Markets". Sports Video Group.
  19. "First 3rd Party NDI Tools Available !". forums.newtek.com.
  20. "NDICam". Sienna-tv.com.
  21. "NDI AirSend Updater-NewTek". pages.newtek.com.
  22. Bridge, The Broadcast. "StudioCoast vMix Adopts NewTek NDI Standard - The Broadcast Bridge - Connecting IT to Broadcast". Thebroadcastbridge.com.
  23. "XSplit Broadcaster Adopts NewTek NDI for IP Production Workflow". Marketwired.com. 2016-04-12. Retrieved 2017-05-23.
  24. "NewTek NDI® Version 3 Offers the Only End-to-End IP Video Solution for Product Manufacturers". NewTek.
  25. "Make collaboration the heart of your live streams, podcasts, and videos with Skype for Content Creators". Skype Blogs. 6 April 2018.
  26. Director, Ken Kerschbaumer, Editorial. "EVS X-One Production System Takes Software-Based Tech to New Level". Sports Video Group.
  27. "Avid Media Composer Integrates NewTek NDI®".
  28. Baker, Chuck (December 6, 2017). "FFmpeg 3.4 Adds NDI I/O". NewTek.
  29. "NewTek distributing non-free FFmpeg build". FFmpeg bug trac. December 3, 2018.
  30. "Remove libndi_newtek". FFmpeg github repo. March 9, 2019.
  31. Kurz, Phil (April 3, 2019). "NewTek's Andrew Cross Discusses Acquisition, NAB Show Plans".
  32. https://www.nvidia.com/en-us/geforce/news/nvidia-broadcast-engine-integrations/
  33. Gatarski, Richard (9 May 2016). "Documentary: Stockholm Kista cross production using NDI over fiber". Weststreamu.se.
  34. "NDIRelay". Sienna-tv.com.
  35. "Sienna Takes NDI into the Cloud - NewTek Studio". blog.newtek.com.
  36. "ndicloudblog". www.sienna-tv.com.
  37. http://www.sienna-tv.com/ndi/infrastructure.html
  38. "Ndimonios".
  39. http://www.sienna-tv.com/ndi/ndimontv.html
  40. "NewTek's Andrew Cross Discusses Acquisition, NAB Show Plans".
  41. "Ndiclosedcaptions".
  42. "NDI Source Multi".
  43. http://www.sienna-tv.com/ndi/universalcaptions.html
  44. "Midioverndi".
  45. "NDIProcessor".
  46. "Ndiixml".
  47. "Ndiptpsync".
  48. "NDI Regions".
  49. "NDI HDR Description".
  50. "GPI over NDI".
  51. http://www.sienna-tv.com/ndi/ndiprocessor.html
  52. https://jlcooper.com/_php/product.php?prod=ebox
  53. "DMX over NDI".
  54. http://www.sienna-tv.com/ndi/ndiprocessor.html
This article is issued from Wikipedia. The text is licensed under Creative Commons - Attribution - Sharealike. Additional terms may apply for the media files.