> For the complete documentation index, see [llms.txt](https://docs.dbnetsoft.com/dbnetsoft/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.dbnetsoft.com/dbnetsoft/screenspro/screenspro-native/outputs.md).

# Setting up outputs

Video format, NDI, SDI, a window on a monitor, local audio, transparency and keying.

ScreensPro Native renders its layouts once, at one video format, and sends that picture to any number of outputs at the same time: NDI, SDI, windows on monitors and a sound device. Add outputs with the buttons **+ NDI**, **+ SDI**, **+ Window** and **+ Local audio** in the **Outputs** section of the control window.

Without any output the layouts still show in the control window's program and preview.

{% hint style="info" %}
Adding, removing or changing an output restarts only that output. The other outputs keep running, so you can add a monitor window or rename an NDI source while SDI is on air.
{% endhint %}

Each output has an **on** switch to turn it off without removing it, and ✕ to remove it. The line below an output shows its state (frames, receivers, buffer, late or dropped frames) or why it doesn't run.

## Video format

Open **Settings** and choose the **Video format** first: all outputs use it.

| Formats |                                                                                                                                          |
| ------- | ---------------------------------------------------------------------------------------------------------------------------------------- |
| HD      | 720p50, 720p59.94, 720p60, 1080i50, 1080i59.94, 1080i60, 1080p23.98, 1080p24, 1080p25, 1080p29.97, 1080p30, 1080p50, 1080p59.94, 1080p60 |
| UHD     | 2160p23.98 … 2160p60                                                                                                                     |
| Custom  | any width, height and frame rate (NDI only)                                                                                              |

The layouts are rendered at this size: with a 1080p format a layout is 1920 × 1080.

Other options in the settings:

| Option                       | Meaning                                                                                                                                                           |
| ---------------------------- | ----------------------------------------------------------------------------------------------------------------------------------------------------------------- |
| Transparent background       | Layouts without a background are keyed: NDI and SDI get fill **and** key. Turn it off for an opaque picture                                                       |
| Output-clocked rendering     | Every output frame is rendered exactly once, in step with the output (smoothest motion). Leave it on                                                              |
| Send layout audio to outputs | The sound of the layouts (videos and sounds in them) goes to the outputs. Off = muted. Audio is never played on the PC itself unless you add a local audio output |
| Interlace flicker filter     | Interlaced formats only: softens thin horizontal lines so they don't twitter (Off, Light, Strong)                                                                 |
| Start with the application   | The channel starts when ScreensPro Native starts                                                                                                                  |

When an SDI output is there, the whole channel runs on the clock of the DeckLink card, so it follows the card's genlock reference. NDI-only channels use an exact software clock.

## NDI

**+ NDI** adds an NDI source named "ScreensPro Native" (the next free name if that one is taken).

| Field     | Meaning                                                                                                   |
| --------- | --------------------------------------------------------------------------------------------------------- |
| Name      | The NDI source name as receivers see it (`COMPUTER (Name)`)                                               |
| alpha     | Send fill + key (UYVA). Receivers such as vMix, OBS or a vision mixer get the transparency of the layouts |
| PGM / PVW | Tally: lights up when an NDI receiver has the source on program or preview                                |

NDI needs the NDI runtime on the computer (installed with NDI Tools or the NDI runtime installer).

## SDI (Blackmagic DeckLink)

**+ SDI** adds the next free DeckLink output. Install **Blackmagic Desktop Video** first; without it, or when no card can output, ScreensPro Native says why.

| Field    | Meaning                                                                                                                                                                                                    |
| -------- | ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
| Device   | The DeckLink card or connector. Connectors that cannot output (e.g. configured as input) are listed with the reason                                                                                        |
| Keying   | **Fill only**, **Internal key** (the card keys the layouts over its SDI input) or **External key (fill+key)** (fill on one connector, key on the next) - as the card supports it                           |
| 3G Level | **A** or **B** mapping for 1080p50 / 59.94 / 60. Most monitors and routers expect Level A and show Level B as 1080i. The level is saved in the card's settings, the same setting as in Desktop Video Setup |
| audio    | SDI embedded audio, 48 kHz stereo                                                                                                                                                                          |

{% hint style="warning" %}
A DeckLink connector can only be used by one program at a time. Close other playout software on the same connector, or the output reports it as busy.
{% endhint %}

## Window on a monitor (HDMI / DisplayPort)

**+ Window** adds a borderless window, like ScreensPro Server's render window. With a second monitor connected, the window fills it; with one monitor only it starts as a small window at 100, 100 so the control window stays usable.

| Field       | Meaning                                                                                                       |
| ----------- | ------------------------------------------------------------------------------------------------------------- |
| Monitor     | Fills that monitor with the window, or **Custom position**                                                    |
| x, y        | Left and top edge, in desktop pixels                                                                          |
| w, h        | Width and height; 0 = the size of the video format                                                            |
| on top      | The window stays above all other windows                                                                      |
| hide cursor | No mouse pointer over the window                                                                              |
| movable     | The window can be dragged with the mouse; where you drop it is saved as its new position                      |
| background  | The color behind transparent parts and the bars when the picture is fitted into the window (black by default) |

The window never takes the focus, has no taskbar button and ignores Alt+F4: turn the output off to close it. Position, size and the other settings apply right away.

{% hint style="info" %}
For smooth motion, set the monitor to the frame rate of the video format (50 Hz for 1080p50 / 1080i50). An interlaced format shows each field as a picture of its own.
{% endhint %}

## Local audio

**+ Local audio** plays the audio of the layouts on a sound device of the PC, for monitoring. Choose the device (or "System default") and the volume. There is one local audio output per channel; a removed device is tried again automatically.

## Recording

**+ Recording** adds a record output, which records the picture and the audio to video files, with the transparency if you want it. **Record** starts it and **Stop** ends it; the output shows the time, the size and the file while it runs.

| Setting          |                                                                                                                                     |
| ---------------- | ----------------------------------------------------------------------------------------------------------------------------------- |
| On air / Preview | What is recorded. The preview is recorded without audio                                                                             |
| Codec            | See below                                                                                                                           |
| New file         | Starts a new file every 5 to 60 minutes, with nothing lost in between. If the computer crashes, only the file being written is lost |
| audio            | Records the audio of the layouts (48 kHz)                                                                                           |
| name             | The start of the file names; the date and time follow                                                                               |
| folder           | Where the files go; empty = your Videos folder                                                                                      |

| Codec                          | File | Transparency | Plays in VLC | About 1080p50   |                                                                                                            |
| ------------------------------ | ---- | ------------ | ------------ | --------------- | ---------------------------------------------------------------------------------------------------------- |
| **ProRes 4444 + transparency** | .mov | Yes          | From 3.0.22  | 150 GB per hour | For editing programs                                                                                       |
| **CineForm + transparency**    | .mov | Yes          | No           | 150 GB per hour | An open alternative for editing programs                                                                   |
| **Ut Video + transparency**    | .mov | Yes          | No           | The largest     | Lossless and needs the least CPU; editing programs often need its codec installed                          |
| **ProRes 4444**                | .mov | No           | Yes          | 150 GB per hour | For editing programs                                                                                       |
| **H.264**                      | .mp4 | No           | Yes          | 9 GB per hour   | Small files that play on nearly everything. Uses the graphics card where it can, so it needs the least CPU |
| **MPEG-2**                     | .ts  | No           | Yes          | 18 GB per hour  | Needs no graphics card, and a file cut off by a crash still plays                                          |

Without transparency, the transparent parts of a layout are black. H.264 and MPEG-2 record the audio as AAC, the others uncompressed at 24 bit.

{% hint style="info" %}
If VLC shows nothing for a ProRes file with transparency, the file is fine: update VLC to 3.0.22 or newer, or record **ProRes 4444** without transparency.
{% endhint %}

{% hint style="info" %}
Recording takes CPU, and at 1080p50 ProRes 4444 writes about 40 MB/s or more, so use a fast SSD. On a busy computer the recording gives way to the outputs: the frames it can't keep up with are repeated from the frame before, and the output shows how many. Recording stops by itself when less than 1 GB is free on the disk.
{% endhint %}

Changing the settings of a record output or restarting the channel ends the recording.

## Transparency and keying

* An HTML layout is keyable when it has no background: `html, body { background: transparent; }` (see [HTML layouts](https://docs.dbnetsoft.com/dbnetsoft/screenspro/screenspro-native/html-layouts.md)).
* Keep **Transparent background** on in the settings.
* NDI: turn on **alpha**. SDI: choose **Internal key** or **External key**.
* In the control window's previews, transparency shows as a checkerboard; **⋯ → Transparency (checkerboard)** switches to black.
