CasparCG / help

File an issue here if you need help with CasparCG by the community-led support :+1:
https://casparcg.com
74 stars 8 forks source link

Decklink into ATEM is just showing a white screen #15

Closed vinsbit closed 5 years ago

vinsbit commented 5 years ago

It's black until I play a video through the client which goes white until I stop the video.

[2018-10-24 09:55:12.573] [6960] [info]    ############################################################################
[2018-10-24 09:55:12.573] [6960] [info]    CasparCG Server is distributed by the Swedish Broadcasting Corporation (SVT)
[2018-10-24 09:55:12.573] [6960] [info]    under the GNU General Public License GPLv3 or higher.
[2018-10-24 09:55:12.573] [6960] [info]    Please see LICENSE.TXT for details.
[2018-10-24 09:55:12.573] [6960] [info]    http://www.casparcg.com/
[2018-10-24 09:55:12.573] [6960] [info]    ############################################################################
[2018-10-24 09:55:12.573] [6960] [info]    Starting CasparCG Video and Graphics Playout Server 2.0.7.e9fc25a Stable
[2018-10-24 09:55:12.573] [6960] [info]    on Windows 7 Professional 
[2018-10-24 09:55:12.573] [6960] [info]    Intel(R) Core(TM) i5-3570 CPU @ 3.40GHz Physical Threads: 4
[2018-10-24 09:55:12.574] [6960] [info]    DQ77CP
[2018-10-24 09:55:12.582] [6960] [info]    Decklink 10.9.5
[2018-10-24 09:55:12.589] [6960] [info]     - DeckLink 4K Extreme [1]
[2018-10-24 09:55:12.590] [6960] [info]    Bluefish Not found
[2018-10-24 09:55:12.590] [6960] [info]    FreeImage 3.15.4
[2018-10-24 09:55:12.590] [6960] [info]    FFMPEG-avcodec 55.52.102
[2018-10-24 09:55:12.590] [6960] [info]    FFMPEG-avformat 55.33.100
[2018-10-24 09:55:12.590] [6960] [info]    FFMPEG-avfilter 4.2.100
[2018-10-24 09:55:12.590] [6960] [info]    FFMPEG-avutil 52.66.100
[2018-10-24 09:55:12.590] [6960] [info]    FFMPEG-swscale 2.5.102
[2018-10-24 09:55:12.591] [6960] [info]    Flash 30.0.0.113
[2018-10-24 09:55:12.592] [6960] [info]    flash[cg20.fth.pal|0] Initialized.
[2018-10-24 09:55:12.592] [6960] [info]    flash[cg20.fth.pal|0] Invoking info-command: <invoke name="GetInfo" returntype="xml"><arguments></arguments></invoke>
[2018-10-24 09:55:12.676] [6140] [debug]   flash-player[cg20.fth.pal|1024x576] [command]      <invoke name="OnCommand" returntype="xml"><arguments><string>Command recieved @GetInfo@?@</string></arguments></invoke>
[2018-10-24 09:55:12.725] [6140] [info]    flash-player[cg20.fth.pal|1024x576] Initialized.
[2018-10-24 09:55:12.727] [6140] [debug]   flash-player[cg20.fth.pal|1024x576] [command]      <invoke name="OnCommand" returntype="xml"><arguments><string>Command recieved @GetInfo@?@</string></arguments></invoke>
[2018-10-24 09:55:12.807] [6960] [trace]   Template-Host 2.0.4.3803 RC
[2018-10-24 09:55:12.810] [6960] [info]    NewTek iVGA unavailable (Processing.AirSend.x86.dll)
[2018-10-24 09:55:12.810] [6960] [info]    casparcg.config:
-----------------------------------------
<?xml version="1.0" encoding="utf-8"?>
<configuration>
   <paths>
      <media-path>X:\_NEWSDAY_PLAYOUT</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/>
            <system-audio/>
         </consumers>
      </channel>
   </channels>
   <controllers>
      <tcp>
         <port>5250</port>
         <protocol>AMCP</protocol>
      </tcp>
   </controllers>
