Config Issue with Decklink Duo

Hello All,

We are setting up CasparCG Server on a Windows 10 PC and are having issues using a BlackMagic Decklink Duo 2 card.
In the attached log file from the server, we have setup NDI to output well, the screen which works.
Using the Blackmagic Desktop Video Setup, we have setup all 4 ports to be input at the correct resolution/framerate and have confirmed using Vmix that the inputs are working. Whenever we send a command to CasparCG server to play Decklink, it produces "[error] check syntax’ whether we are using the CasparCG Client software, or sending AMCP messages as per AMCP Protocol · CasparCG/help Wiki · GitHub

While writing this message, I have been given the suggested topics which I have also tried but same issue

Can someone have a read-through and potentially assist with the issue we are having?


[2024-07-01 14:06:30.461] [info]    ############################################################################
[2024-07-01 14:06:30.461] [info]    CasparCG Server is distributed by the Swedish Broadcasting Corporation (SVT)
[2024-07-01 14:06:30.461] [info]    under the GNU General Public License GPLv3 or higher.
[2024-07-01 14:06:30.461] [info]    Please see LICENSE.TXT for details.
[2024-07-01 14:06:30.461] [info]    http://www.casparcg.com/
[2024-07-01 14:06:30.461] [info]    ############################################################################
[2024-07-01 14:06:30.461] [info]    Starting CasparCG Video and Graphics Playout Server 2.4.0 1e25c7a Stable
[2024-07-01 14:06:30.462] [info]    "C:/Users\Caspar\Downloads\Caspar Server\casparcg.config":
[2024-07-01 14:06:30.462] [info]    -----------------------------------------
[2024-07-01 14:06:30.462] [info]    <?xml version="1.0" encoding="utf-8"?>
[2024-07-01 14:06:30.462] [info]    <configuration>
[2024-07-01 14:06:30.462] [info]       <log-level>info</log-level>
[2024-07-01 14:06:30.462] [info]       <paths>
[2024-07-01 14:06:30.462] [info]          <media-path>C:\Users\Caspar\Documents\Caspar\Media</media-path>
[2024-07-01 14:06:30.462] [info]          <log-path>C:\Users\Caspar\Documents\Caspar\Log</log-path>
[2024-07-01 14:06:30.462] [info]          <data-path>C:\Users\Caspar\Documents\Caspar\Data</data-path>
[2024-07-01 14:06:30.462] [info]          <font-path>C:\Users\Caspar\Documents\Caspar\Font</font-path>
[2024-07-01 14:06:30.462] [info]          <template-path>C:\Users\Caspar\Documents\Caspar\Template</template-path>
[2024-07-01 14:06:30.462] [info]       </paths>
[2024-07-01 14:06:30.462] [info]       <lock-clear-phrase>secret</lock-clear-phrase>
[2024-07-01 14:06:30.462] [info]       <channels>
[2024-07-01 14:06:30.462] [info]          <channel>
[2024-07-01 14:06:30.462] [info]             <video-mode>1080i5000</video-mode>
[2024-07-01 14:06:30.462] [info]             <consumers>
[2024-07-01 14:06:30.462] [info]                <screen>
[2024-07-01 14:06:30.462] [info]                   <name>CapaTestScreen</name>
[2024-07-01 14:06:30.462] [info]                   <device>1</device>
[2024-07-01 14:06:30.462] [info]                   <aspect-ratio>default</aspect-ratio>
[2024-07-01 14:06:30.462] [info]                   <stretch>fill</stretch>
[2024-07-01 14:06:30.462] [info]                   <windowed>true</windowed>
[2024-07-01 14:06:30.462] [info]                   <key-only>false</key-only>
[2024-07-01 14:06:30.462] [info]                   <vsync>false</vsync>
[2024-07-01 14:06:30.462] [info]                   <borderless>false</borderless>
[2024-07-01 14:06:30.462] [info]                   <interactive>true</interactive>
[2024-07-01 14:06:30.462] [info]                   <always-on-top>false</always-on-top>
[2024-07-01 14:06:30.462] [info]                   <x>0</x>
[2024-07-01 14:06:30.462] [info]                   <y>0</y>
[2024-07-01 14:06:30.462] [info]                   <width>0</width>
[2024-07-01 14:06:30.462] [info]                   <height>0</height>
[2024-07-01 14:06:30.462] [info]                   <sbs-key>false</sbs-key>
[2024-07-01 14:06:30.462] [info]                   <colour-space>RGB</colour-space>
[2024-07-01 14:06:30.462] [info]                </screen>
[2024-07-01 14:06:30.462] [info]                <system-audio>
[2024-07-01 14:06:30.462] [info]                   <channel-layout>stereo</channel-layout>
[2024-07-01 14:06:30.462] [info]                   <latency>200</latency>
[2024-07-01 14:06:30.462] [info]                </system-audio>
[2024-07-01 14:06:30.462] [info]                <ndi>
[2024-07-01 14:06:30.462] [info]                   <name>CasparCG NDI Output Banana</name>
[2024-07-01 14:06:30.462] [info]                   <allow-fields>false</allow-fields>
[2024-07-01 14:06:30.462] [info]                </ndi>
[2024-07-01 14:06:30.462] [info]             </consumers>
[2024-07-01 14:06:30.462] [info]          </channel>
[2024-07-01 14:06:30.462] [info]       </channels>
[2024-07-01 14:06:30.462] [info]       <controllers>
[2024-07-01 14:06:30.462] [info]          <tcp>
[2024-07-01 14:06:30.462] [info]             <port>5250</port>
[2024-07-01 14:06:30.462] [info]             <protocol>AMCP</protocol>
[2024-07-01 14:06:30.462] [info]          </tcp>
[2024-07-01 14:06:30.462] [info]       </controllers>
[2024-07-01 14:06:30.462] [info]       <amcp>
[2024-07-01 14:06:30.462] [info]          <media-server>
[2024-07-01 14:06:30.462] [info]             <host>localhost</host>
[2024-07-01 14:06:30.462] [info]             <port>8000</port>
[2024-07-01 14:06:30.462] [info]          </media-server>
[2024-07-01 14:06:30.462] [info]       </amcp>
[2024-07-01 14:06:30.462] [info]       <flash>
[2024-07-01 14:06:30.462] [info]          <buffer-depth>auto</buffer-depth>
[2024-07-01 14:06:30.462] [info]          <enabled>false</enabled>
[2024-07-01 14:06:30.462] [info]       </flash>
[2024-07-01 14:06:30.462] [info]       <html>
[2024-07-01 14:06:30.462] [info]          <remote-debugging-port>0</remote-debugging-port>
[2024-07-01 14:06:30.462] [info]          <enable-gpu>true</enable-gpu>
[2024-07-01 14:06:30.462] [info]       </html>
[2024-07-01 14:06:30.462] [info]       <ffmpeg>
[2024-07-01 14:06:30.462] [info]          <producer>
[2024-07-01 14:06:30.462] [info]             <auto-deinterlace>interlaced</auto-deinterlace>
[2024-07-01 14:06:30.462] [info]             <threads>4</threads>
[2024-07-01 14:06:30.462] [info]          </producer>
[2024-07-01 14:06:30.462] [info]       </ffmpeg>
[2024-07-01 14:06:30.462] [info]       <ndi>
[2024-07-01 14:06:30.462] [info]          <auto-load>true</auto-load>
[2024-07-01 14:06:30.462] [info]       </ndi>
[2024-07-01 14:06:30.462] [info]       <osc>
[2024-07-01 14:06:30.462] [info]          <default-port>6250</default-port>
[2024-07-01 14:06:30.462] [info]          <disable-send-to-amcp-clients>true</disable-send-to-amcp-clients>
[2024-07-01 14:06:30.462] [info]          <predefined-clients/>
[2024-07-01 14:06:30.462] [info]       </osc>
[2024-07-01 14:06:30.462] [info]    </configuration>
[2024-07-01 14:06:30.462] [info]    -----------------------------------------
[2024-07-01 14:06:30.463] [info]    Initialized video modes.
[2024-07-01 14:06:30.648] [info]    Initializing OpenGL Device.
[2024-07-01 14:06:30.654] [info]    Initialized OpenGL 4.5.0 NVIDIA 457.51 NVIDIA Corporation
[2024-07-01 14:06:30.670] [info]    Initialized OpenGL Accelerated GPU Image Mixer for channel 1
[2024-07-01 14:06:30.670] [info]    video_channel[1|1080i5000] Successfully Initialized.
[2024-07-01 14:06:30.671] [info]    Initialized channels.
[2024-07-01 14:06:30.671] [info]    Initialized command repository.
[2024-07-01 14:06:30.671] [info]    Initialized image module.
[2024-07-01 14:06:30.671] [info]    Initialized ffmpeg module.
[2024-07-01 14:06:30.671] [info]    Initialized oal module.
[2024-07-01 14:06:30.671] [info]    Initialized decklink module.
[2024-07-01 14:06:30.671] [info]    Initialized screen module.
[2024-07-01 14:06:30.676] [info]    Loaded "C:\Program Files\NDI\NDI 5 Tools\Runtime\Processing.NDI.Lib.x64.dll"
[2024-07-01 14:06:30.692] [info]    Initialized newtek module.
[2024-07-01 14:06:30.692] [info]    Initialized artnet module.
[0701/140630.710:WARNING:policy_logger.cc(148)] :components\enterprise\browser\controller\chrome_browser_cloud_management_controller.cc(88) Could not create policy manager as CBCM is not enabled.
[2024-07-01 14:06:30.727] [info]    Initialized html module.
[2024-07-01 14:06:30.727] [info]    Flash support is disabled
[2024-07-01 14:06:30.727] [info]    Initialized flash module.
[2024-07-01 14:06:30.728] [info]    Initialized bluefish module.
[2024-07-01 14:06:30.728] [info]    Initialized modules.
[2024-07-01 14:06:30.728] [info]    CapaTestScreen [1|1080i5000] Initialized.
[2024-07-01 14:06:30.747] [info]    oal[1|1080i5000] Initialized.
[2024-07-01 14:06:30.759] [info]    ndi_consumer[1|CasparCG NDI Output Banana] Initialized.
[2024-07-01 14:06:30.759] [info]    Initialized startup producers.
[2024-07-01 14:06:30.759] [info]    Initialized controllers.
[2024-07-01 14:06:30.759] [info]    Initialized osc.
[2024-07-01 14:06:30.760] [info]    Starting ndi-send thread for ndi output: CasparCG NDI Output Banana
[2024-07-01 14:06:34.936] [info]    async_event_server[:5250] Accepted connection from 10.10.10.144 (1 connections).
[2024-07-01 14:06:34.937] [info]    Received message from 10.10.10.144: VERSION SERVER\r\n
[2024-07-01 14:06:34.937] [info]    Sent message to 10.10.10.144:201 VERSION OK\r\n2.4.0 1e25c7a Stable\r\n
[2024-07-01 14:06:34.939] [info]    Received message from 10.10.10.144: INFO\r\n
[2024-07-01 14:06:34.939] [info]    Sent message to 10.10.10.144:200 INFO OK\r\n1 1080i5000 PLAYING\r\n\r\n
[2024-07-01 14:06:34.941] [info]    Received message from 10.10.10.144: CLS\r\n
[2024-07-01 14:06:34.946] [info]    Sent more than 512 bytes to 10.10.10.144
[2024-07-01 14:06:34.947] [info]    Received message from 10.10.10.144: TLS\r\n
[2024-07-01 14:06:34.947] [info]    Received message from 10.10.10.144: DATA LIST\r\n
[2024-07-01 14:06:34.947] [info]    Received message from 10.10.10.144: THUMBNAIL LIST\r\n
[2024-07-01 14:06:34.949] [info]    Sent message to 10.10.10.144:200 TLS OK\r\nLOWER-THIRD\r\n\r\n
[2024-07-01 14:06:34.949] [info]    Sent message to 10.10.10.144:200 DATA LIST OK\r\n\r\n
[2024-07-01 14:06:34.953] [info]    Sent more than 512 bytes to 10.10.10.144
[2024-07-01 14:07:01.066] [info]    async_event_server[:5250] Accepted connection from 127.0.0.1 (2 connections).
[2024-07-01 14:07:02.100] [info]    Received message from 127.0.0.1: \r\n
[2024-07-01 14:07:02.100] [info]    Sent message to 127.0.0.1:400 ERROR\r\n\r\n
[2024-07-01 14:07:02.236] [info]    Received message from 127.0.0.1: \r\n
[2024-07-01 14:07:02.236] [info]    Sent message to 127.0.0.1:400 ERROR\r\n\r\n
[2024-07-01 14:07:08.292] [info]    Received message from 127.0.0.1: ADD 1 DECKLINK 1\r\n
[2024-07-01 14:07:08.294] [error]    Check syntax.
[2024-07-01 14:07:08.294] [info]    Sent message to 127.0.0.1:403 ADD FAILED\r\n
[2024-07-01 14:07:08.295] [info]    [decklink_consumer] Uninitialized.
[2024-07-01 14:07:11.828] [info]    Received message from 127.0.0.1: decklink\r\n
[2024-07-01 14:07:11.828] [info]    Sent message to 127.0.0.1:400 ERROR\r\ndecklink\r\n
[2024-07-01 14:07:51.596] [info]    Received message from 127.0.0.1: PLAY 1-1 DECKLINK 1 FORMAT 1080i5000\r\n
[2024-07-01 14:07:51.598] [error]    Check syntax.
[2024-07-01 14:07:51.598] [info]    Sent message to 127.0.0.1:403 PLAY FAILED\r\n
[2024-07-01 14:08:42.194] [info]    Received message from 127.0.0.1: PLAY 1-1 DECKLINK DEVICE 1 FORMAT 1080i5000\r\n
[2024-07-01 14:08:42.197] [error]    Check syntax.
[2024-07-01 14:08:42.197] [info]    Sent message to 127.0.0.1:403 PLAY FAILED\r\n
[2024-07-01 14:08:47.771] [info]    Received message from 127.0.0.1: PLAY 1-1 DECKLINK DEVICE 1\r\n
[2024-07-01 14:08:47.774] [error]    Check syntax.
[2024-07-01 14:08:47.774] [info]    Sent message to 127.0.0.1:403 PLAY FAILED\r\n
[2024-07-01 14:08:52.226] [info]    Received message from 127.0.0.1: PLAY 1-1 DECKLINK 1\r\n
[2024-07-01 14:08:52.230] [error]    Check syntax.
[2024-07-01 14:08:52.230] [info]    Sent message to 127.0.0.1:403 PLAY FAILED\r\n
[2024-07-01 14:08:55.603] [info]    Received message from 127.0.0.1: PLAY 1-1 DECKLINK\r\n
[2024-07-01 14:08:55.604] [error]   Exception: Dynamic exception type: class std::out_of_range
[2024-07-01 14:08:55.604] [error]   std::exception::what: invalid vector subscript
[2024-07-01 14:08:55.604] [error]   

