CasparCG / server

CasparCG Server is a Windows and Linux software used to play out professional graphics, audio and video to multiple outputs. It has been in 24/7 broadcast production since 2006. Ready-to-use downloads are available under the Releases tab https://casparcg.com.
GNU General Public License v3.0
912 stars 268 forks source link

Video plays out too slow (50%) on DeckLink Duo2 #469

Closed videohead closed 6 years ago

videohead commented 8 years ago

Server runs successfully. Client runs successfully. The only error message in the log is : DeckLink Duo 2 [2-3|720p5994] Failed to enable external keyer (not using external keyer or keyed files at all) Same results everytime - video output is the wrong speed, audio is choppy or the wrong speed Playback system: Intel Xeon CPU E-5 1607 @3.00GHz 18 GB of RAM Windows 7 64-bit Samsung SSD drive for OS and playback (have tried 3 separate media locations with the same result). BlackMagic Design Decklink Duo2 Driver 10.7 (have also tried drivers 10.6.5, 10.6.6 with the same results) QuickTime 7.7.9 Have tried 4 versions of CasparCG Server and 3 client packages, as well as command line playout (without the client). caspar_2016-08-24.txt

hummelstrand commented 8 years ago

From what I have heard, this is confirmed a bug in the Decklink drivers with the Duo2 cards. All we can do is to wait for a fix from BMD.

 Jonas Hummelstrand
 http://SuperFly.tv
 +46-733-970000
videohead commented 8 years ago

Thanks. Would you recommend that I contact BlackMagic Design?

HellGore commented 8 years ago

In the attached log the Decklink version is 10.7.1 but you say 10.7 in the description. Please try 10.7 and let us know how that works. For both the Quad 2 and Duo 2 10.7 is the best driver but only if you use CasparCG Server build https://github.com/CasparCG/Server/commit/6fcaa28bd5c747e88368e15cb0d18c14e3449a00 or later.

videohead commented 8 years ago

Tried 10.7 drivers and 6fcaa28 build and no improvement or change. Thanks.

