Get an error with videoformat

Hi, thanks for quick reply, where can i get newer drivers then?? And what i shall download? all i found was was Desktop video 14.2.1, is that it??
/Mattias

Yes, thatā€™s it.

Hi, thanks, then i was right trail, but i have installed that software and i still get that error message :thinking: . one question, do i need a decklinkscreen to display to have this to work for my setup? /Mattias

What do you mean? You need to have a Decklink card in your system, but Caspar, nor the cardā€™s driver detect if you have something connected to it. That is not possible with SDI.

Hi, but if i dont have a decklink card installed on my computer? I just have caspar to display clips and picture to a source, with the possiblity too add another screen.Then do I need the code for ā€œdecklinkā€ in my serverconfigfile?
/Mattias :face_with_peeking_eye:

No, then itā€™s clear, why you get these error messages :smile: No need to install the Decklink drivers and no need to add a decklink section in your config if you do not have such a card.

Hi, i remove the code from my configfile and it works alot better(no more errorcode). But i still get a little delay on the sync from audio to picture in videoclips, works fine in casparcg serversion 2.0.7, but a little delay in serverversion 2.4.1 is there in the configfile i can fix this?
Thanks, :melting_face:

In server 2.4.1 try replacing the <system-audio/> in your channel properties with:

   <system-audio>
      <channel-layout>stereo</channel-layout>
      <latency>200</latency> <!--  minimum value is zero, default 200 -->
   </system-audio>

Then try differing values for the latency. I think the default is 200, I assume clock periods.

Hi, tried this but the sync with videofile is still off, itĀ“s like the picture lags, and the sound is ok, the framerate is right but the sound is at 315kb/s at 48000 kHz (2 stereo) format. Works perfect on serverversion 2.0.7. it is superweirdā€¦ i attach link for the file, it is like the sound comes after the picture starts with the settings above in my configfile(execpt decklinkportion) for serverversion 2.4.1. Sprend | Send large files | Transfer big files free online

I have experienced issues with stuttering video if the bitrate of the video is too high.

Best Regards
Simon

The thing is, the screen consumer / system audio stuff has been created to be able to test stuff, or as an easy way to build a preview. Itā€™s not meant to be used as the sole output. For that people use Decklinks.

But I find it interesting, that the latency setting does not do anything for you. Have you tried with real big values, like 5000 or so, just to make sure, that it does nothing? I think the value my be in milliseconds, so 5000 would be 5s. You would definitely see something change with that setting.

Donā€™t take me wrong, I donā€™t mean, that 5000 would be the value you should use in the end, but it seems big enough to tell a difference.

And you should get rid of the dysfunctional Decklink section in your config, as long as you donā€™t add such a card.

Hi, i think i should test the latency again, i think i was not over 1000 i think when i tried it. But i tried like 15000 and no differance , the comment about decklink is if someone tries using the code above as i use for my serverversion, if it is in the code to replicate the issue. i just checked Simon comment about bitrate of the videofile, maybe that is culprit of my problems? and then it is the videofile encoding that is the problem or can that be adjusted in the code, attaching screenshot of the bitrate of the file i linked above.

Looking at the code, it doesnā€™t appear to be using a latency config field, that must be a relic from code that was removed years back.

I donā€™t have any suggestions on getting this in sync, I vaguely remember a discussion around keeping consumers like these in sync, which proves to be a challenge and not worth the effort for the target use case.

It feels messy, but maybe it would work better if you output from caspar with ndi, and use the ndi studio monitor to output that to the screen locally. That can do audio too, and should be doing so in sync

I downloaded your file and played it on my V2.4.0 server set to screen output with audio-config as <audio-config />. Listening via headphones and observing the HDMI screen the audio was in sync with the video.

There is a 1080i50 lip-sync test signal available here on Github. The video element is mostly black, but on 1 frame in 10 there is a horizontal white bar with co-timed audio tone blip.

Hi, how did you add the audioconfig in the code, IĀ“m struggling with getting it to work :frowning:

The simple <audio-config /> is shown just after the screen configuration in post number 12 of this thread.

My apologies for suggesting you try the audio-latency value, I saw this is still in the casarcg.config file distributed with the server code, so assumed it was still valid.

Thanks to @Julusian for checking the server code base. I went further back in version history and found V2.1 is the last with code references to the audio-latency in the config file. That seems logical to me, as version 2.2 introduced audio pass through instead of named audio-configurations.

I strongly advise you to listen to the wise advice from @didikunz and look to acquire a decklink output solution. If you just need HDMI video with embedded audio channels, plus unbalanced audio output the Intensity Pro card is a very low cost solution (about 220 euro).

If the host PC lacks the PCIe slot (4-lane PCIe) for the Intensity card but has Thunderbolt output there are units such as the Ultrastudio HD. You can also use Thunderbolt to PCIe cases that hold one or more PCIe cards.

1 Like

Can you try recoding the file in handbrake? Max 10000 bitrate. Be sure to mark ā€œconstant framerateā€ also. I feel like that has helped before.