[2024-07-01 14:08:55.604] [error]    0# 0x00007FF772CD2C17 in casparcg
[2024-07-01 14:08:55.604] [error]    1# 0x00007FF772CD26A5 in casparcg
[2024-07-01 14:08:55.604] [error]    2# 0x00007FF772F9C24C in casparcg
[2024-07-01 14:08:55.604] [error]    3# 0x00007FFE1E0C1080 in VCRUNTIME140_1
[2024-07-01 14:08:55.604] [error]    4# _NLG_Return2 in VCRUNTIME140_1
[2024-07-01 14:08:55.604] [error]    5# RtlCaptureContext2 in ntdll
[2024-07-01 14:08:55.604] [error]    6# 0x00007FF772D64D46 in casparcg
[2024-07-01 14:08:55.604] [error]    7# 0x00007FF772D66F7F in casparcg
[2024-07-01 14:08:55.604] [error]    8# 0x00007FF772D6666E in casparcg
[2024-07-01 14:08:55.604] [error]    9# 0x00007FF772DE760D in casparcg
[2024-07-01 14:08:55.604] [error]   10# 0x00007FF772DEF589 in casparcg
[2024-07-01 14:08:55.604] [error]   11# 0x00007FF772DD8651 in casparcg
[2024-07-01 14:08:55.604] [error]   12# 0x00007FF772E0C45E in casparcg
[2024-07-01 14:08:55.604] [error]   13# 0x00007FF772E0C97E in casparcg
[2024-07-01 14:08:55.604] [error]   14# 0x00007FF772DB70DA in casparcg
[2024-07-01 14:08:55.604] [error]   15# 0x00007FF772E0A275 in casparcg
[2024-07-01 14:08:55.604] [error]   16# 0x00007FF772E08767 in casparcg
[2024-07-01 14:08:55.604] [error]   17# 0x00007FF772E07C02 in casparcg
[2024-07-01 14:08:55.604] [error]   18# 0x00007FF772D2573F in casparcg
[2024-07-01 14:08:55.604] [error]   19# 0x00007FF772D67E9E in casparcg
[2024-07-01 14:08:55.604] [error]   20# 0x00007FF772D62156 in casparcg
[2024-07-01 14:08:55.604] [error]   21# configthreadlocale in ucrtbase
[2024-07-01 14:08:55.604] [error]   22# BaseThreadInitThunk in KERNEL32
[2024-07-01 14:08:55.604] [error]   23# RtlUserThreadStart in ntdll
[2024-07-01 14:08:55.604] [error]   
[2024-07-01 14:08:55.640] [error]    File not found.
[2024-07-01 14:08:55.640] [info]    Sent message to 127.0.0.1:404 PLAY FAILED\r\n
[2024-07-01 14:08:59.334] [info]    async_event_server[:5250] Client 127.0.0.1 disconnected (1 connections).
[2024-07-01 14:10:55.497] [info]    async_event_server[:5250] Accepted connection from 127.0.0.1 (2 connections).
[2024-07-01 14:10:57.896] [info]    Received message from 127.0.0.1: \r\n
[2024-07-01 14:10:57.896] [info]    Sent message to 127.0.0.1:400 ERROR\r\n\r\n
[2024-07-01 14:10:58.137] [info]    Received message from 127.0.0.1: \r\n
[2024-07-01 14:10:58.137] [info]    Sent message to 127.0.0.1:400 ERROR\r\n\r\n
[2024-07-01 14:11:01.616] [info]    Received message from 127.0.0.1: PLAY 1-1 DECKLINK Duo (1) 1 FORMAT 1080i5000\r\n
[2024-07-01 14:11:01.618] [error]   Exception: Dynamic exception type: class std::invalid_argument
[2024-07-01 14:11:01.618] [error]   std::exception::what: invalid stoi argument
[2024-07-01 14:11:01.618] [error]   