[2016-08-26 14:55:45.347] [7456] [info] ############################################################################ [2016-08-26 14:55:45.350] [7456] [info] CasparCG Server is distributed by the Swedish Broadcasting Corporation (SVT) [2016-08-26 14:55:45.350] [7456] [info] under the GNU General Public License GPLv3 or higher. [2016-08-26 14:55:45.350] [7456] [info] Please see LICENSE.TXT for details. [2016-08-26 14:55:45.350] [7456] [info] http://www.casparcg.com/ [2016-08-26 14:55:45.350] [7456] [info] ############################################################################ [2016-08-26 14:55:45.350] [7456] [info] Starting CasparCG Video and Graphics Playout Server 2.1.0.6fcaa28 UNSTABLE [2016-08-26 14:55:45.350] [7456] [info] on Windows 7 Professional Service Pack 1 [2016-08-26 14:55:45.350] [7456] [info] Intel(R) Xeon(R) CPU E5-1607 0 @ 3.00GHz Physical Threads: 4 [2016-08-26 14:55:45.350] [7456] [info] HP Z420 Workstation [2016-08-26 14:55:45.353] [7456] [info] Initialized ffmpeg module. [2016-08-26 14:55:45.353] [7456] [info] Initialized oal module. [2016-08-26 14:55:45.364] [7456] [info] Initialized bluefish module. [2016-08-26 14:55:45.364] [7456] [info] Initialized decklink module. [2016-08-26 14:55:45.364] [7456] [info] Initialized screen module. [2016-08-26 14:55:45.384] [7456] [info] Initialized html module. [2016-08-26 14:55:45.384] [7456] [info] Initialized psd module. [2016-08-26 14:55:45.384] [7456] [info] Initialized flash module. [2016-08-26 14:55:45.384] [7456] [info] Initialized newtek module. [2016-08-26 14:55:45.384] [7456] [info] Initialized image module. [2016-08-26 14:55:45.385] [7456] [info] Initialized reroute module. [2016-08-26 14:55:45.427] [7456] [info] ffmpeg.avcodec 56.41.100 [2016-08-26 14:55:45.427] [7456] [info] ffmpeg.avformat 56.36.100 [2016-08-26 14:55:45.427] [7456] [info] ffmpeg.avfilter 5.16.101 [2016-08-26 14:55:45.427] [7456] [info] ffmpeg.avutil 54.27.100 [2016-08-26 14:55:45.427] [7456] [info] ffmpeg.swscale 3.1.101 [2016-08-26 14:55:45.427] [7456] [info] bluefish.version Not found [2016-08-26 14:55:45.427] [7456] [info] decklink.version 10.7 [2016-08-26 14:55:45.427] [7456] [info] decklink.device DeckLink Duo 2 [1] [2016-08-26 14:55:45.427] [7456] [info] decklink.device DeckLink Duo 2 [2] [2016-08-26 14:55:45.427] [7456] [info] decklink.device DeckLink Duo 2 [3] [2016-08-26 14:55:45.427] [7456] [info] decklink.device DeckLink Duo 2 [4] [2016-08-26 14:55:45.427] [7456] [info] cef.version 3.1750.1805 [2016-08-26 14:55:45.427] [7456] [info] cef.chromeversion 33.0.1750.170 [2016-08-26 14:55:45.427] [7456] [info] flash Not found [2016-08-26 14:55:45.427] [7456] [info] newtek-ivga.version unavailable (Processing.AirSend.x64.dll) [2016-08-26 14:55:45.427] [7456] [info] freeimage 3.16.0 [2016-08-26 14:55:45.428] [7456] [info] casparcg.config: [2016-08-26 14:55:45.428] [7456] [info] ----------------------------------------- [2016-08-26 14:55:45.428] [7456] [info] <?xml version="1.0" encoding="utf-8"?> [2016-08-26 14:55:45.428] [7456] [info] [2016-08-26 14:55:45.428] [7456] [info] [2016-08-26 14:55:45.428] [7456] [info] media [2016-08-26 14:55:45.428] [7456] [info] log [2016-08-26 14:55:45.428] [7456] [info] data [2016-08-26 14:55:45.428] [7456] [info] templates [2016-08-26 14:55:45.428] [7456] [info] thumbnails [2016-08-26 14:55:45.428] [7456] [info] [2016-08-26 14:55:45.428] [7456] [info] [2016-08-26 14:55:45.428] [7456] [info] [2016-08-26 14:55:45.428] [7456] [info] 720p5994 [2016-08-26 14:55:45.428] [7456] [info] [2016-08-26 14:55:45.428] [7456] [info] [2016-08-26 14:55:45.428] [7456] [info] 1 [2016-08-26 14:55:45.428] [7456] [info] device + 1 [2016-08-26 14:55:45.428] [7456] [info] true [2016-08-26 14:55:45.428] [7456] [info] stereo [2016-08-26 14:55:45.428] [7456] [info] normal [2016-08-26 14:55:45.428] [7456] [info] 1 [2016-08-26 14:55:45.428] [7456] [info] true [2016-08-26 14:55:45.428] [7456] [info] [2016-08-26 14:55:45.428] [7456] [info] [2016-08-26 14:55:45.428] [7456] [info] [2016-08-26 14:55:45.428] [7456] [info] [2016-08-26 14:55:45.428] [7456] [info] [2016-08-26 14:55:45.428] [7456] [info] 720p5994 [2016-08-26 14:55:45.428] [7456] [info] [2016-08-26 14:55:45.428] [7456] [info] [2016-08-26 14:55:45.428] [7456] [info] 3 [2016-08-26 14:55:45.428] [7456] [info] device + 1 [2016-08-26 14:55:45.428] [7456] [info] true [2016-08-26 14:55:45.428] [7456] [info] stereo [2016-08-26 14:55:45.428] [7456] [info] normal [2016-08-26 14:55:45.428] [7456] [info] 5 [2016-08-26 14:55:45.428] [7456] [info] true [2016-08-26 14:55:45.428] [7456] [info] [2016-08-26 14:55:45.428] [7456] [info] [2016-08-26 14:55:45.428] [7456] [info] [2016-08-26 14:55:45.428] [7456] [info] [2016-08-26 14:55:45.428] [7456] [info] [2016-08-26 14:55:45.428] [7456] [info] [2016-08-26 14:55:45.428] [7456] [info] [2016-08-26 14:55:45.428] [7456] [info] 5250 [2016-08-26 14:55:45.428] [7456] [info] AMCP [2016-08-26 14:55:45.428] [7456] [info] [2016-08-26 14:55:45.428] [7456] [info] [2016-08-26 14:55:45.428] [7456] [info] [2016-08-26 14:55:45.428] [7456] [info] ----------------------------------------- [2016-08-26 14:55:45.428] [7456] [info] Initialized audio config. [2016-08-26 14:55:45.429] [7456] [info] Initializing OpenGL Device. [2016-08-26 14:55:45.575] [7456] [info] Successfully initialized OpenGL 4.5.0 NVIDIA 358.91 NVIDIA Corporation [2016-08-26 14:55:45.580] [7456] [info] Initialized OpenGL Accelerated GPU Image Mixer for channel 1 [2016-08-26 14:55:45.581] [7456] [info] video_channel[1|720p5994] Successfully Initialized. [2016-08-26 14:55:45.595] [7964] [info] DeckLink Duo 2 [1-1|720p5994] Enabled embedded-audio. [2016-08-26 14:55:45.595] [7964] [info] DeckLink Duo 2 [1-1|720p5994] Disabled low-latency mode. [2016-08-26 14:55:45.596] [7964] [error] DeckLink Duo 2 [1-1|720p5994] Failed to enable external keyer. [2016-08-26 14:55:45.600] [7964] [info] DeckLink Duo 2 [1-1|720p5994] Reference signal: not detected. [2016-08-26 14:55:45.610] [7456] [info] DeckLink Duo 2 [1-1|720p5994] Initialized. [2016-08-26 14:55:45.642] [7456] [info] oal[1|720p5994] Initialized. [2016-08-26 14:55:45.642] [7456] [info] Initialized OpenGL Accelerated GPU Image Mixer for channel 2 [2016-08-26 14:55:45.643] [7456] [info] video_channel[2|720p5994] Successfully Initialized. [2016-08-26 14:55:45.666] [7692] [info] DeckLink Duo 2 [2-3|720p5994] Enabled embedded-audio. [2016-08-26 14:55:45.667] [7692] [info] DeckLink Duo 2 [2-3|720p5994] Disabled low-latency mode. [2016-08-26 14:55:45.667] [7692] [error] DeckLink Duo 2 [2-3|720p5994] Failed to enable external keyer. [2016-08-26 14:55:45.671] [7692] [info] DeckLink Duo 2 [2-3|720p5994] Reference signal: not detected. [2016-08-26 14:55:45.698] [7456] [info] DeckLink Duo 2 [2-3|720p5994] Initialized. [2016-08-26 14:55:45.699] [7456] [info] oal[2|720p5994] Initialized. [2016-08-26 14:55:45.699] [7456] [info] Initialized channels. [2016-08-26 14:55:45.699] [7456] [info] Initialized OpenGL Accelerated GPU Image Mixer for channel 0 [2016-08-26 14:55:45.699] [7456] [info] Initialized thumbnail generator. [2016-08-26 14:55:45.700] [7456] [info] Initialized controllers. [2016-08-26 14:55:45.701] [7456] [info] Initialized osc. [2016-08-26 14:55:45.701] [7456] [info] Started initial media information retrieval. [2016-08-26 14:55:45.763] [7500] [info] Initial media information retrieval finished. [2016-08-26 14:55:46.876] [4744] [info] DeckLink Duo 2 [1-1|720p5994] Reference signal: locked. [2016-08-26 14:55:46.960] [7288] [info] DeckLink Duo 2 [2-3|720p5994] Reference signal: locked. [2016-08-26 14:55:48.034] [3796] [info] Generated thumbnail for "Karlsson-InsideTheGlass.mov" [2016-08-26 14:56:24.451] [6152] [info] async_event_server[:5250] Accepted connection from 127.0.0.1 (1 connections). [2016-08-26 14:56:24.488] [6152] [info] Received message from 127.0.0.1: VERSION SERVER\r\n [2016-08-26 14:56:24.488] [5196] [info] Sent message to 127.0.0.1:201 VERSION OK\r\n2.1.0.6fcaa28 UNSTABLE\r\n [2016-08-26 14:56:24.492] [6152] [info] Received message from 127.0.0.1: INFO\r\n [2016-08-26 14:56:24.492] [5196] [info] Sent message to 127.0.0.1:200 INFO OK\r\n1 720p5994 PLAYING\r\n2 720p5994 PLAYING\r\n\r\n [2016-08-26 14:56:24.494] [6152] [info] Received message from 127.0.0.1: CLS\r\n [2016-08-26 14:56:24.495] [6152] [info] Received message from 127.0.0.1: TLS\r\n [2016-08-26 14:56:24.495] [6152] [info] Received message from 127.0.0.1: DATA LIST\r\n [2016-08-26 14:56:24.495] [5196] [info] Sent message to 127.0.0.1:200 CLS OK\r\n"2015 BLACKJERSEY" MOVIE 1990373544 20160314020426 8070 50/2997\r\n"AFI-TEAMVID" MOVIE 1937956350 20160314015329 8512 50/2997\r\n"ALLSTARWEEKENDRECAP-SJB" MOVIE 2802807376 20160314015347 13307 1000000/59940059\r\n"KARLSSON-INSIDETHEGLASS" MOVIE 2193844090 20150311223534 10845 1000000/59940059\r\n"PRAISEYOU-HISTORICALVIDEO" MOVIE 2484301502 20160314020828 11726 1000000/59940059\r\n\r\n [2016-08-26 14:56:24.495] [5196] [info] Sent message to 127.0.0.1:200 TLS OK\r\n\r\n [2016-08-26 14:56:24.496] [6152] [info] Received message from 127.0.0.1: THUMBNAIL LIST\r\n [2016-08-26 14:56:24.496] [5196] [info] Sent message to 127.0.0.1:200 DATA LIST OK\r\n\r\n [2016-08-26 14:56:24.498] [5196] [info] Sent message to 127.0.0.1:200 THUMBNAIL LIST OK\r\n"2015 BLACKJERSEY" 20160314T020426 45261\r\n"AFI-TEAMVID" 20160314T015329 51339\r\n"ALLSTARWEEKENDRECAP-SJB" 20160314T015347 45296\r\n"KARLSSON-INSIDETHEGLASS" 20150311T223534 42574\r\n"PRAISEYOU-HISTORICALVIDEO" 20160314T020828 56700\r\n\r\n [2016-08-26 14:56:26.799] [6152] [info] Received message from 127.0.0.1: THUMBNAIL RETRIEVE "2015 BLACKJERSEY"\r\n [2016-08-26 14:56:26.811] [5196] [info] Sent more than 512 bytes to 127.0.0.1 [2016-08-26 14:56:28.814] [6152] [info] Received message from 127.0.0.1: THUMBNAIL RETRIEVE "KARLSSON-INSIDETHEGLASS"\r\n [2016-08-26 14:56:28.825] [5196] [info] Sent more than 512 bytes to 127.0.0.1 [2016-08-26 14:56:30.630] [6152] [info] Received message from 127.0.0.1: PLAY 1-10 "KARLSSON-INSIDETHEGLASS" CUT 1 Linear RIGHT\r\n [2016-08-26 14:56:30.704] [6676] [info] ffmpeg[Karlsson-InsideTheGlass.mov|1280x720p59.94|2/10846] Initialized [2016-08-26 14:56:30.707] [6676] [info] transition[empty=>ffmpeg[Karlsson-InsideTheGlass.mov|1280x720p59.94|3/10846]] Initialized [2016-08-26 14:56:30.708] [6676] [info] Sent message to 127.0.0.1:202 PLAY OK\r\n [2016-08-26 14:56:54.011] [6152] [info] Received message from 127.0.0.1: STOP 1-10\r\n [2016-08-26 14:56:54.013] [6676] [info] Sent message to 127.0.0.1:202 STOP OK\r\n [2016-08-26 14:56:54.024] [6708] [info] ffmpeg[Karlsson-InsideTheGlass.mov|1280x720p59.94|1166/10846] Destroyed. [2016-08-26 14:56:55.476] [6152] [info] Received message from 127.0.0.1: PLAY 1-10 "PRAISEYOU-HISTORICALVIDEO" CUT 1 Linear RIGHT\r\n [2016-08-26 14:56:55.529] [7332] [warning] [ffmpeg] [Parsed_amerge_4 @ 0000000009DC7140] Input channel layouts overlap: output layout will be determined by the number of distinct input channels [2016-08-26 14:56:55.561] [6676] [info] ffmpeg[PraiseYou-HistoricalVideo.mov|1280x720p59.94|2/11727] Initialized [2016-08-26 14:56:55.566] [6676] [info] transition[empty=>ffmpeg[PraiseYou-HistoricalVideo.mov|1280x720p59.94|3/11727]] Initialized [2016-08-26 14:56:55.566] [6676] [info] Sent message to 127.0.0.1:202 PLAY OK\r\n [2016-08-26 14:57:22.138] [6152] [info] Received message from 127.0.0.1: STOP 1-10\r\n [2016-08-26 14:57:22.139] [6676] [info] Sent message to 127.0.0.1:202 STOP OK\r\n [2016-08-26 14:57:22.148] [7136] [info] ffmpeg[PraiseYou-HistoricalVideo.mov|1280x720p59.94|1328/11727] Destroyed.

videohead commented 8 years ago

I reinstalled the card in a Z840 workstation and did not experience the same issue. I am going to chalk this up to a hardware incompatibility or perhaps a bug in other software applications installed on the Z420. I may try wiping the Z420 and see if a fresh Win10 install has the same problem. Thanks for all of your help reaching towards a solution.

jesperstarkar commented 8 years ago

Decklink Drivers 10.8 are said to fix this. Please test and report back.