Decklink 3D+ Fill and Key

#1
Hi,

I was wondering if anyone could help me, I'm using the current version of CasparCG Server 2.0.7 and I can't figure out how to get a key signal out on my second output channel on my Decklink 3d+. To manually get Fill to get out, I had to launch the server program and then put "ADD 1 DECKLINK 1" for CasparCG to take over the Blackmagic card and output the fill signal that I send through CasparCG Client. So far, both output on my decklink card is outputting the Fill signals.

This is how the config file looks:

Code: Select all

 <channel>
        <video-mode> 1080i5994 [PAL|NTSC|576p2500|720p2398|720p2400|720p2500|720p5000|720p2997|720p5994|720p3000|720p6000|1080p2398|1080p2400|1080i5000|1080i5994|1080i6000|1080p2500|1080p2997|1080p3000|1080p5000|1080p5994|1080p6000|1556p2398|1556p2400|1556p2500|dci1080p2398|dci1080p2400|dci1080p2500|2160p2398|2160p2400|2160p2500|2160p2997|2160p3000|dci2160p2398|dci2160p2400|dci2160p2500] </video-mode>
        <channel-layout>stereo [mono|stereo|dts|dolbye|dolbydigital|smpte|passthru]</channel-layout>
        <straight-alpha-output>false [true|false]</straight-alpha-output>
        <consumers>
            <decklink>
                <device>1[1..]</device>
		<key-device>device + 1 [1..]</key-device>
                <embedded-audio>true [true|false]</embedded-audio>
                <channel-layout>stereo [mono|stereo|dts|dolbye|dolbydigital|smpte|passthru]</channel-layout>
                <latency>low [normal|low|default]</latency>
                <keyer>external [external|external_separate_device|internal|default]</keyer>
                <key-only>true [true|false]</key-only>
                <buffer-depth>3 [1..]</buffer-depth>
                <custom-allocator>true [true|false]</custom-allocator>
            </decklink>
            <bluefish>
                <device>[1..]</device>
                <embedded-audio>true [true|false]</embedded-audio>
                <channel-layout>passthru [mono|stereo|dts|dolbye|dolbydigital|smpte|passthru]</channel-layout>
                <key-only>false [true|false]</key-only>
            </bluefish>
            <system-audio></system-audio>
            <screen>
                <device>[0..]</device>
                <aspect-ratio>default [default|4:3|16:9]</aspect-ratio>
                <stretch>fill [none|fill|uniform|uniform_to_fill]</stretch>
                <windowed>false [true|false]</windowed>
                <key-only>false [true|false]</key-only>
                <auto-deinterlace>true [true|false]</auto-deinterlace>
                <vsync>false [true|false]</vsync>
                <name>[Screen Consumer]</name>
                <borderless>false [true|false]</borderless>
            </screen>
            <newtek-ivga>
              <channel-layout>stereo [mono|stereo|dts|dolbye|dolbydigital|smpte|passthru]</channel-layout>
              <provide-sync>true [true|false]</provide-sync>
            </newtek-ivga>
            <file>
                <path></path>
                <vcodec>libx264 [libx264|qtrle]</vcodec>
                <separate-key>false [true|false]</separate-key>
            </file>
            <stream>
                <path></path>
                <args></args>
            </stream>
        </consumers>
    </channel>
    

Re: Decklink 3D+ Fill and Key

#2
You config is a complete mess. The config file, that comes with the download has, in the lower portion a section starting with <!-- and ending with --> These two tokens are comment marks and the the program, that reads the XML, to ignore everything that is between. In this comment section most of the settings are documented with all possible values. So if you just enable this section, by removing the comment tokens the settings file will become corrupt an unreadable. A valid casparcg.config should look something like this:

Code: Select all

<?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>
		<log-level>debug</log-level>
		<channel-grid>false</channel-grid>
		<mixer>
			<blend-modes>false</blend-modes>
			<straight-alpha>false</straight-alpha>
			<chroma-key>false</chroma-key>
			<mipmapping_default_on>false</mipmapping_default_on>
		</mixer>
	<auto-deinterlace>true</auto-deinterlace>
	<auto-transcode>true</auto-transcode>
	<pipeline-tokens>2</pipeline-tokens>
	<thumbnails>
		<generate-thumbnails>true</generate-thumbnails>
		<width>256</width>
		<height>144</height>
		<video-grid>2</video-grid>
		<scan-interval-millis>5000</scan-interval-millis>
		<generate-delay-millis>2000</generate-delay-millis>
		<video-mode>1080i5000</video-mode>
		<mipmap>false</mipmap>
	</thumbnails>
	<channels>
		<channel>
			<video-mode>1080i5994</video-mode>
			<channel-layout>stereo</channel-layout>
			<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>
	</channels>
	<controllers>
		<tcp>
			<port>5250</port>
			<protocol>AMCP</protocol>
		</tcp>
	</controllers>
</configuration>
Didi Kunz
CasparCG Client-Programmer, Template Maker & Live CG-Operator
Media Support, CH-5722 Gränichen, Switzerland http://mediasupport.ch/
Problems? Guide to posting Bug reports & Feature requests

Re: Decklink 3D+ Fill and Key

#3
When I downloaded the version from the site, thats how it came as. But thank you for your response, I got around this issue by going to the v2.1.0 beta and the key automatically worked.

If you don't mind me asking another question since I'm new to this, is there a way to get a HTML link to display the output in CasparCG?
Its like using a source link in OBS or WireCast to display some graphics.
Does this require a custom coding in scripting and HTML?
cron