[2024-07-01 14:11:01.618] [error]    0# 0x00007FF772CD2C17 in casparcg
[2024-07-01 14:11:01.618] [error]    1# 0x00007FF772CD26A5 in casparcg
[2024-07-01 14:11:01.618] [error]    2# 0x00007FF772F9C24C in casparcg
[2024-07-01 14:11:01.618] [error]    3# 0x00007FFE1E0C1080 in VCRUNTIME140_1
[2024-07-01 14:11:01.618] [error]    4# _NLG_Return2 in VCRUNTIME140_1
[2024-07-01 14:11:01.618] [error]    5# RtlCaptureContext2 in ntdll
[2024-07-01 14:11:01.618] [error]    6# 0x00007FF772D64D46 in casparcg
[2024-07-01 14:11:01.618] [error]    7# 0x00007FF772D66F7F in casparcg
[2024-07-01 14:11:01.618] [error]    8# 0x00007FF772D6666E in casparcg
[2024-07-01 14:11:01.618] [error]    9# 0x00007FF772DE760D in casparcg
[2024-07-01 14:11:01.618] [error]   10# 0x00007FF772DEF589 in casparcg
[2024-07-01 14:11:01.618] [error]   11# 0x00007FF772DD8651 in casparcg
[2024-07-01 14:11:01.618] [error]   12# 0x00007FF772E0C45E in casparcg
[2024-07-01 14:11:01.618] [error]   13# 0x00007FF772E0C97E in casparcg
[2024-07-01 14:11:01.618] [error]   14# 0x00007FF772DB70DA in casparcg
[2024-07-01 14:11:01.618] [error]   15# 0x00007FF772E0A275 in casparcg
[2024-07-01 14:11:01.618] [error]   16# 0x00007FF772E08767 in casparcg
[2024-07-01 14:11:01.618] [error]   17# 0x00007FF772E07C02 in casparcg
[2024-07-01 14:11:01.618] [error]   18# 0x00007FF772D2573F in casparcg
[2024-07-01 14:11:01.618] [error]   19# 0x00007FF772D67E9E in casparcg
[2024-07-01 14:11:01.618] [error]   20# 0x00007FF772D62156 in casparcg
[2024-07-01 14:11:01.618] [error]   21# configthreadlocale in ucrtbase
[2024-07-01 14:11:01.618] [error]   22# BaseThreadInitThunk in KERNEL32
[2024-07-01 14:11:01.618] [error]   23# RtlUserThreadStart in ntdll
[2024-07-01 14:11:01.618] [error]   
[2024-07-01 14:11:01.649] [error]    File not found.
[2024-07-01 14:11:01.649] [info]    Sent message to 127.0.0.1:404 PLAY FAILED\r\n
[2024-07-01 14:11:19.937] [info]    Received message from 127.0.0.1: PLAY 1-1 DECKLINK Duo (1)\r\n
[2024-07-01 14:11:19.938] [error]   Exception: Dynamic exception type: class std::invalid_argument
[2024-07-01 14:11:19.938] [error]   std::exception::what: invalid stoi argument
[2024-07-01 14:11:19.938] [error]   

