Casparcg 2.3.0 and Intensity Pro 4k

Hello everyone, i am new with caspar.
I have two decklink cards Intensity Pro 4k and Caspar 2.3.0 on Ubuntu 18.04.

My config is

<?xml version="1.0" encoding="utf-8"?>

<configuration>
<log-level>trace</log-level>
    <paths>
        <media-path>media/</media-path>
        <log-path>log/</log-path>
        <data-path>data/</data-path>
        <template-path>template/</template-path>
    </paths>
    <lock-clear-phrase>secret</lock-clear-phrase>
    <channels>
        <channel>
            <video-mode>1080p6000</video-mode>
            <consumers>
                <decklink>
                        <device>1</device>
                        <embedded-audio>true</embedded-audio>
			<channel-layout>stereo</channel-layout>
			<latency>normal</latency>
			<buffer-depth>3</buffer-depth>
                </decklink>
            </consumers>
        </channel>
    </channels>
    <controllers>
        <tcp>
            <port>5250</port>
            <protocol>AMCP</protocol>
        </tcp>
    </controllers>
    <amcp>
        <media-server>
            <host>localhost</host>
            <port>8000</port>
        </media-server>
    </amcp>
</configuration>

When i play video files and html everything is ok, but i cant see anything if i trying play input from second Intensity pro 4k.
Could someone tell me where is my mistake? Thank you.

P.S. i just had tried winows server - just the same, i have sound normally playing, but no video - black screen.

What command do you send for that?

no pic, only sound:
PLAY 1-10 DECKLINK DEVICE 2 FORMAT 1080p6000

if i do
PLAY 1-10 “SOME_VIDEO_FILE” CUT 1 Linear RIGHT
that video playing correct pic and sound from videofile.

Hmm… Never tried this with a Intensity. The command looks ok. And you feed a 1080p60 signal to it, not a 59.94, right?

yes. i put a notebook to input of device 2 and blackmagic video setup shows me 1080p60.
also i trying connect second display to output of device 2 and if i start MediaExpress it shows what is on input perfectly (desktop from notebook) and if i start same setup with casparcg, display on device 1 shows white screen and the second one shows green and red-blue strips.

PLAY 5-1 “TEST07” - this is a picture and playing normally on display connected to device on channel 5, chanel config is

 <channel>
                <video-mode>1080p6000</video-mode>
                <consumers>
                        <decklink>
                                <device>4</device>
                                <embedded-audio>true</embedded-audio>
                                <channel-layout>stereo</channel-layout>
                                <latency>low</latency>
                                <key-only>false</key-only>
                                <buffer-depth>3</buffer-depth>
                                <custom-allocator>true</custom-allocator>
                        </decklink>
                </consumers>
        </channel>

now i do

PLAY 5-1 DECKLINK DEVICE 5 FORMAT 1080p6000

on device 5 i have input signal connected to one windows station and only black screen

