Skip to main content

Decklink input

This input allows you to stream raw UYVY and PCM data over SDI through compatible Black Magic Design hardware.

warning

Currently these are not available in the open source builds. For more information please on how you can access this feature contact us

Every input within MistServer requires a Stream name and Source to understand what these mean exactly we recommend reading up on Stream settings

CategorySupport
Input URLssdi:
Audio FormatPCM
Video FormatUYVY (YUV 4:2:2)
SubtitleNone
MetadataNone
  • Other formats are supported in Passhthrough mode only
  • No DVR (buffer) can be set, at most 1 second of stream data will be kept active within MistServer

When using Decklink with MistServer you will need to install the DeckLink Desktop Video Drivers. Please follow the install instructions from Black Magic Design for your operating system.

tip
  • Make sure the DesktopVideoHelper service is running, or your DeckLink device might not be found at all!
  • The Decklink SDK that has been used to build the version is listed. Your Desktop Video Driver must be an equal or higher number!

Sources can be filled in completely manual

sdi:PORTNUM(/FORMAT)

or after writing sdi: you can select it by clicking the source. The current port state is shown, you can ingest the same port using multiple streams should you wish to do so.

image

The format within SDI will be autodetected and can be used immediately. Format can be enforced, meaning the card will expect the exact matching format. Should there be a mismatch you will not see any usable output. We only recommend enforcing the format if the auto-detection is failing.

Recommendation: use the connector mapping to ungroup ports (each port its own sub-device)

You can use DeckLink support with the ports grouped, however we have noticed that the inputs work far better if they're considered their own port and are not grouped together. Of course this is only relevant if your card has multiple ports capable of being an in or output.

image

This does have the downside that passthrough no longer works as each port is separate

tip
  • Any port that received a label through BlackmagicDesktopVideoSetup will keep this label

Capture SDI from port 1

sdi:1

Capture SDI from port 7, enforce YUV 4:2:2@1080p60 format

sdi:7/YUV 4:2:2@1080p30

Command line - Capture SDI from port 7, enforce YUV 4:2:2@1080p60 and create stream test

MistInDeckLink -s test 'sdi:0/YUV 4:2:2@1080p60'
OptionDescriptionTypeDefaultAPICommandline
channelsAudio channel count.Number 2,8,162channels--channels, -C
depthAudio sample depthNumber 16,3232depth--depth,-D
debugThe debug level at which messages need to be printed.debugInherited from parent processdebug--debug
formatRequested format, like '10-bit YUV-3840x2160@30.0'. Use the 'query' call to list all options. If left out, auto-detection will be enabled to configure the video track.Stringformat--format,-F
inputtimeoutHow long the input should remain loaded without activity.Number (unsigned integer)30inputtimeout--inputtimeout
Memory page timeoutListed due to MistServer defaults, unsupported with DeckLinkNumber (unsigned integer)15pagetimeout--pagetimeout
enumerateList detected supported devices and current status in JSON formatCommandonlyN/AN/A--enumerate,-e
queryReport requested device capabilities in JSON formatCommandonlyN/AN/A--getcapa DEVICE,-q DEVICE
Always onAutomatically starts this stream, regardless of viewers requesting it or not.Booleanfalsealways_onundefined
MistInDeckLink -e

this returns a list of detected ports and their current status

["sdi:0 port_7 (inactive, detected signal Unknown)","sdi:1 port_5 (ingesting 1080p60)","sdi:2 port_3 (ingesting 525i59.94 NTSC)","sdi:3 port_1 (ingesting 1080p30)","sdi:4 DeckLink Quad (5) (inactive, detected signal Unknown)","sdi:5 DeckLink Quad (6) (inactive, detected signal Unknown)","sdi:6 DeckLink Quad (7) (inactive, detected signal Unknown)","sdi:7 DeckLink Quad (8) (inactive, detected signal Unknown)"]

These devices sdi:1 to sdi:7 or even the whole card through sdi can be used to query the supported formats.

MistInDeckLink -q sdi:0

This returns a list of compatible formats. For the best compatibility stick to the UYVY (YUV 4:2:2) formats.