[2024-07-01 14:11:19.938] [error]    0# 0x00007FF772CD2C17 in casparcg
[2024-07-01 14:11:19.938] [error]    1# 0x00007FF772CD26A5 in casparcg
[2024-07-01 14:11:19.938] [error]    2# 0x00007FF772F9C24C in casparcg
[2024-07-01 14:11:19.938] [error]    3# 0x00007FFE1E0C1080 in VCRUNTIME140_1
[2024-07-01 14:11:19.938] [error]    4# _NLG_Return2 in VCRUNTIME140_1
[2024-07-01 14:11:19.938] [error]    5# RtlCaptureContext2 in ntdll
[2024-07-01 14:11:19.938] [error]    6# 0x00007FF772D64D46 in casparcg
[2024-07-01 14:11:19.938] [error]    7# 0x00007FF772D66F7F in casparcg
[2024-07-01 14:11:19.938] [error]    8# 0x00007FF772D6666E in casparcg
[2024-07-01 14:11:19.938] [error]    9# 0x00007FF772DE760D in casparcg
[2024-07-01 14:11:19.938] [error]   10# 0x00007FF772DEF589 in casparcg
[2024-07-01 14:11:19.938] [error]   11# 0x00007FF772DD8651 in casparcg
[2024-07-01 14:11:19.938] [error]   12# 0x00007FF772E0C45E in casparcg
[2024-07-01 14:11:19.938] [error]   13# 0x00007FF772E0C97E in casparcg
[2024-07-01 14:11:19.938] [error]   14# 0x00007FF772DB70DA in casparcg
[2024-07-01 14:11:19.938] [error]   15# 0x00007FF772E0A275 in casparcg
[2024-07-01 14:11:19.938] [error]   16# 0x00007FF772E08767 in casparcg
[2024-07-01 14:11:19.938] [error]   17# 0x00007FF772E07C02 in casparcg
[2024-07-01 14:11:19.938] [error]   18# 0x00007FF772D2573F in casparcg
[2024-07-01 14:11:19.938] [error]   19# 0x00007FF772D67E9E in casparcg
[2024-07-01 14:11:19.938] [error]   20# 0x00007FF772D62156 in casparcg
[2024-07-01 14:11:19.938] [error]   21# configthreadlocale in ucrtbase
[2024-07-01 14:11:19.938] [error]   22# BaseThreadInitThunk in KERNEL32
[2024-07-01 14:11:19.938] [error]   23# RtlUserThreadStart in ntdll
[2024-07-01 14:11:19.938] [error]   
[2024-07-01 14:11:19.972] [error]    File not found.
[2024-07-01 14:11:19.972] [info]    Sent message to 127.0.0.1:404 PLAY FAILED\r\n
[2024-07-01 14:11:27.104] [info]    Received message from 127.0.0.1: PLAY 1-1 DECKLINK Duo (1) DEVICE 1\r\n
[2024-07-01 14:11:27.108] [error]    Check syntax.
[2024-07-01 14:11:27.108] [info]    Sent message to 127.0.0.1:403 PLAY FAILED\r\n
[2024-07-01 14:11:43.352] [info]    Received message from 127.0.0.1: PLAY 1-1 DECKLINK Duo DEVICE 1\r\n
[2024-07-01 14:11:43.356] [error]    Check syntax.
[2024-07-01 14:11:43.356] [info]    Sent message to 127.0.0.1:403 PLAY FAILED\r\n
[2024-07-01 14:11:53.646] [info]    async_event_server[:5250] Client 127.0.0.1 disconnected (1 connections).
[2024-07-01 14:12:25.440] [info]    async_event_server[:5250] Accepted connection from 127.0.0.1 (2 connections).
[2024-07-01 14:12:50.487] [info]    Received message from 127.0.0.1: version\r\n
[2024-07-01 14:12:50.487] [info]    Sent message to 127.0.0.1:201 VERSION OK\r\n2.4.0 1e25c7a Stable\r\n
[2024-07-01 14:12:55.527] [info]    Received message from 127.0.0.1: INFO\r\n
[2024-07-01 14:12:55.527] [info]    Sent message to 127.0.0.1:200 INFO OK\r\n1 1080i5000 PLAYING\r\n\r\n
[2024-07-01 14:13:02.487] [info]    Received message from 127.0.0.1: INFO SYSTEM\r\n
[2024-07-01 14:13:02.487] [info]    Sent message to 127.0.0.1:200 INFO OK\r\n1 1080i5000 PLAYING\r\n\r\n
[2024-07-01 14:13:06.959] [info]    Received message from 127.0.0.1: INFO SERVER\r\n
[2024-07-01 14:13:06.959] [info]    Sent message to 127.0.0.1:200 INFO OK\r\n1 1080i5000 PLAYING\r\n\r\n
[2024-07-01 14:13:11.470] [info]    Received message from 127.0.0.1: INFO THREADS\r\n
[2024-07-01 14:13:11.471] [info]    Sent message to 127.0.0.1:200 INFO OK\r\n1 1080i5000 PLAYING\r\n\r\n
[2024-07-01 14:13:19.421] [info]    async_event_server[:5250] Client 127.0.0.1 disconnected (1 connections).

