How to setup caspar config to utilize video input

Help needed to create caspar config setup with two decklink cards duo 2. A video input needed, a cg output (fill & key) and four (fill) video outputs also.

Hi
Heres a config-file for one Duo2 with channel 1 Fill&key, channel2 Fill and one Input

<?xml version="1.0" encoding="utf-8"?>
<configuration>
  <paths>
    <media-path>D:\_media/</media-path>
    <log-path>log/</log-path>
    <data-path>data/</data-path>
    <template-path>D:\_template/</template-path>
    <thumbnail-path>d:\_thumbnails/</thumbnail-path>
    <font-path>D:\_fonts/</font-path>
  </paths>

  <lock-clear-phrase>secret</lock-clear-phrase>

  <channels>
     <channel>
		<video-mode>1080i5000</video-mode>
		<straight-alpha-output>false</straight-alpha-output>
	<consumers>
		 <newtek-ivga>
              		<channel-layout>stereo</channel-layout>
              		<provide-sync>true</provide-sync>
            	</newtek-ivga>
		<decklink>
			<device>2</device>
			<embedded-audio>true</embedded-audio>
			<channel-layout>stereo</channel-layout>
			<latency>normal</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>false</straight-alpha-output>
	<consumers>
 		<newtek-ivga>
              		<channel-layout>stereo</channel-layout>
              		<provide-sync>true</provide-sync>
            	</newtek-ivga>
		<decklink>
			<device>3</device>
			<embedded-audio>true</embedded-audio>
			<channel-layout>stereo</channel-layout>
			<latency>normal</latency>
			<keyer>default</keyer>
			<key-only>false</key-only>
			<buffer-depth>3</buffer-depth>
			<custom-allocator>true</custom-allocator>
		</decklink>
	</consumers>
    </channel>
    </channels>
 
<osc>
  <default-port>6250</default-port>
  <disable-send-to-amcp-clients>false</disable-send-to-amcp-clients>
  <predefined-clients>
    <predefined-client>
      <address>127.0.0.1</address>
      <port>5253</port>
    </predefined-client>
  </predefined-clients>
</osc>
  <controllers>
    <tcp>
      <port>5250</port>
      <protocol>AMCP</protocol>
    </tcp>
  </controllers>
  <amcp>
    <media-server>
      <host>localhost</host>
      <port>8000</port>
    </media-server>
  </amcp>
</configuration>

Lets explain the channel part
between first you have the configuration for what is channel one in CasparCG
in this case we have resolution of 1080i5000 and we output

  • newtek-ivga = NDI (this is a old configuration now it should be NDI)
  • decklink on Duo2s channel 2 (device). In this case it is setup in BMD Desktop Video Setup to use both SDI2&4 which gives syncroniced fill&key
    the second is CasparCG channel 2 and that is has a resolution and the following output
  • newtek-ivga
  • decklink on Duo2s channel 3. In BMD Desktop Video Setup I have separated SDI 1 from SD3. So from SDI3 there is coming a Fill-signal and nothing from SDI1

As you see my configuration stops here and thats because the Input should not be configuratied in CasparCG. Instead when if you use the standard client you go to tools and take “Decklink Input” to the rundown. you define first where you want to output the Decklink (server/channel/layer) and then you come to the input-part. There you choose as device 1 (in this case) and the correct input resolution.

Then the rest of your output-channels is the same as the second channel just change device and split the channels in BMD Desktop Video Setup.

The reason that I use this kind of configuration is because it makes it easier for a non-skilled user to just choose 1 as the Input-device.

Sorry for the long post

br markus

Markus’ config but adjusted for 1 fill + key channel and 4 fill only channels, NDI removed and default media locations.

<?xml version="1.0" encoding="utf-8"?>
<configuration>
  <paths>
    <media-path>media/</media-path>
    <log-path>log/</log-path>
    <data-path>data/</data-path>
    <template-path>template/</template-path>
    <thumbnail-path>thumbnails/</thumbnail-path>
    <font-path>fonts/</font-path>
  </paths>

  <lock-clear-phrase>secret</lock-clear-phrase>

  <channels>
    <!-- CHANNEL 1 -->
    <channel>
      <video-mode>1080i5000</video-mode> <!-- OUTPUT RESOLUTION -->
      <consumers>
        <decklink> <!-- DECKLINK OUT -->
          <device>2</device>
          <embedded-audio>true</embedded-audio>
          <channel-layout>stereo</channel-layout>
          <keyer>external</keyer> <!-- KEY SIGNAL - configure decklink video setup to use BNC 2 + 4 for card 2 -->
        </decklink>
      </consumers>
      </channel>
    <channel>
    <!-- CHANNEL 2 -->
    <channel>
      <video-mode>1080i5000</video-mode> <!-- OUTPUT RESOLUTION -->
      <consumers>
        <decklink> <!-- DECKLINK OUT -->
          <device>3</device>
          <embedded-audio>true</embedded-audio>
          <channel-layout>stereo</channel-layout>
          <keyer>default</keyer>
          <!-- Note: configure decklink video setup to use a single bnc port for fill only channel -->
        </decklink>
      </consumers>
      </channel>
    <channel>
    <!-- CHANNEL 3 -->
    <channel>
      <video-mode>1080i5000</video-mode> <!-- OUTPUT RESOLUTION -->
      <consumers>
        <decklink> <!-- DECKLINK OUT -->
          <device>5</device>
          <embedded-audio>true</embedded-audio>
          <channel-layout>stereo</channel-layout>
          <keyer>default</keyer>
          <!-- Note: configure decklink video setup to use a single bnc port for fill only channel -->
        </decklink>
      </consumers>
      </channel>
    <channel>
    <!-- CHANNEL 4 -->
    <channel>
      <video-mode>1080i5000</video-mode> <!-- OUTPUT RESOLUTION -->
      <consumers>
        <decklink> <!-- DECKLINK OUT -->
          <device>6</device>
          <embedded-audio>true</embedded-audio>
          <channel-layout>stereo</channel-layout>
          <keyer>default</keyer>
          <!-- Note: configure decklink video setup to use a single bnc port for fill only channel -->
        </decklink>
      </consumers>
      </channel>
    <!-- CHANNEL 5 -->
    <channel>
      <video-mode>1080i5000</video-mode> <!-- OUTPUT RESOLUTION -->
      <consumers>
        <decklink> <!-- DECKLINK OUT -->
          <device>7</device>
          <embedded-audio>true</embedded-audio>
          <channel-layout>stereo</channel-layout>
          <keyer>default</keyer>
          <!-- Note: configure decklink video setup to use a single bnc port for fill only channel -->
        </decklink>
      </consumers>
      </channel>
    <channel>
  </channels>

  <osc>
    <default-port>6250</default-port>
    <disable-send-to-amcp-clients>false</disable-send-to-amcp-clients>
    <predefined-clients>
      <predefined-client>
        <address>127.0.0.1</address>
        <port>5253</port>
      </predefined-client>
    </predefined-clients>
  </osc>
  <controllers>
    <tcp>
      <port>5250</port>
      <protocol>AMCP</protocol>
    </tcp>
  </controllers>
  <amcp>
    <media-server>
      <host>localhost</host>
      <port>8000</port>
    </media-server>
  </amcp>
</configuration>