1 physical server multiple casparcg server programs

Hello,

I tried building a server with 3 casparcg server programs running at the same time. 2 servers for extended desktop display and 1 server for a decklink studio.

I set the TCP port of the servers on the config as 5250, 5251 and 5252

<tcp>
      <port>5250</port>
      <protocol>AMCP</protocol>
    </tcp>

however, when I setup the client, even if I rename the servers as “server 1”, “sever 2” and “server 3”, everything shows as “server 1” on the client.

it shows something like this on the dropdown menu:

server 1
server 1
server 1

instead of:
server 1
server 2
server 3

when I change one of the servers into the computer name instead of IP, i get something like this on the dropdown:

server 1
server 1
server 2

I’m using server 2.07 and client 2.08.

Thanks and best regards,

bobobear

You can set up multiple channels on the server and run just one server. This would make more sense. Have you tried that?

What @silid said is right. For 3 channels multiple serve instances does not make much sense. If you have something like 12 channels per physical server it starts to make sense to have two or tree server instances.

not yet, how does that work?

<channels>
    <channel>
        <video-mode>1080p2997</video-mode>
        <consumers>
          <screen>
            <device>1</device>
<windowed>false</windowed>
          </screen>

          <system-audio />
        </consumers>
    </channel>


    <channel>
        <video-mode>1080p2997</video-mode>
        <consumers>
          <screen>
            <device>2</device>
<windowed>false</windowed>
          </screen>

          <system-audio />
        </consumers>
    </channel>

  </channels>

like this?

yes - you got it

Something like this, yes.

cool! i’ll try it.

Thanks Silid and Didikunz!

This is my current setting.
With this, I have 2 desktop displays working, but the Decklink is not, It just shows a black screen, but the client timecode is running.

Any Ideas on what I did wrong?

Thanks and best regards,

Kit

<?xml version="1.0" encoding="utf-8"?>
<configuration>
  <paths>
    <media-path>X:\CasparCG Media Files\media\</media-path>
    <log-path>log\</log-path>
    <data-path>data\</data-path>
    <template-path>X:\CasparCG Media Files\templates\</template-path>
    <thumbnails-path>thumbnails\</thumbnails-path>
  </paths>
  <channels>
    <channel>
        <video-mode>1080p2997</video-mode>
        <consumers>
          <screen>
            <device>1</device>
<windowed>false</windowed>
<name>server1</name>
          </screen>

          <system-audio />
        </consumers>
    </channel>

    <channel>
        <video-mode>1080p2997</video-mode>
        <consumers>
          <screen>
            <device>2</device>
<windowed>false</windowed>
<name>server1</name>
          </screen>

          <system-audio />
        </consumers>
    </channel>

    <channel>
        <video-mode>1080p2997</video-mode>
        <consumers>
          <decklink>
                <device>3</device>
                <key-device>1</key-device>
                <embedded-audio>false [true|false]</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>
          <system-audio />
        </consumers>
    </channel>



  </channels>
  <controllers>
    <tcp>
        <port>5250</port>
        <protocol>AMCP</protocol>
    </tcp>
  </controllers>
</configuration>

You have the wrong value in embedded-audio remove the [true/false]
Try also removing custom-allocator and swapping outputs 3/1 to 1/3 (I am assuming the card is a Duo 2)

I removed the embedded audio values.

I also tried swapping outputs 3/1 1/3. no Joy.

No, I am using 2 desktop screens(via the GPU HDMI/DVI output) and a decklink studio 4k.

Anyway, for some odd reason, what worked is I set Screen1 device as “1”, screen2 device as “2” and the decklink device as “1”. decklink output still comes out at channel 3 on the client.

Thanks everyone for all the help :slight_smile:

for reference, here’s what I did:

<?xml version="1.0" encoding="utf-8"?>
<configuration>
  <paths>
    <media-path>X:\CasparCG Media Files\media\</media-path>
    <log-path>log\</log-path>
    <data-path>data\</data-path>
    <template-path>X:\CasparCG Media Files\templates\</template-path>
    <thumbnails-path>thumbnails\</thumbnails-path>
  </paths>
  <channels>
    <channel>
        <video-mode>1080p2997</video-mode>
        <consumers>
          <screen>
            <device>1</device>
<windowed>false</windowed>
<name>server1</name>
          </screen>

          <system-audio />
        </consumers>
    </channel>

    <channel>
        <video-mode>1080p2997</video-mode>
        <consumers>
          <screen>
            <device>2</device>
<windowed>false</windowed>
<name>server1</name>
          </screen>

          <system-audio />
        </consumers>
    </channel>

    <channel>
        <video-mode>1080p2997</video-mode>
        <consumers>
          <decklink>
                <device>1</device>
                <key-device>1</key-device>
                <embedded-audio>false</embedded-audio>
                <channel-layout>stereo</channel-layout>
                <latency>normal</latency>
                <keyer>external</keyer>
                <key-only>false</key-only>
                <buffer-depth>3</buffer-depth>
                
            </decklink>
          <system-audio />
        </consumers>
    </channel>



  </channels>
  <controllers>
    <tcp>
        <port>5250</port>
        <protocol>AMCP</protocol>
    </tcp>
  </controllers>
</configuration>```

The <key-device>1</key-device> line is wrong. I would also delete all empty lines. But both is not really a showstopper.

The Decklink Studio is a card, that does not support keying, so <keyer>external</keyer> will not really work. Try <keyer>default</keyer> instead. For external keying use another card. The Decklink Duo 2 is the most common these days.

That is correct. In your config the Decklink is the 3rd channel, but the card is the 1st physical Decklink card. To have it as channel 1 simply move the whole channel section up, before the two screens, in your config.

Got it.

Planning to purchase a Decklink Duo 2 soon

Thanks Didikunz! :smile: