Streaming from Decklink Duo 2

Hello CasparCG-Community,

I am relatively new to the streaming topic, so I honestly do not know how to realize the following setup:

I have a Blackmagic Decklink Duo 2 Card installed in my PC and want to stream the SDI-Input (1080p30) via my computer over the network to another PC. Audio transmission is not required.

I have already tried to modify the config-file, but I always get a black screen. The config-file currently reads:

 <?xml version="1.0" encoding="utf-8" standalone="yes"?>
<configuration>
	<paths>
		<media-path>C:\CasparCG Server\Server\media\</media-path>
		<log-path>C:\CasparCG Server\Server\log\</log-path>
		<data-path>C:\CasparCG Server\Server\data\</data-path>
		<template-path>C:\CasparCG Server\Server\template\</template-path>
		<thumbnails-path>C:\CasparCG Server\Server\thumbnails\</thumbnails-path>
	</paths>
	<thumbnails>
		<video-mode>1080p3000</video-mode>
	</thumbnails>
	<channels>
		<channel>
			<video-mode>1080p3000</video-mode>
			<consumers>
				<decklink>
					<device>1</device>
				</decklink>
			</consumers>
		</channel>
	</channels>
	<controllers>
		<tcp>
			<port>5250</port>
			<protocol>AMCP</protocol>
		</tcp>
	</controllers>
</configuration>

The Decklink Cards Output is configured in the way the images I attached show. Connector Mapping is SDI 1 & SDI 2.

With Blackmagic’s Media Express software, the stream will show just fine. I just can’t figure out how to display the stream using CasparCG Server/Client.

Does anybody know how to do this? I’d really appreciate any help!

Lorenz

The way you configured gives you one output via SDI. To be able to stream you would need to add a streaming output, either from the config or via a command. You should find posts about this using the search function in the top right corner of this page.

I have now managed to get an image on the server side of my setup. My config file looks like this:

<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<configuration>
  <paths>
    <media-path>media/</media-path>
    <log-path>log/</log-path>
    <data-path>data/</data-path>
    <template-path>template/</template-path>
    <thumbnails-path>thumbnails\</thumbnails-path>
  </paths>
  <thumbnails>
    <video-mode>1080p3000</video-mode>
  </thumbnails>
  <channels>
    <channel>
      <video-mode>1080p3000</video-mode>
      <consumers>
        <screen>
          <device>1</device>
          <name>test</name>
        </screen>
        <stream>
          <path>udp://@224.5.5.0:5004</path>
          <args>-vcodec libx264 -tune zerolatency -preset ultrafast -crf 25 -format mpegts -vf scale=1920:1080</args>
        </stream>
      </consumers>
    </channel>
  </channels>
  <osc>
    <default-port>5250</default-port>
  </osc>
  <controllers>
    <tcp>
      <port>5250</port>
      <protocol>AMCP</protocol>
    </tcp>
  </controllers>
</configuration>

Now I can start the stream with the following command in the console of the server:

PLAY 1-1 DECKLINK 2 FORMAT 1080p3000

(the SDI Input on the card comes through port 3)

Unfortunately, I can’t get the stream to work in VLC using udp://@224.5.5.0:5004 (broadcast IP of the network). Any ideas what I am doing wrong?

Many thanks in advance,

Lorenz

Addendum:

  • It doesn’t work by leaving out the “@” after the udp:// part of the url.

  • VLC recognizes, somehow, that there is a stream (clock on the lower left is running), but there is only the VLC logo where the video should be.

Privacy Policy   Terms of Service