Pushing streams to Decklink SDI¶
Flussonic Media Server not only captures streams but also passes them to a Decklink SDI or HDMI card.
Output to Decklink SDI or Decklink HDMI cards¶
To enable pushing set the parameter push decklink://
:
stream test {
input udp://239.0.0.1:1234;
push decklink://0;
}
Flussonic decodes a stream and passes it to the specified Decklink device or a slot on the card itself (for example, 0). If necessary, you can use deinterlace=true
to eliminate interlacing.
Decklink card modes¶
Usually, a Decklink card supports a limited set of modes. Each mode is a combination of frame size and FPS, encoded in Decklink format. For example, 1080i50 is for 1920x1080 with 50000/1000 FPS. When sending a stream to a Decklink card, you can send it without a format, and Flussonic will automatically select the right one or explicitly set the mode value in the video_format
parameter. For example:
stream test {
input ...;
push decklink://0 video_format=1080i50;
}
The possible Decklink card modes are listed in API documentation
DeckLink duplex mode¶
To specify the duplex mode that allows choosing between the input and output direction of your DeckLink SDI card, use the following global configuration:
decklink 0 {
profile two_half;
}
decklink 1 {
profile two_half;
}
The example above shows the configuration of a half-duplex mode for a DeckLink Duo 2 card.
The DeckLink Quad 2 and the DeckLink Duo 2 cards have a specific physical to logical port mapping (see Fig. 1), which affects the configuration of duplex modes.
Figure 1. Physical to logical port mapping for DeckLink Quad 2 and Duo 2.
Let's configure a DeckLink Quad 2 card so that all the ports are either used as input or output.
In this case, the two_half
mode should be used.
To set the two_half
mode for the DeckLink Quad 2 card, use the configuration below:
decklink 0 {
profile two_half;
}
decklink 1 {
profile two_half;
}
decklink 2 {
profile two_half;
}
decklink 3 {
profile two_half;
}