[2020-11-18 13:23:09.170] [info]    Received message from Console: PLAY 5-1 DECKLINK DEVICE 5 FORMAT 1080p6000\r\n
[2020-11-18 13:23:09.170] [debug]   Executing command: PLAY
[2020-11-18 13:23:09.273] [trace]   [ffmpeg] [in_0 @ 0x7446b876be80] Setting 'video_size' to value '1920x1080'
[2020-11-18 13:23:09.273] [trace]   
[2020-11-18 13:23:09.273] [trace]   [ffmpeg] [in_0 @ 0x7446b876be80] Setting 'pix_fmt' to value '15'
[2020-11-18 13:23:09.273] [trace]   
[2020-11-18 13:23:09.273] [trace]   [ffmpeg] [in_0 @ 0x7446b876be80] Setting 'time_base' to value '1/1000000'
[2020-11-18 13:23:09.273] [trace]   
[2020-11-18 13:23:09.273] [trace]   [ffmpeg] [in_0 @ 0x7446b876be80] Setting 'sar' to value '1/1'
[2020-11-18 13:23:09.273] [trace]   
[2020-11-18 13:23:09.273] [trace]   [ffmpeg] [in_0 @ 0x7446b876be80] Setting 'frame_rate' to value '60/1'
[2020-11-18 13:23:09.273] [trace]   
[2020-11-18 13:23:09.273] [trace]   [ffmpeg] [in_0 @ 0x7446b876be80] w:1920 h:1080 pixfmt:uyvy422 tb:1/1000000 fr:60/1 sar:1/1 sws_param:
[2020-11-18 13:23:09.273] [trace]   
[2020-11-18 13:23:09.274] [trace]   [ffmpeg] [AVFilterGraph @ 0x744685567f80] query_formats: 3 queried, 2 merged, 0 already done, 0 delayed
[2020-11-18 13:23:09.274] [trace]   
[2020-11-18 13:23:09.274] [debug]                                                 +---------------+
[2020-11-18 13:23:09.274] [debug]   in_0:default--[1920x1080 1:1 uyvy422]--default| Parsed_null_0 |default--[1920x1080 1:1 uyvy422]--out:default
[2020-11-18 13:23:09.274] [debug]                                                 |    (null)     |
[2020-11-18 13:23:09.274] [debug]                                                 +---------------+
[2020-11-18 13:23:09.274] [debug]   
[2020-11-18 13:23:09.274] [debug]   +----------+
[2020-11-18 13:23:09.274] [debug]   |   in_0   |default--[1920x1080 1:1 uyvy422]--Parsed_null_0:default
[2020-11-18 13:23:09.274] [debug]   | (buffer) |
[2020-11-18 13:23:09.274] [debug]   +----------+
[2020-11-18 13:23:09.274] [debug]   
[2020-11-18 13:23:09.274] [debug]                                                          +--------------+
[2020-11-18 13:23:09.274] [debug]   Parsed_null_0:default--[1920x1080 1:1 uyvy422]--default|     out      |
[2020-11-18 13:23:09.274] [debug]                                                          | (buffersink) |
[2020-11-18 13:23:09.274] [debug]                                                          +--------------+
[2020-11-18 13:23:09.274] [debug]   
[2020-11-18 13:23:09.274] [debug]   
[2020-11-18 13:23:09.277] [trace]   [ffmpeg] [Parsed_aresample_1 @ 0x7446b876bb80] Setting 'sample_rate' to value '48000'
[2020-11-18 13:23:09.277] [trace]   
[2020-11-18 13:23:09.277] [trace]   [ffmpeg] [Parsed_aresample_1 @ 0x7446b876bb80] Setting 'async' to value '2000'
[2020-11-18 13:23:09.277] [trace]   
[2020-11-18 13:23:09.278] [trace]   [ffmpeg] [Parsed_aresample_1 @ 0x7446b876bb80] Setting 'sample_rate' to value '48000'
[2020-11-18 13:23:09.278] [trace]   
[2020-11-18 13:23:09.278] [trace]   [ffmpeg] [Parsed_aresample_1 @ 0x7446b876bb80] Setting 'async' to value '2000'
[2020-11-18 13:23:09.278] [trace]   
[2020-11-18 13:23:09.278] [trace]   [ffmpeg] [in_0 @ 0x7446b876bc40] Setting 'time_base' to value '1/48000'
[2020-11-18 13:23:09.278] [trace]   
[2020-11-18 13:23:09.278] [trace]   [ffmpeg] [in_0 @ 0x7446b876bc40] Setting 'sample_rate' to value '48000'
[2020-11-18 13:23:09.278] [trace]   
[2020-11-18 13:23:09.278] [trace]   [ffmpeg] [in_0 @ 0x7446b876bc40] Setting 'sample_fmt' to value '2'
[2020-11-18 13:23:09.278] [trace]   
[2020-11-18 13:23:09.278] [trace]   [ffmpeg] [in_0 @ 0x7446b876bc40] Setting 'channel_layout' to value '0x63f'
[2020-11-18 13:23:09.278] [trace]   
[2020-11-18 13:23:09.278] [trace]   [ffmpeg] [in_0 @ 0x7446b876bc40] tb:1/48000 samplefmt:s32 samplerate:48000 chlayout:0x63f
[2020-11-18 13:23:09.278] [trace]   
[2020-11-18 13:23:09.278] [trace]   [ffmpeg] [AVFilterGraph @ 0x744685567c00] query_formats: 4 queried, 9 merged, 0 already done, 0 delayed
[2020-11-18 13:23:09.278] [trace]   
[2020-11-18 13:23:09.278] [trace]   [ffmpeg] [Parsed_aresample_1 @ 0x7446b876bb80] [SWR @ 0x744642282500] Using s32p internally between filters
[2020-11-18 13:23:09.278] [trace]   
[2020-11-18 13:23:09.278] [trace]   [ffmpeg] [Parsed_aresample_1 @ 0x7446b876bb80] ch:8 chl:7.1 fmt:s32 r:48000Hz -> ch:8 chl:7.1 fmt:s32 r:48000Hz
[2020-11-18 13:23:09.278] [trace]   
[2020-11-18 13:23:09.278] [debug]                                           +----------------+
[2020-11-18 13:23:09.278] [debug]   in_0:default--[48000Hz s32:7.1]--default| Parsed_anull_0 |default--[48000Hz s32:7.1]--Parsed_aresample_1:default
[2020-11-18 13:23:09.278] [debug]                                           |    (anull)     |
[2020-11-18 13:23:09.278] [debug]                                           +----------------+
[2020-11-18 13:23:09.278] [debug]   
[2020-11-18 13:23:09.278] [debug]                                                     +--------------------+
[2020-11-18 13:23:09.278] [debug]   Parsed_anull_0:default--[48000Hz s32:7.1]--default| Parsed_aresample_1 |default--[48000Hz s32:7.1]--out:default
[2020-11-18 13:23:09.278] [debug]                                                     |    (aresample)     |
[2020-11-18 13:23:09.278] [debug]                                                     +--------------------+
[2020-11-18 13:23:09.278] [debug]   
[2020-11-18 13:23:09.278] [debug]   +-----------+
[2020-11-18 13:23:09.278] [debug]   |   in_0    |default--[48000Hz s32:7.1]--Parsed_anull_0:default
[2020-11-18 13:23:09.278] [debug]   | (abuffer) |
[2020-11-18 13:23:09.278] [debug]   +-----------+
[2020-11-18 13:23:09.278] [debug]   
[2020-11-18 13:23:09.278] [debug]                                                         +---------------+
[2020-11-18 13:23:09.278] [debug]   Parsed_aresample_1:default--[48000Hz s32:7.1]--default|      out      |
[2020-11-18 13:23:09.278] [debug]                                                         | (abuffersink) |
[2020-11-18 13:23:09.278] [debug]                                                         +---------------+
[2020-11-18 13:23:09.278] [debug]   
[2020-11-18 13:23:09.278] [debug]   
[2020-11-18 13:23:09.286] [info]    Intensity Pro 4K [5|1080p6000] Initialized
[2020-11-18 13:23:09.289] [debug]   Executed command (0.119s): PLAY
#202 PLAY OK
[2020-11-18 13:23:09.289] [trace]   Ready for a new command

BMD driver is 11.7

YES, my fault!

I have make with nvidia settings YCbCr444, not RGB and everything works fine.
but, with 4k resolutions i have RGB mode only and i do:
gst-launch-1.0 -v decklinkvideosrc device-number=8 connection=2 video-format=3 mode=2160p30 do-timestamp=true timecode-format=2 ! videoconvert ! xvimagesink

where i set RGB mode with video-format=3

gst-inspect-1.0 decklinkvideosrc
(0): auto             - Auto
(1): 8bit-yuv         - bmdFormat8BitYUV
(2): 10bit-yuv        - bmdFormat10BitYUV
(3): 8bit-argb        - bmdFormat8BitARGB
(4): 8bit-bgra        - bmdFormat8BitBGRA

Everything playing well with gstreamer but something wrong with video mode on 4k resolution and rgb mode with caspar.

It is possible set video-format in casparcg? or it works only with yuv?

Broadcast video traditionally uses YUV and not RGB. So I think it‘s better to use that.

So there is no way to use RGB mode?

hm… i found. Intensity pro 4k supports resolution up to 2160p30 and support only rgb with resolution higher 1080p60.
i have Quad HDMI recorder and manage with 2160p30 and yuv.

Thank you for help!

Privacy Policy   Terms of Service