</configuration>
-----------------------------------------
[2018-10-24 09:55:12.810] [6960] [info]    Initialized html module.
[2018-10-24 09:55:12.811] [6960] [info]    Initializing OpenGL Device.
[2018-10-24 09:55:13.006] [8168] [info]    OpenGL 4.0.0 - Build 9.17.10.2875 Intel
[2018-10-24 09:55:13.006] [8168] [info]    Successfully initialized OpenGL Device.
[2018-10-24 09:55:13.045] [6960] [info]    Initialized ffmpeg module.
[2018-10-24 09:55:13.050] [6960] [info]    Initialized bluefish module.
[2018-10-24 09:55:13.079] [6960] [info]    Initialized decklink module.
[2018-10-24 09:55:13.079] [6960] [info]    Initialized oal module.
[2018-10-24 09:55:13.079] [6960] [info]    Initialized newtek module.
[2018-10-24 09:55:13.079] [6960] [info]    Initialized ogl module.
[2018-10-24 09:55:13.079] [6960] [info]    Initialized flash module.
[2018-10-24 09:55:13.079] [6960] [info]    Initialized image module.
[2018-10-24 09:55:13.851] [8168] [info]    [shader] Blend-modes are disabled.
[2018-10-24 09:55:13.851] [6960] [warning] [image_mixer] TextureBarrierNV not supported. Post processing will not be available
[2018-10-24 09:55:13.853] [6960] [info]    video_channel[1|1080p2500] Successfully Initialized.
[2018-10-24 09:55:13.892] [7588] [info]    DeckLink 4K Extreme [1-1|1080p2500] Using custom allocator.
[2018-10-24 09:55:13.892] [7588] [info]    DeckLink 4K Extreme [1-1|1080p2500] Disabled low-latency mode.
[2018-10-24 09:55:13.892] [7588] [info]    DeckLink 4K Extreme [1-1|1080p2500] Enabled external keyer.
[2018-10-24 09:55:13.934] [7588] [info]    DeckLink 4K Extreme [1-1|1080p2500] Reference signal: not detected.
[2018-10-24 09:55:13.972] [6960] [info]    DeckLink 4K Extreme [1-1|1080p2500] Successfully Initialized.
[2018-10-24 09:55:13.985] [6256] [info]    output[1] DeckLink 4K Extreme [1-1|1080p2500] Added.
[2018-10-24 09:55:14.015] [6140] [info]    flash-player[cg20.fth.pal|1024x576] Uninitialized.
[2018-10-24 09:55:14.017] [3064] [info]    flash[cg20.fth.pal|5000] Uninitialized.
[2018-10-24 09:55:14.052] [6960] [info]    oal[1|1080p2500] Sucessfully Initialized.
[2018-10-24 09:55:14.092] [6256] [info]    output[1] oal[1|1080p2500] Added.
[2018-10-24 09:55:14.092] [6960] [info]    Initialized channels.
[2018-10-24 09:55:14.100] [6960] [warning] [image_mixer] TextureBarrierNV not supported. Post processing will not be available
[2018-10-24 09:55:14.102] [6960] [info]    Initialized thumbnail generator.
[2018-10-24 09:55:14.103] [6960] [info]    WinSock2 Initialized.
[2018-10-24 09:55:14.103] [6960] [info]    Listener successfully initialized
[2018-10-24 09:55:14.103] [6960] [info]    Initialized controllers.
[2018-10-24 09:55:14.103] [6960] [info]    Initialized osc.
[2018-10-24 09:55:14.103] [6960] [info]    Started initial media information retrieval.
[2018-10-24 09:55:14.437] [9168] [info]    Initial media information retrieval finished.
[2018-10-24 09:55:20.392] [9004] [info]    Accepted connection from 127.0.0.1 2
[2018-10-24 09:55:20.419] [9004] [info]    Received message from 127.0.0.1: VERSION SERVER\r\n
[2018-10-24 09:55:20.419] [7236] [debug]   Executed command: VersionCommand
[2018-10-24 09:55:20.419] [7236] [info]    Sent message to 127.0.0.1: 201 VERSION OK\r\n2.0.7.e9fc25a Stable\r\n
[2018-10-24 09:55:20.420] [9004] [info]    Received message from 127.0.0.1: INFO\r\n
[2018-10-24 09:55:20.420] [7236] [debug]   Executed command: InfoCommand
[2018-10-24 09:55:20.420] [7236] [info]    Sent message to 127.0.0.1: 200 INFO OK\r\n1 1080p2500 PLAYING\r\n\r\n
[2018-10-24 09:55:20.421] [9004] [info]    Received message from 127.0.0.1: CLS\r\n
[2018-10-24 09:55:20.422] [9004] [info]    Received message from 127.0.0.1: TLS\r\n
[2018-10-24 09:55:20.422] [9004] [info]    Received message from 127.0.0.1: DATA LIST\r\n
[2018-10-24 09:55:20.423] [9004] [info]    Received message from 127.0.0.1: THUMBNAIL LIST\r\n
[2018-10-24 09:55:20.425] [7236] [debug]   Executed command: ClsCommand
[2018-10-24 09:55:20.425] [7236] [info]    Sent message to 127.0.0.1: 200 CLS OK\r\n"18-03-12 GO GREEN PKG JPM"  MOVIE  1636519940 20180926155046 2802 1/25\r\n"20180924_153643"  STILL  7697842 20180925085815 0 0/1\r\n"5 SHOT SEQUENCE 2017"  MOVIE  324126255 20170111160238 3990 1/25\r\n\r\n
[2018-10-24 09:55:20.428] [7236] [debug]   Executed command: TlsCommand
[2018-10-24 09:55:20.428] [7236] [info]    Sent more than 512 bytes to 127.0.0.1
[2018-10-24 09:55:20.428] [7236] [debug]   Executed command: DataCommand
[2018-10-24 09:55:20.428] [7236] [info]    Sent message to 127.0.0.1: 200 DATA LIST OK\r\n\r\n
[2018-10-24 09:55:20.429] [7236] [debug]   Executed command: ThumbnailCommand
[2018-10-24 09:55:20.429] [7236] [info]    Sent message to 127.0.0.1: 200 THUMBNAIL LIST OK\r\n"18-03-12 GO GREEN PKG JPM" 20180926T155046 70728\r\n"20180924_153643" 20180925T085815 76321\r\n"5 SHOT SEQUENCE 2017" 20170111T160238 57531\r\n\r\n
[2018-10-24 09:55:36.461] [9004] [info]    Received message from 127.0.0.1: PLAY 1-10 "5 SHOT SEQUENCE 2017" CUT 1 Linear RIGHT\r\n
[2018-10-24 09:55:36.725] [6012] [info]    ffmpeg[5 SHOT SEQUENCE 2017.mp4|1920x1080i50.00|0/3990] [video-decoder] H.264 / AVC / MPEG-4 AVC / MPEG-4 part 10
[2018-10-24 09:55:36.728] [6012] [debug]   [audio-decoder] AAC (Advanced Audio Coding) Selected channel layout STEREO
[2018-10-24 09:55:36.728] [6012] [info]    ffmpeg[5 SHOT SEQUENCE 2017.mp4|1920x1080i50.00|0/3990] [audio-decoder] AAC (Advanced Audio Coding)
[2018-10-24 09:55:36.743] [6012] [info]    transition[empty=>ffmpeg[5 SHOT SEQUENCE 2017.mp4|1920x1080i50.00|0/3990]] Initialized.
[2018-10-24 09:55:36.743] [6012] [debug]   Executed command: PlayCommand
[2018-10-24 09:55:36.743] [6012] [info]    Sent message to 127.0.0.1: 202 PLAY OK\r\n
[2018-10-24 09:55:36.774] [4696] [info]    transition[empty=>ffmpeg[5 SHOT SEQUENCE 2017.mp4|1920x1080i50.00|0/3990]] End Of File.
[2018-10-24 09:55:36.830] [4696] [info]    
+---------------+
| filter_buffer |default--[1920x1080 1:1 yuv420p]--filter_buffersink:default
|   (buffer)    |
+---------------+

                                                       +-------------------+
