SRT to SDI
This configuration listens for an SRT stream on UDP port 10001, decodes it, and plays
it out of a DeckLink card with the decklink_sdk sink.
The sink plays exactly what the transcoder produces, so the rendition sets the
output format: raw uyvy422 video at 1920×1080 and 48 kHz stereo pcm_s32le
audio. Send a stream at the frame rate of the display mode you want, such as 1080p50.
An interlaced input is deinterlaced to twice its frame rate, so a 1080i50 input
plays out as 1080p50.
For another mode, change the rendition size and send a matching stream. The sink
pre-rolls 400 ms by default. See Playout for the rules
and options, and Prepare the host for the
container setup.
Send a test stream from another machine, paced in real time:
bash
ffmpeg -re -i input-1080p50.mp4 -c:v libx264 -c:a aac -ar 48000 \
-f mpegts 'srt://PACKAGER_HOST:10001?mode=caller'
toml
# Vindral Bridge Packager example
# Receive SRT and play it out over DeckLink SDI.
version = "3"
# SRT listener. The encoder calls this port and pushes the stream.
[[sources]]
id = "srt-in"
source_type = "srt"
[sources.protocol_options.url]
type = "string"
value = "srt://0.0.0.0:10001?mode=listener"
# Sink - SDI output using DeckLink
[[sinks]]
id = "sdi-out"
sink_type = "decklink_sdk"
source_ids = ["decode"]
[sinks.protocol_options.device]
type = "string"
value = "DeckLink Quad (5)"
# Decode to raw video and PCM audio for the DeckLink card.
[[transcoders]]
id = "decode"
source_ids = ["srt-in"]
[[transcoders.tracks]]
id = "video"
type = "video"
[transcoders.tracks.track_selector]
type = "track-kind"
kind = "video"
[[transcoders.tracks.renditions]]
id = "sdi-video"
codec = "rawvideo"
format = "uyvy422"
size = { width = 1920, height = 1080 }
[[transcoders.tracks]]
id = "audio"
type = "audio"
[transcoders.tracks.track_selector]
type = "track-kind"
kind = "audio"
[[transcoders.tracks.renditions]]
id = "sdi-audio"
codec = "pcm_s32le"
sample_rate = 48_000
channels = 2