Caspar won't play sound after some times

Hello,

We have a CasparCG server running for about 3 years 24/24h without troubles. Of course we reboot the whole Windows regularly (about once a month)
We are running with Decklink duo, on a Windows 10 pro (HP workstation from 2023), Intel core xeon W-2223 3,6Ghtz, 64Go RAM and GeForce 1080 Ti. Media files are located on a SMB volume and commands are sent by Companion. And we’re mostly playing Sony MXF XDCAM interlaced 50mbits files and html templates.
By now, we didn’t experienced any issues with the 2.4.2 version

But, during last weeks, we experienced some strange issues. We produced a show on evening and on the next morning, there were no sound outputing on SDI. Relaunched the server and it worked fine again. My colleague told me, there was also a kind of lag during playing a clip last week.

I tried to update our decklinck to last firmware, and using the 2.4.3 stable version, without success.

My last option is to format the PC and starting from scratch.

Before this, is there anybody, who experienced a similar issue ?

I have seen this on some driver builds.

I’m currently running CasparCG 2.4.3 and Decklink 12.4.2 and it seems stable.

Hi, how are you?

I’m experiencing the same issue now. After eight months of working perfectly, it suddenly started losing audio.

My setup runs on Linux, but the issue is the same. I’m using CasparCG 2.4.3 and Desktop Video 15.

Did you manage to identify the cause?
How did you resolve your issue?

Any advice would be greatly appreciated.

Thank you!

What sort of logs do you see if you run it with debug or trace logs?

Hi @zcybercomputing

There is nothing unusual in the CasparCG logs—no loss of reference or anything else that might explain the issue.

My setup is Ubuntu 22.04, Blackmagic Desktop Video driver 15.0, and CasparCG 2.4.3.

The strange thing is that, when the issue occurs, the audio graph in CasparCG’s DIAG window still shows activity. However, I connected a monitor directly to the machine’s SDI output to test it, and confirmed that there was no audio output.

After terminating CasparCG with the kill command and restarting it, the audio works normally again. However, the problem returns after a few days.

Which Blackmagic Desktop Video driver version would you recommend on Linux for CasparCG 2.4.3? Would you also recommend switching to a different CasparCG version?

For context, this machine ran for approximately eight months without ever experiencing this issue.

Thank you for your quick response. Any advice would be greatly appreciated.

Like I mentioned in the other thread, you need to look to see what files were playing when it stops outputting audio. I have done a code review and there are some issues that could be related but those issues don’t explain why it started having the issue after being stable for a long time.

Hi,

We’ve seen this too, using ProresHQ 1920x1080 MOV files on loop - we have a test loop we often have running, and after around 6-10 hours, we lose sound on the BMD output - we have tried various versions of the driver software, various different cards etc. There is nothing in the log, and, as mentioned, the diag page & client still show audio levels. Seems to be consistent no matter what the file type is - have also tried H264 MOV files.

Quitting and restarting the server fixes the issue, we are in the position we can normally do this.

Regards,

Mark Thackeray
Broadcast Manager, Royal Opera House London.

@MarkThackeray Are you using only the decklink outputs for consumers or other consumer types also? What casparcg version are you running? Can you try reloading just the decklink consumer and see if that fixes it?

Hi,

Generally just the Decklink channels as consumers. I have an 8K Pro set up as 2x Fill&Key in 1080p50, and a duo set up the same way. I have tried with a screen consumer on as well just in case it was something in the background, but it still does it.

Mark

What I was wondering is does removing and adding the decklink consumers via ACMP fix the problem.

OK, have tested it with remove 1 decklink 1 and then add 1 decklink 1 - this does not reinstate sound. I have also tried remove 1 decklink 1 when the server has just been loaded (and the sound was working) then add 1 decklink 1 and the sound does not work once it is re-added.

@MarkThackeray

Have you tried using this command?

ADD 1 DECKLINK 1 EMBEDDED_AUDIO

I tested it on my CasparCG setup, and the audio worked normally. I’m not sure whether it will restore the audio when the issue occurs, as I haven’t been able to test it in that situation yet.

OK, tested - same result, in both 2.4.3 and 2.5.0. Audio works fine when first booted, remove 1 decklink 1 and then add 1 decklink 1 embedded audio results in no audio.

@MarkThackeray

I don’t know how you’re implementing your code. I develop in C#, and to get it working, I had to add a one-second delay between REMOVE and ADD. Without that delay, it can’t even initialize the DeckLink channel.

In my test, I use LOAD to display the preview on the monitor. When I run REMOVE and ADD, the preview disappears and then comes back. When I run PLAY, the video plays with normal audio.

I’m just using the CasparCG Client to play things, and typing the commands into the server window.