Key out of sync

template

#1

Hello,

take a look at this video

at the minute 9:18 and over appears a start list. As you can see it is not perfect.

It looks alright on the consumer when I made it but in this production this is the effect it made…

50 fps 1080i50 in flash. Mini studio HD decklink

Any suggest is welcome

Thanks guys!

Federico


#2

[quote=“fdeigiudici, post:1, topic:1789”]
at the minute 9:18 and over appears a start list. As you can see it is not perfect.[/quote]

I don‘t see it. I am on an iPad, probably it‘s more appealing on a bigger screen. What is the problem? Is the background behind the text also inside the template or is it a video?


#3

Are you talking about the black coming in before the graphics? That’s likely they key out of sync.


#4

@didikunz sorry is what @hreinnbeck talking about. Probably is not the data but the key the issue.
Is it something that has to be fix on template side or decklink?

Thanks guys


#5

Usually not template related but either your Caspar or videomixer settings or connections. Need more information on your signal path.


#6

Caspar config - using just FIll & Key from black magic mini ultrastudio

<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<configuration>
  <paths>
    <media-path>C:\CasparCG Server 2.0.7\CasparCG Server\Server\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>PAL</video-mode>
      <consumers>
        <screen>
          <device>1</device>
          <name>Preview</name>
        </screen>
      </consumers>
    </channel>
    <channel>
      <video-mode>1080i5000</video-mode>
      <consumers>
        <decklink>
          <device>1</device>
        </decklink>
      </consumers>
    </channel>
  </channels>
  <controllers>
    <tcp>
      <port>5250</port>
      <protocol>AMCP</protocol>
    </tcp>
  </controllers>
</configuration>
<!--

<log-level>        trace [trace|debug|info|warning|error]</log-level>
<channel-grid>     false [true|false]</channel-grid>
<auto-deinterlace> true  [true|false]</auto-deinterlace>
<auto-transcode>   true  [true|false]</auto-transcode>
<pipeline-tokens>  2     [1..]       </pipeline-tokens>
<mixer>
    <blend-modes>          false [true|false]</blend-modes>
    <straight-alpha>       false [true|false]</straight-alpha>
    <chroma-key>           false [true|false]</chroma-key>
    <mipmapping_default_on>false [true|false]</mipmapping_default_on>
</mixer>
<template-hosts>
    <template-host>
        <video-mode/>
        <filename/>
        <width/>
        <height/>
    </template-host>
</template-hosts>
<flash>
    <buffer-depth>auto [auto|1..]</buffer-depth>
</flash>
<thumbnails>
	<generate-thumbnails>true [true|false]</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>720p2500</video-mode>
	<mipmap>false</mipmap>
