Art-Net Timecode
Art-Net Timecode is part of the Art-Net protocol, which is used for transmitting DMX lighting control data over IP networks.
It uses UDP packets to transmit
SMPTE Timecode information,
either as a broadcast to all devices on the network,
or as a directed packet to a specific device's IP address.
Need to monitor Art-Net timecodes, or convert to other protocols?
Timecode Toolbox supports Art-Net timecode as both an input and an output.
Key Features / Properties
Art-Net Timecode has some specific properties that are not the same for all SMPTE implementations, but are important to know:
-
1 frame = 1 packet:
Each packet contains a single frame of timecode, so the number of packets received per second will match the current frame-rate.
This makes processing these timecode streams much simpler than MTC (which sends sub-frame messages) or LTC (which requires signal processing).
-
Frame-Rate always known:
The current frame-rate is always included with each packet, which means that the receiving device will always know the correct frame-rate.
This avoids situations such as with LTC where either:
-
The frame rate must be manually specified by the user for both the sending and receiving devices separately
-
Or the receiving device must attempt to guess the frame-rate based on the incoming timecode stream, which requires at least 1 second of timecode to be received before the frame-rate can be determined.
-
-
Supports multiple streams:
Every Art-Net timecode packet will include a Stream ID (a separate concept to DMX universes), which will be a value between
0and255(inclusive). This allows users to send up to256different timecode streams on the same network. ID0is typically called the "master" stream.Warning: Not all Art-Net devices support multiple streams, and so the Stream ID may either be:
-
ignored, which may result in unexpected behavior when a network has multiple streams being transmitted, as the receiving device will not be able to differentiate between them.
-
required to be
0, otherwise it may be ignored by a receiving device.
-
-
Can be broadcast or directed:
Art-Net timecode packets can either be sent as a broadcast to all devices on the network, or as a directed packet to a specific device's IP address.
This allows for flexibility in how timecode is transmitted across a network, and can help reduce network traffic if only one device needs to receive the timecode stream, or if you are dealing with multiple timecode streams on the same network, and are using devices / software that are unable to use Stream IDs correctly.
-
No direction information:
Art-Net timecode packets do not include any information about the direction of the timecode stream, i.e. whether it is playing forward or backward. As such, this needs to be inferred by the receiving device based on the order of incoming frames.
This differs from MTC and LTC, where after receiving each full timecode frame, the direction can be determined because the data is sent using sub-frame messages, and their order depends on the direction of the timecode stream.
Open-Source Implementation
We have published an open-source TypeScript implementation of Art-Net timecode that you can use in your own NodeJS / Electron projects:
- NPM Package:
@arcanewizards/artnet - Source Code on GitHub
This is the same implementation that we use in our own Timecode Toolbox app.