Decklink Duo 2 + ATEM Studio HD Config

Hi there,

I have been playing around with a Decklink Duo 2 Card and have been able to hook it to my ATEM TVS HD with two pairs of key/fill (used the config file found on the foums here). On the ATEM if have used the downstream keys 1 & 2.

Is it possible, however, to set the card up with one SDI pair key/fill (for lower thirds captions), one SDI output for video/stills playback (and overlay the lower third captions on these if needed as well as on live video) and use the last remaining SDI as an input for recording & streaming in OBS (or something else?). This last SDI would be connected to one of the SDI outputs on the ATEM (if that gives the full program out).

What would I change in the Declink setup app and also in the server config file.

Any help appreciated.

Cheers,
Chumby

In the BMD setup you would set BNC 3 to be an output, without the fill & key engaged and BNC 4 beeing an input. In Caspar‘s config you simply set the second channels keyer mode to default instead of external.

Thanks for the quick reply.

I’m away from my setup so I cannot test at the moment, so am I right in saying my BMD Setup should be:

Decklink Duo 1 - SDI 1 & SDI 2 (key/fill) - SDI Camera input 7&8 ATEM. Set as DSK 1 in ATEM Control
Decklink Duo 2 - None
Decklink Duo 3 - SDI 3 (Video/Stills Playout) - SDI Camera Input 6 ATEM Camera. Set as DSK 2 in ATEM Control
Decklink Duo 4 - SDI 4 (input/record) - SDI Camera Output 8 - Connect OBS to record from Decklink 4

Does that seem right?
How do I modify the code below? Do I still need to specify 2 devices?

Any help appreciated.
Cheers,
Chumby

<?xml version="1.0" encoding="utf-8"?>
<configuration>
  <paths>
    <media-path>E:\media</media-path>
    <log-path>E:\log/</log-path>
    <data-path>E:\data/</data-path>
    <template-path>E:\template</template-path>
    <thumbnail-path>E:\thumbnail/</thumbnail-path>
    <font-path>C:/Windows/fonts/</font-path>
  </paths>
  <lock-clear-phrase>secret</lock-clear-phrase>
  
  <mixer>
      <straight-alpha>false</straight-alpha>
  </mixer>

  <thumbnails>
         <generate-thumbnails>false</generate-thumbnails>
  </thumbnails>

<accelerator>auto</accelerator>

  <channels>
      <channel>
        <video-mode>1080i5000</video-mode>
        <straight-alpha-output>true</straight-alpha-output>
        <channel-layout>8ch</channel-layout>
          <consumers>
            <decklink>
              <device>1</device>
                <embedded-audio>true</embedded-audio>
                <channel-layout>8ch</channel-layout>
                <latency>low</latency>
                <keyer>external</keyer>
                <key-only>false</key-only>
                <buffer-depth>3</buffer-depth>
                <custom-allocator>true</custom-allocator>
            </decklink>
          </consumers>
      </channel>

      <channel>
        <video-mode>1080i5000</video-mode>
        <straight-alpha-output>true</straight-alpha-output>
        <channel-layout>8ch</channel-layout>
          <consumers>
            <decklink>
              <device>2</device>
                <embedded-audio>true</embedded-audio>
                <channel-layout>8ch</channel-layout>
                <latency>low</latency>
                <keyer>external</keyer>
                <key-only>false</key-only>
                <buffer-depth>3</buffer-depth>
                <custom-allocator>true</custom-allocator>
            </decklink>
          </consumers>
      </channel>
  </channels>

    <audio>
  	<channel-layouts>
  	  		<channel-layout name="8ch"         type="8ch"         num-channels="8" />
  	</channel-layouts>
    </audio>


  <controllers>
    <tcp>
      <port>5250</port>
      <protocol>AMCP</protocol>
    </tcp>
    <tcp>
      <port>3250</port>
      <protocol>LOG</protocol>
    </tcp>
  </controllers>
</configuration>

Yes, you do need two channels because you are seeking two independently-controlled video outputs.