The ADD 1 DECKLINK 1 is wrong, you add a decklink output to channel 1. This will not work and would, if it worked, take away the first decklink input.

The command to play an input on channel 1 (your main out) goes along this:
PLAY 1-10 DECKLINK DEVICE 2 FORMAT 1080i5000

The device numbers are not always logical, as the inputs are numbered somehow. You need to tes, what input number(s) gives you a picture. And be sure to feed a SDI signal to each input you want to play out.

Hi didikunz,

I have just tried the code you suggested above. I am still getting the same error. Please see below


[2024-07-02 11:56:22.494] [info]    ############################################################################
[2024-07-02 11:56:22.495] [info]    CasparCG Server is distributed by the Swedish Broadcasting Corporation (SVT)
[2024-07-02 11:56:22.495] [info]    under the GNU General Public License GPLv3 or higher.
[2024-07-02 11:56:22.495] [info]    Please see LICENSE.TXT for details.
[2024-07-02 11:56:22.495] [info]    http://www.casparcg.com/
[2024-07-02 11:56:22.495] [info]    ############################################################################
[2024-07-02 11:56:22.495] [info]    Starting CasparCG Video and Graphics Playout Server 2.4.0 1e25c7a Stable
[2024-07-02 11:56:22.496] [info]    "C:/Users\Caspar\Downloads\Caspar Server\casparcg.config":
[2024-07-02 11:56:22.496] [info]    -----------------------------------------
[2024-07-02 11:56:22.496] [info]    <?xml version="1.0" encoding="utf-8"?>
[2024-07-02 11:56:22.496] [info]    <configuration>
[2024-07-02 11:56:22.496] [info]       <log-level>info</log-level>
[2024-07-02 11:56:22.496] [info]       <paths>
[2024-07-02 11:56:22.496] [info]          <media-path>C:\Users\Caspar\Documents\Caspar\Media</media-path>
[2024-07-02 11:56:22.496] [info]          <log-path>C:\Users\Caspar\Documents\Caspar\Log</log-path>
[2024-07-02 11:56:22.496] [info]          <data-path>C:\Users\Caspar\Documents\Caspar\Data</data-path>
[2024-07-02 11:56:22.496] [info]          <font-path>C:\Users\Caspar\Documents\Caspar\Font</font-path>
[2024-07-02 11:56:22.496] [info]          <template-path>C:\Users\Caspar\Documents\Caspar\Template</template-path>
[2024-07-02 11:56:22.496] [info]       </paths>
[2024-07-02 11:56:22.496] [info]       <lock-clear-phrase>secret</lock-clear-phrase>
[2024-07-02 11:56:22.496] [info]       <channels>
[2024-07-02 11:56:22.496] [info]          <channel>
[2024-07-02 11:56:22.496] [info]             <video-mode>1080i5000</video-mode>
[2024-07-02 11:56:22.496] [info]             <consumers>
[2024-07-02 11:56:22.496] [info]                <screen>
[2024-07-02 11:56:22.496] [info]                   <name>CapaTestScreen</name>
[2024-07-02 11:56:22.496] [info]                   <device>1</device>
[2024-07-02 11:56:22.496] [info]                   <aspect-ratio>default</aspect-ratio>
[2024-07-02 11:56:22.496] [info]                   <stretch>fill</stretch>
[2024-07-02 11:56:22.496] [info]                   <windowed>true</windowed>
[2024-07-02 11:56:22.496] [info]                   <key-only>false</key-only>
[2024-07-02 11:56:22.496] [info]                   <vsync>false</vsync>
[2024-07-02 11:56:22.496] [info]                   <borderless>false</borderless>
[2024-07-02 11:56:22.496] [info]                   <interactive>true</interactive>
[2024-07-02 11:56:22.496] [info]                   <always-on-top>false</always-on-top>
[2024-07-02 11:56:22.496] [info]                   <x>0</x>
[2024-07-02 11:56:22.496] [info]                   <y>0</y>
[2024-07-02 11:56:22.496] [info]                   <width>0</width>
[2024-07-02 11:56:22.496] [info]                   <height>0</height>
[2024-07-02 11:56:22.496] [info]                   <sbs-key>false</sbs-key>
[2024-07-02 11:56:22.496] [info]                   <colour-space>RGB</colour-space>
[2024-07-02 11:56:22.496] [info]                </screen>
[2024-07-02 11:56:22.496] [info]                <system-audio>
[2024-07-02 11:56:22.496] [info]                   <channel-layout>stereo</channel-layout>
[2024-07-02 11:56:22.496] [info]                   <latency>200</latency>
[2024-07-02 11:56:22.496] [info]                </system-audio>
[2024-07-02 11:56:22.496] [info]                <ndi>
[2024-07-02 11:56:22.496] [info]                   <name>CasparCG NDI Output Banana</name>
[2024-07-02 11:56:22.496] [info]                   <allow-fields>false</allow-fields>
[2024-07-02 11:56:22.496] [info]                </ndi>
[2024-07-02 11:56:22.496] [info]             </consumers>
[2024-07-02 11:56:22.496] [info]          </channel>
[2024-07-02 11:56:22.496] [info]       </channels>
[2024-07-02 11:56:22.496] [info]       <controllers>
[2024-07-02 11:56:22.496] [info]          <tcp>
[2024-07-02 11:56:22.496] [info]             <port>5250</port>
[2024-07-02 11:56:22.496] [info]             <protocol>AMCP</protocol>
[2024-07-02 11:56:22.496] [info]          </tcp>
[2024-07-02 11:56:22.496] [info]       </controllers>
[2024-07-02 11:56:22.496] [info]       <amcp>
[2024-07-02 11:56:22.496] [info]          <media-server>
[2024-07-02 11:56:22.496] [info]             <host>localhost</host>
[2024-07-02 11:56:22.496] [info]             <port>8000</port>
[2024-07-02 11:56:22.496] [info]          </media-server>
[2024-07-02 11:56:22.496] [info]       </amcp>
[2024-07-02 11:56:22.496] [info]       <flash>
[2024-07-02 11:56:22.496] [info]          <buffer-depth>auto</buffer-depth>
[2024-07-02 11:56:22.496] [info]          <enabled>false</enabled>
[2024-07-02 11:56:22.496] [info]       </flash>
[2024-07-02 11:56:22.496] [info]       <html>
[2024-07-02 11:56:22.496] [info]          <remote-debugging-port>0</remote-debugging-port>
[2024-07-02 11:56:22.496] [info]          <enable-gpu>true</enable-gpu>
[2024-07-02 11:56:22.496] [info]       </html>
[2024-07-02 11:56:22.496] [info]       <ffmpeg>
[2024-07-02 11:56:22.496] [info]          <producer>
[2024-07-02 11:56:22.496] [info]             <auto-deinterlace>interlaced</auto-deinterlace>
[2024-07-02 11:56:22.496] [info]             <threads>4</threads>
[2024-07-02 11:56:22.496] [info]          </producer>
[2024-07-02 11:56:22.496] [info]       </ffmpeg>
[2024-07-02 11:56:22.496] [info]       <ndi>
[2024-07-02 11:56:22.496] [info]          <auto-load>true</auto-load>
[2024-07-02 11:56:22.496] [info]       </ndi>
[2024-07-02 11:56:22.496] [info]       <osc>
[2024-07-02 11:56:22.496] [info]          <default-port>6250</default-port>
[2024-07-02 11:56:22.496] [info]          <disable-send-to-amcp-clients>true</disable-send-to-amcp-clients>
[2024-07-02 11:56:22.496] [info]          <predefined-clients/>
[2024-07-02 11:56:22.496] [info]       </osc>
[2024-07-02 11:56:22.496] [info]    </configuration>
[2024-07-02 11:56:22.496] [info]    -----------------------------------------
[2024-07-02 11:56:22.496] [info]    Initialized video modes.
[2024-07-02 11:56:22.605] [info]    Initializing OpenGL Device.
[2024-07-02 11:56:22.610] [info]    Initialized OpenGL 4.5.0 NVIDIA 457.51 NVIDIA Corporation
[2024-07-02 11:56:22.627] [info]    Initialized OpenGL Accelerated GPU Image Mixer for channel 1
[2024-07-02 11:56:22.627] [info]    video_channel[1|1080i5000] Successfully Initialized.
[2024-07-02 11:56:22.627] [info]    Initialized channels.
[2024-07-02 11:56:22.627] [info]    Initialized command repository.
[2024-07-02 11:56:22.627] [info]    Initialized image module.
[2024-07-02 11:56:22.627] [info]    Initialized ffmpeg module.
[2024-07-02 11:56:22.627] [info]    Initialized oal module.
[2024-07-02 11:56:22.628] [info]    Initialized decklink module.
[2024-07-02 11:56:22.628] [info]    Initialized screen module.
[2024-07-02 11:56:22.631] [info]    Loaded "C:\Program Files\NDI\NDI 5 Tools\Runtime\Processing.NDI.Lib.x64.dll"
[2024-07-02 11:56:22.647] [info]    Initialized newtek module.
[2024-07-02 11:56:22.647] [info]    Initialized artnet module.
[0702/115622.663:WARNING:policy_logger.cc(148)] :components\enterprise\browser\controller\chrome_browser_cloud_management_controller.cc(88) Could not create policy manager as CBCM is not enabled.
[2024-07-02 11:56:22.679] [info]    Initialized html module.
[2024-07-02 11:56:22.679] [info]    Flash support is disabled
[2024-07-02 11:56:22.680] [info]    Initialized flash module.
[2024-07-02 11:56:22.680] [info]    Initialized bluefish module.
[2024-07-02 11:56:22.681] [info]    Initialized modules.
[2024-07-02 11:56:22.681] [info]    CapaTestScreen [1|1080i5000] Initialized.
[2024-07-02 11:56:22.730] [info]    oal[1|1080i5000] Initialized.
[2024-07-02 11:56:22.734] [info]    ndi_consumer[1|CasparCG NDI Output Banana] Initialized.
[2024-07-02 11:56:22.734] [info]    Initialized startup producers.
[2024-07-02 11:56:22.734] [info]    Initialized controllers.
[2024-07-02 11:56:22.734] [info]    Initialized osc.
[2024-07-02 11:56:22.739] [info]    Starting ndi-send thread for ndi output: CasparCG NDI Output Banana
[2024-07-02 11:56:30.958] [info]    async_event_server[:5250] Accepted connection from 127.0.0.1 (1 connections).
[2024-07-02 11:56:32.794] [info]    Received message from 127.0.0.1: \r\n
[2024-07-02 11:56:32.796] [info]    Sent message to 127.0.0.1:400 ERROR\r\n\r\n
[2024-07-02 11:56:32.930] [info]    Received message from 127.0.0.1: \r\n
[2024-07-02 11:56:32.930] [info]    Sent message to 127.0.0.1:400 ERROR\r\n\r\n
[2024-07-02 11:56:37.994] [info]    Received message from 127.0.0.1: PLAY 1-10 DECKLINK DEVICE 2 FORMAT 1080i5000\r\n
[2024-07-02 11:56:38.011] [error]    Check syntax.
[2024-07-02 11:56:38.011] [info]    Sent message to 127.0.0.1:403 PLAY FAILED\r\n
[2024-07-02 11:57:00.290] [info]    Received message from 127.0.0.1: PLAY 1-10 DECKLINK DEVICE 1 FORMAT 1080i5000\r\n
[2024-07-02 11:57:00.293] [error]    Check syntax.
[2024-07-02 11:57:00.293] [info]    Sent message to 127.0.0.1:403 PLAY FAILED\r\n
[2024-07-02 11:57:39.522] [info]    CapaTestScreen [1|1080i5000] Uninitialized.
[2024-07-02 11:57:57.218] [info]    Received message from 127.0.0.1: \r\n
[2024-07-02 11:57:57.218] [info]    Sent message to 127.0.0.1:400 ERROR\r\n\r\n
[2024-07-02 11:58:00.688] [info]    Received message from 127.0.0.1: PLAY 1-10 DECKLINK DEVICE 1 FORMAT 1080i5000\r\n
[2024-07-02 11:58:00.692] [error]    Check syntax.
[2024-07-02 11:58:00.692] [info]    Sent message to 127.0.0.1:403 PLAY FAILED\r\n
[2024-07-02 11:58:03.633] [info]    Received message from 127.0.0.1: PLAY 1-10 DECKLINK DEVICE 2 FORMAT 1080i5000\r\n
[2024-07-02 11:58:03.636] [error]    Check syntax.
[2024-07-02 11:58:03.636] [info]    Sent message to 127.0.0.1:403 PLAY FAILED\r\n
[2024-07-02 11:58:06.945] [info]    Received message from 127.0.0.1: PLAY 1-10 DECKLINK DEVICE 3 FORMAT 1080i5000\r\n
[2024-07-02 11:58:06.948] [error]    Check syntax.
[2024-07-02 11:58:06.948] [info]    Sent message to 127.0.0.1:403 PLAY FAILED\r\n
[2024-07-02 11:58:09.881] [info]    Received message from 127.0.0.1: PLAY 1-10 DECKLINK DEVICE 4 FORMAT 1080i5000\r\n
[2024-07-02 11:58:09.885] [error]    Check syntax.
[2024-07-02 11:58:09.885] [info]    Sent message to 127.0.0.1:403 PLAY FAILED\r\n