filter_buffer:default--[1920x1080 1:1 yuv420p]--default| filter_buffersink |
                                                       |   (buffersink)    |
                                                       +-------------------+

[2018-10-24 09:55:36.830] [4696] [info]    [frame_muxer] simple 1920x1080p25.00
[2018-10-24 09:55:36.845] [4696] [info]    transition[empty=>ffmpeg[5 SHOT SEQUENCE 2017.mp4|1920x1080p25.00|1/3990]] Uninitialized.
[2018-10-24 09:55:52.610] [9004] [info]    Received message from 127.0.0.1: STOP 1-10\r\n
[2018-10-24 09:55:52.610] [6012] [debug]   Executed command: StopCommand
[2018-10-24 09:55:52.610] [6012] [info]    Sent message to 127.0.0.1: 202 STOP OK\r\nclient which 
silid commented 5 years ago

You are looking at the key channel on the decklink. Rewire to look at the fill.

vinsbit commented 5 years ago

Also, when I play it in a screen consumer, all video looks like this... casparcg

vinsbit commented 5 years ago

It works for all other playouts we use on the PC via the decklink. This is the only software that won't talk to it.

silid commented 5 years ago

Probably your other software doesn't provide a key. If you can't or don't want to switch you cable to the fill output try changing this in your config:

<decklink>
  <keyer>internal</keyer>
</decklink>
mint-dewit commented 5 years ago

This is the only software that won't talk to it.

Well, yeah, this software doesn't talk, it tends to listen. :) It needs configuration. Your configuration is set up to output fill and key, if you play a non transparent video the key signal will just show white.

Also, when I play it in a screen consumer, all video looks like this...

Do the default files that ship with CasparCG also show this? If so, this is most likely a GPU Driver issue. Otherwise it is most likely an encoding/decoding issue.

vinsbit commented 5 years ago

Everything has a green background :/

mint-dewit commented 5 years ago

Everything has a green background :/

Your graphics driver seems to be quite old. Try to update the graphics driver, either by downloading it directly from the intel website or from your motherboard's manufacturer's website..

vinsbit commented 5 years ago

Probably your other software doesn't provide a key. If you can't or don't want to switch you cable to the fill output try changing this in your config:

<decklink>
  <keyer>internal</keyer>
</decklink>

I've tried that. Doesn't work :( Is that a rewire on the decklink or the ATEM? Apologies - I'm a university technician and I specialise in radio, but there's noone else here with more expertise so I'm just trying to wade through all this!

mint-dewit commented 5 years ago

This should be the right connector for a fill signal on your card: afbeelding

If it isn't, try the one directly below. Your Atem is set up to take 1080p25 as well, right?

vinsbit commented 5 years ago

Lovely - I swapped all the cables around and it's now playing! It's still green but hey ho. One step at a time. Gives me more ammo for my ongoing battle with IT that the PC is not up to scratch!

Thank you all for your help :)