Maybe this might help:

<channels>
	<channel>
		<video-mode>1080i5000</video-mode>
		<consumers>
			<decklink>
				<device>1</device>
				<embedded-audio>true</embedded-audio>
				<channel-layout>8ch</channel-layout>
				<keyer>external_separate_device</keyer>
				<key-device>2</key-device>
			</decklink>
		</consumers>
	</channel>
	<channel>
		<video-mode>1080i5000</video-mode>
		<consumers>
			<decklink>
				<device>3</device>
				<embedded-audio>true</embedded-audio>
				<channel-layout>8ch</channel-layout>
			</decklink>
		</consumers>
	</channel>
</channels>

This code block would result in the following on the Decklink Duo 2 backplate:

REF
SDI 1 = CH1 Fill
SDI 3 = CH2
SDI 2 = CH1 Key
SDI 4 = Unused (assignable elsewhere)

1 Like

You only change the line <keyer>external</keyer> in the SECOND decklink block to <keyer>default</keyer> like so:

<?xml version="1.0" encoding="utf-8"?>
<configuration>
	<paths>
		<media-path>E:\media</media-path>
		<log-path>E:\log/</log-path>
		<data-path>E:\data/</data-path>
		<template-path>E:\template</template-path>
		<thumbnail-path>E:\thumbnail/</thumbnail-path>
		<font-path>C:/Windows/fonts/</font-path>
	</paths>
	<lock-clear-phrase>secret</lock-clear-phrase>
	<mixer>
		<straight-alpha>false</straight-alpha>
	</mixer>
	<thumbnails>
		<generate-thumbnails>false</generate-thumbnails>
	</thumbnails>
	<accelerator>auto</accelerator>
	<channels>
		<channel>
			<video-mode>1080i5000</video-mode>
			<straight-alpha-output>true</straight-alpha-output>
			<channel-layout>8ch</channel-layout>
			<consumers>
				<decklink>
					<device>1</device>
					<embedded-audio>true</embedded-audio>
					<channel-layout>8ch</channel-layout>
					<latency>low</latency>
					<keyer>external</keyer>
					<key-only>false</key-only>
					<buffer-depth>3</buffer-depth>
					<custom-allocator>true</custom-allocator>
				</decklink>
			</consumers>
		</channel>
		<channel>
			<video-mode>1080i5000</video-mode>
			<straight-alpha-output>true</straight-alpha-output>
			<channel-layout>8ch</channel-layout>
			<consumers>
				<decklink>
					<device>2</device>
					<embedded-audio>true</embedded-audio>
					<channel-layout>8ch</channel-layout>
					<latency>low</latency>
					<keyer>default</keyer>
					<key-only>false</key-only>
					<buffer-depth>3</buffer-depth>
					<custom-allocator>true</custom-allocator>
				</decklink>
			</consumers>
		</channel>
	</channels>
	<audio>
		<channel-layouts>
			<channel-layout name="8ch"         type="8ch"         num-channels="8" />
		</channel-layouts>
	</audio>
	<controllers>
		<tcp>
			<port>5250</port>
			<protocol>AMCP</protocol>
		</tcp>
		<tcp>
			<port>3250</port>
			<protocol>LOG</protocol>
		</tcp>
	</controllers>
</configuration>

That should do the trick.

1 Like

OK, thanks guys - will check that out when back with the gear. Appreciate that.

And can I confirm I use the below as the setting in the BMD Control:

Decklink Duo 1 - SDI 1 & SDI 2 (key/fill) - SDI Camera input 7&8 ATEM. Set as DSK 1 in ATEM Control
Decklink Duo 2 - None
Decklink Duo 3 - SDI 3 (Video/Stills Playout) - SDI Camera Input 6 ATEM Camera. Set as DSK 2 in ATEM Control
Decklink Duo 4 - SDI 4 (input/record) - SDI Camera Output 8 - Connect OBS to record from Decklink 4

Cheers,
Chumby

Yes, yes, that makes sense.