Sever version 2.4 requires a minimum decklink driver software version of 11.0. Can you please confirm your installation meets this requirement?

Server Version 2.4 also supports shortform versions of the decklink input command:

PLAY 1-10 DECKLINK DEVICE 2
PLAY 1-10 DECKLINK 2

The shortform versions ask the decklink device about it’s current input signal format.

The full command version provided by didkunz is the safest to use from a client as it works with all versions of the server.

[Edited extra text below]
Your client seems to be sending some \r\n commands that are causing some of the error messages. For example at time 11:56:32.794 in the log we get two lines:

[info]    Received message from 127.0.0.1: \r\n
[info]    Sent message to 127.0.0.1:400 ERROR\r\n\r\n

The second line has a bad layout from the server. It looks as if it is sending a message to 127.0.0.1 port 400. The layout shoud be:

[info]    Sent message to 127.0.0.1: 400 ERROR\r\n\r\n

which implies the server received an empty line (the first \r\n).

The 403 PLAY FAILED messages are telling us that there is an Illegal Parameter on the line.

Try typing the play 1-10 decklink command directly in the server console window followed by the return key. Does this show the same error message as when your client sends the command?

Thanks Andyw. It was old decklink driver software running on this older vMix computer we built a few years ago. We found it was running early 10.x decklink desktop software. We updated to the latest decklink drivers and software and now it works well. Thanks all for yur help with this one!