</thumbnails>
<channels>
    <channel>
        <video-mode> PAL [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..]</device>
                <key-device>device + 1 [1..]</key-device>
                <embedded-audio>false [true|false]</embedded-audio>
                <channel-layout>stereo [mono|stereo|dts|dolbye|dolbydigital|smpte|passthru]</channel-layout>
                <latency>normal [normal|low|default]</latency>
                <keyer>external [external|external_separate_device|internal|default]</keyer>
                <key-only>false [true|false]</key-only>
                <buffer-depth>3 [1..]</buffer-depth>
                <custom-allocator>true [true|false]</custom-allocator>
            </decklink>
            <bluefish>
                <device>[1..]</device>
                <embedded-audio>false [true|false]</embedded-audio>
                <channel-layout>stereo [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>
</channels>
<osc>
	<default-port>6250</default-port>
	<predefined-clients>
		<predefined-client>
			<address>127.0.0.1</address>
			<port>5253</port>
		</predefined-client>
	</predefined-clients>
</osc>
<audio>
	<channel-layouts>
		<channel-layout>
			<name>mono</name>
			<type>1.0</type>
			<num-channels>1</num-channels>
			<channels>C</channels>
		</channel-layout>
		<channel-layout>
			<name>stereo</name>
			<type>2.0</type>
			<num-channels>2</num-channels>
			<channels>L R</channels>
		</channel-layout>
		<channel-layout>
			<name>dts</name>
			<type>5.1</type>
			<num-channels>6</num-channels>
			<channels>C L R Ls Rs LFE</channels>
		</channel-layout>
		<channel-layout>
			<name>dolbye</name>
			<type>5.1+stereomix</type>
			<num-channels>8</num-channels>
			<channels>L R C LFE Ls Rs Lmix Rmix</channels>
		</channel-layout>
		<channel-layout>
			<name>dolbydigital</name>
			<type>5.1</type>
			<num-channels>6</num-channels>
			<channels>L C R Ls Rs LFE</channels>
		</channel-layout>
		<channel-layout>
			<name>smpte</name>
			<type>5.1</type>
			<num-channels>6</num-channels>
			<channels>L R C LFE Ls Rs</channels>
		</channel-layout>
		<channel-layout>
			<name>passthru</name>
			<type>16ch</type>
			<num-channels>16</num-channels>
			<channels />
		</channel-layout>
	</channel-layouts>
	<mix-configs>
		<mix-config>
			<from>1.0</from>
			<to>2.0</to>
			<mix>add</mix>
			<mappings>
				<mapping>C L 1.0</mapping>
				<mapping>C R 1.0</mapping>
			</mappings>
		</mix-config>
		<mix-config>
			<from>1.0</from>
			<to>5.1</to>
			<mix>add</mix>
			<mappings>
				<mapping>C L 1.0</mapping>
				<mapping>C R 1.0</mapping>
			</mappings>
		</mix-config>
		<mix-config>
			<from>1.0</from>
			<to>5.1+stereomix</to>
			<mix>add</mix>
			<mappings>
				<mapping>C L    1.0</mapping>
				<mapping>C R    1.0</mapping>
				<mapping>C Lmix 1.0</mapping>
				<mapping>C Rmix 1.0</mapping>
			</mappings>
		</mix-config>
		<mix-config>
			<from>2.0</from>
			<to>1.0</to>
			<mix>add</mix>
			<mappings>
				<mapping>L C 1.0</mapping>
				<mapping>R C 1.0</mapping>
			</mappings>
		</mix-config>
		<mix-config>
			<from>2.0</from>
			<to>5.1</to>
			<mix>add</mix>
			<mappings>
				<mapping>L L 1.0</mapping>
				<mapping>R R 1.0</mapping>
			</mappings>
		</mix-config>
		<mix-config>
			<from>2.0</from>
			<to>5.1+stereomix</to>
			<mix>add</mix>
			<mappings>
				<mapping>L L    1.0</mapping>
				<mapping>R R    1.0</mapping>
				<mapping>L Lmix 1.0</mapping>
				<mapping>R Rmix 1.0</mapping>
			</mappings>
		</mix-config>
		<mix-config>
			<from>5.1</from>
			<to>1.0</to>
			<mix>average</mix>
			<mappings>
				<mapping>L  C 1.0</mapping>
				<mapping>R  C 1.0</mapping>
				<mapping>C  C 0.707</mapping>
				<mapping>Ls C 0.707</mapping>
				<mapping>Rs C 0.707</mapping>
			</mappings>
		</mix-config>
		<mix-config>
			<from>5.1</from>
			<to>2.0</to>
			<mix>average</mix>
			<mappings>
				<mapping>L  L 1.0</mapping>
				<mapping>R  R 1.0</mapping>
				<mapping>C  L 0.707</mapping>
				<mapping>C  R 0.707</mapping>
				<mapping>Ls L 0.707</mapping>
				<mapping>Rs R 0.707</mapping>
			</mappings>
		</mix-config>
		<mix-config>
			<from>5.1</from>
			<to>5.1+stereomix</to>
			<mix>average</mix>
			<mappings>
				<mapping>L   L   1.0</mapping>
				<mapping>R   R   1.0</mapping>
				<mapping>C   C   1.0</mapping>
				<mapping>Ls  Ls  1.0</mapping>
				<mapping>Rs  Rs  1.0</mapping>
				<mapping>LFE LFE 1.0</mapping>

				<mapping>L  Lmix 1.0</mapping>
				<mapping>R  Rmix 1.0</mapping>
				<mapping>C  Lmix 0.707</mapping>
				<mapping>C  Rmix 0.707</mapping>
				<mapping>Ls Lmix 0.707</mapping>
				<mapping>Rs Rmix 0.707</mapping>
			</mappings>
		</mix-config>
		<mix-config>
			<from>5.1+stereomix</from>
			<to>1.0</to>
			<mix>add</mix>
			<mappings>
				<mapping>Lmix C 1.0</mapping>
				<mapping>Rmix C 1.0</mapping>
			</mappings>
		</mix-config>
		<mix-config>
			<from>5.1+stereomix</from>
			<to>2.0</to>
			<mix>add</mix>
			<mappings>
				<mapping>Lmix L 1.0</mapping>
				<mapping>Rmix R 1.0</mapping>
			</mappings>
		</mix-config>
		<mix-config>
			<from>5.1+stereomix</from>
			<to>5.1</to>
			<mix>add</mix>
			<mappings>
				<mapping>L   L   1.0</mapping>
				<mapping>R   R   1.0</mapping>
				<mapping>C   C   1.0</mapping>
				<mapping>Ls  Ls  1.0</mapping>
				<mapping>Rs  Rs  1.0</mapping>
				<mapping>LFE LFE 1.0</mapping>
			</mappings>
		</mix-config>
	</mix-configs>
</audio>
-->

#7

Looks OK to me. That just leaves your video mixer settings.


#8

I think on the setting of video mixer you select Luma key, you check again setting key on your mixer ,you select linear key and test again.


#9

Ok, I am sorry for the ignorance, but you mean the physical video mixer of the OB van or my CG Video mixer settings?


#10

OK this I think then is something that should be done by the broadcaster that is operating on the mixer.
Ok thank you !


#11

You should add the following to your Decklink in the config:

<channel>
	<video-mode>1080p5000</video-mode>
	<consumers>
		<decklink>
			<device>1</device>
			<keyer>external</keyer>
			<embedded-audio>true</embedded-audio>
			<channel-layout>stereo</channel-layout>
			<latency>normal</latency>
			<key-only>false</key-only>
			<buffer-depth>3</buffer-depth>
			<custom-allocator>true</custom-allocator>
		</decklink>
		<system-audio/>
	</consumers>
</channel>    

To make the outputs fill and key. Then the mixer in the OB Van needs to be configured correctly. Do you know what brand and model the video mixer is? Dependent on that, it’s possible that you need to enable “straight alpha”.


#12

Hi,
nope I do not know which one it is. We change many TV productions along the year so everytime we got different ones.
We only produce timing graphics and anything else :slight_smile:
I will follow your suggestions and as soon as possible make a test and hopefully check this ticket as solved :slight_smile:
Thank you Didi!

Federico


#13

Refere to this for informations on how to setup vision mixers for CasparCG. The engineers of the ob vans normally know what keyer mode the mixer is working in.


#14

Thank you Didi!