Decklink onboard hardware keying

A single Decklink channel CAN key over a live input without capturing into the PC. Live video to input > key overlay from application > Live video to output. This option can be demonstrated by the livekey utility that comes with decklink card, or in products such as Titlebox. Thus you can overlay graphics on a live video feed without capturing on one decklink channel, keying in software using CCG, and outputting to a second decklink channel.

Is there any way to use this feature of the decklink series with CasparCG, I only seem to be able to configure the damn thing to suck in video as a producer and output it as a consumer. It seems daft when the hardware is capable of doing a hardware ‘live’ key, that the CPU has to composite the production. The other beauty of using the Decklink hardware key you don’t get any latency on through the signal path.

Look at this post

Yep, started there - even using a declink duo, I just don’t get the ‘passthrough’ from the live input - all I get is the graphics. Its like there is no incoming signal (but there is as signal as can confirm with media express).

Very odd…

I never tried it wirh a Duo 2, only with the Extreme. But I would try the following: In Control Panel set the channels to be 4x single (no fill & key). Then in Caspar‘s config set keying mode to internal. That should probably do the trick.

1 Like

What @didikunz said + if you can have the setup you want in LiveKey but not in CasparCG: do try with a newer CasparCG release. These bidirectional cards sometimes require some additional setup that wasn’t supported by older versions.

Also: when setting up the 2 channel mode in the Decklink setting (so two of the virtual cards getting two connectors, and two of them having no connectors) and configuring with the “internal” keyer option in CasparCG - check if there is some signal output on the connector that is supposed to be the signal input. That could point you in the direction of a solution.

I am actually using the original Decklink Duo not the Duo 2, so shouldn’t have any issues with the bi-directional issues.

The overall issue is that I have 16 x Xeon 2.6Ghz, Quad Core, Hyper-threaded Servers with NVIDIA Quadro M2000 cards currently all running SD 720x576 FHA. These servers didn’t quiet have enough ‘grunt’ to handle 1080i50. I got rid of my screen consumer, and CPU usage dropped to below 50% when running in 1080i50, so this is absolutely fine. Fortunately these are dual CPU motherboards, and because of the age of them I can upgrade them with a matched pair of CPU’s for under $150 (Ebay), and give them an extra 8Gb Registered DDR3. I can also upgrade the GPU’s which may help a little, but Caspar dosen’t seem to over use the existing GPU’s (< 50%).

It strikes me that if I can get the final ‘composite’ between all my final CasparCG graphics layer, and my live input performed by the hardware (as I know it can do) i would save a few CPU cycles and improve general performance (and wipe out the latency of the live signal introduced by latency).

<?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:\\Templates\</template-path>
</paths>
<channels>
	<channel>
		<video-mode>1080i5000</video-mode>
		<straight-alpha-output>false</straight-alpha-output>
		<consumers>
			
			<decklink>
				<device>2</device>
				<embedded-audio>true</embedded-audio>
				<channel-layout>stereo</channel-layout>
				<latency>normal</latency>
 				<keyer>internal</keyer>
				<key-only>false</key-only>
				<buffer-depth>3</buffer-depth>
				<custom-allocator>true</custom-allocator>
			</decklink>			
			
		</consumers>
	</channel>
</channels>
<controllers>
	<tcp>
		<port>5250</port>
		<protocol>AMCP</protocol>
	</tcp>
</controllers>
</configuration>

It will not work with the old Duo, as it does not have a hardware keyer.

1 Like

the Duo 2 has a HD hardware keyer.
and you can even use Decklink SDI 4k to ad graphics to a HDSDI signal. (without the use of a mixer and audio loops to output)
You have to check the Black Magic settings for the card, there some output options that enable keying.

AFAIK only in SD.

No also in HD, I have just done this a few weeks ago with the newest cards.
Black Magic is not clear with information which card has a HD keyer.
Sometimes there are limitations with getting a Fill and Key out in HD.
I have used a Decklink SDI 4k to create a logo/ticker inserter.
I’m only using SDI in and out to loop the signal through the card.
I has nearly no delay (maybe 1 line)

That’s the non 4k version, SDI 4k can key internally in HD.

1 Like

So do we have a list of which cards we can do it on. I’v been playing with Decklink since the first SD cards (Studio, Studio 2 and even the analogue Decklink SP), which all had hardware keying in SD from Day 1.

So I have almost every Decklink Card from the SD and HD Generation, Including 3D Extreme, Duo, Duo 2, Quad, Quad 2, Mini Monitors, Mini Recorders. Are you saying the Duo wont Key HD, but the Duo 2 will?

As the Duo 2 is a pseudo 4 channel device, Will the DUO 2 offer me two separate inputs and two separate outputs, with hardware keying? Two producer & Two consumers?

Fortunately most of my business is amazingly still SD, so I only need an SD solution.

Keith

The Duo does not have a keyer, yes.

The Duo 2 is 4 channel (not pseudo). It has 4 BNC connectors (beside the reference). You can use each of the BNC’s as input OR output. So if you do internal keying, you can do 2 in and 2 out. If you do external keying you only have 2 channels, as you need a fill and a key out (2 BNC’s) per channel.

For the Quad 3 the same applies except that it has 8 BNC’s.

Why is that, as you are from the UK? And why “fortunately”?

For clarification, the Duo 2 is quite configurable, it has different modes. You can split the Duo 2 into 2 halves (and the quad into 4). Each half can be configured to be either 2 full duplex cards (so an independent in or output) or a single card with either an in/out config or an out/out config. In the in/out config you can use it with CasparCG in internal keying mode and in the out/out config CasparCG can be used in external keying mode. In both of the latter configs that half of the card appears to CasparCG as a single card. The modes have to be set in the desktop video application.

So in the end the duo 2 can be configured anywhere from 2 to 4 channels, with those channels having either 1 or 2 physical BNC’s available and those BNC’s are either in or output except when 2 BNC’s are bound and at least 1 of them is an output.

In 4 channel mode you would set up CasparCG with separate producers and consumers, but if you use internal keying this would be done inside the card for you and CasparCG only knows of the consumer.

I configure them in the BMD control panel applet. Don‘t know if you can do it also in the desktop video app.

The “Desktop video setup” program is for Windows 10

i[quote=“hreinnbeck, post:16, topic:2265, full:true”]
The “Desktop video setup” program is for Windows 10
[/quote]
Hahaha, and what was the name of that utility, that you use to record or play videos? Was that not named Desktop Video something? :joy:

That’s called “Blackmagic Media express”

…that was it. I messed it up. :+1: