Decklink Duo 2 with 1080p5994 can't initialize

hardware
howto
server
blackmagic

#1

Hi!

I would like to initialize a Decklink Duo 2 card with Caspar CG with one CG fill/key and one video out channel. The target frame rate and resolution is 1080p5994. I set the Decklink channel1 to SDI1&SDI2 (this is the CG) and channel2 to SDI3 (this is the video). I have already tried to do this configuration with 1080p25 and it worked perfectly, when the config file was the following:

<?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>templates\</template-path>
    <thumbnails-path>thumbnails\</thumbnails-path>
  </paths>
  <channels>
    <channel>
        <video-mode>1080p2500</video-mode>
        <consumers>
          <decklink>
            <device>1</device>
			<keyer>external</keyer>
			<embedded-audio>true</embedded-audio>
          </decklink>
          <system-audio />
        </consumers>
    </channel>
    <channel>
        <video-mode>1080p2500</video-mode>
        <consumers>
          <decklink>
            <device>2</device>
			<keyer>default</keyer>
            <embedded-audio>true</embedded-audio>
          </decklink>
          <system-audio />
        </consumers>
    </channel>
  </channels>
  <controllers>
    <tcp>
        <port>5250</port>
        <protocol>AMCP</protocol>
    </tcp>
  </controllers>
</configuration>

After that, I changed the “2500” setting to “5994”, but in this case I it is not working, the Decklink card can not be initialized. If I start the server with the 59.94 fps, I get the following commands:

[2020-02-27 14:38:26.516] [6768] [info]    Initialized html module.
[2020-02-27 14:38:26.519] [6768] [info]    Initializing OpenGL Device.
[2020-02-27 14:38:26.523] [2228] [info]    OpenGL 4.6.0 NVIDIA 432.00 NVIDIA Corporation
[2020-02-27 14:38:26.527] [2228] [info]    Successfully initialized OpenGL Device.
[2020-02-27 14:38:26.530] [6768] [info]    Initialized ffmpeg module.
[2020-02-27 14:38:26.533] [6768] [info]    Initialized bluefish module.
[2020-02-27 14:38:26.536] [6768] [info]    Initialized decklink module.
[2020-02-27 14:38:26.540] [6768] [info]    Initialized oal module.
[2020-02-27 14:38:26.542] [6768] [info]    Initialized newtek module.
[2020-02-27 14:38:26.545] [6768] [info]    Initialized ogl module.
[2020-02-27 14:38:26.548] [6768] [info]    Initialized flash module.
[2020-02-27 14:38:26.551] [6768] [info]    Initialized image module.
[2020-02-27 14:38:26.554] [2228] [info]    [shader] Blend-modes are disabled.
[2020-02-27 14:38:26.558] [6768] [info]    video_channel[1|1080p5994] Successfully Initialized.
[2020-02-27 14:38:26.562] [6768] [error]   Throw location unknown (consider using BOOST_THROW_EXCEPTION)
Dynamic exception type: class boost::exception_detail::clone_impl<class boost::unknown_exception>
std::exception::what: Unknown exception
class caspar::win32_access_violation
[2020-02-27 14:38:26.588] [5200] [info]    flash-player[cg20.fth.pal|1024x576] Uninitialized.
[2020-02-27 14:38:26.593] [8624] [info]    flash[cg20.fth.pal|5000] Uninitialized.
[2020-02-27 14:38:26.616] [6768] [info]    oal[1|1080p5994] Sucessfully Initialized.
[2020-02-27 14:38:26.632] [4268] [info]    output[1] oal[1|1080p5994] Added.
[2020-02-27 14:38:26.637] [6768] [info]    video_channel[2|1080p5994] Successfully Initialized.
[2020-02-27 14:38:26.659] [6768] [error]   Throw location unknown (consider using BOOST_THROW_EXCEPTION)
Dynamic exception type: class boost::exception_detail::clone_impl<class boost::unknown_exception>
std::exception::what: Unknown exception
class caspar::win32_access_violation
[2020-02-27 14:38:26.671] [6768] [info]    oal[2|1080p5994] Sucessfully Initialized.
[2020-02-27 14:38:26.681] [8424] [info]    output[2] oal[2|1080p5994] Added.
[2020-02-27 14:38:26.685] [6768] [info]    Initialized channels.
[2020-02-27 14:38:26.688] [6768] [info]    Initialized thumbnail generator.
[2020-02-27 14:38:26.691] [6768] [info]    WinSock2 Initialized.
[2020-02-27 14:38:26.694] [6768] [info]    Listener successfully initialized
[2020-02-27 14:38:26.697] [6768] [info]    Initialized controllers.
[2020-02-27 14:38:26.700] [6768] [info]    Initialized osc.
[2020-02-27 14:38:26.703] [6768] [info]    Started initial media information retrieval.
[2020-02-27 14:38:26.985] [5244] [info]    Initial media information retrieval finished.

Could you help me what could be the problem?

Thanks,

Csaba


#2

That works for me. I quickly tried it on version 2.0.7. It says, that the device does not support that resolution, but it initializes and plays it whiteout any problem.


#3

I am trying with the same 2.0.7 verson, but as you can see in my post I cant see lines starting with “Decklink”. Did you tried with my config file?


#4

No, I tried with mine, just changed the resolution to 59.94p. But by looking at your config I see, that you have that <system-audio /> line in there. Do you need that? You use embedded audio, then the system audio doies not make too much sense. I use this channel section:

		<channel>
			<video-mode>1080p5994</video-mode>
			<straight-alpha-output>false</straight-alpha-output>
			<consumers>
				<decklink>
					<device>1</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>

#5

Thanks for the help, I reinstalled the Decklink Desktop Video Setup software and it now works fine. :smiley:


#6

Hi,

Now the CasparCG server works fine, but I have one problem. I can’t loop any video because it stops after one playout. What sources do you need from me for the troubleshoot.

Thanks,

Csaba