I currently have around 1000 videoclips in my CasparCG library. I am working on a Visual Radio project and I already managed to have my songs sync with the videoclips using the SEEK command.
How this works: I have a radio automation system. It outputs the Now Playing info using POST to my PHP-script. It finds the needed info (clip name, the frame where SEEK has to start) from a MySQL database and then sends an AMCP command to CasparCG. It is nearly realtime and the HTTP server is not the culprit.
However, I recently started using 1080p video’s. These are around 100MB per file. I noticed the video’s that are for example 45MB (classics from around the years 2000) load much faster than recent clips with a size from around 120MB.
I see the HTTP server is sending the AMCP command in a timely fashion. But when the PLAY command was fired, it takes some more time to load the video, causing the video not to start immediately. Therefor, I noticed it is harder to keep the video’s in sync.
I am using CasparCG 2.3.1 server on Windows 10 with an NDI output. Any ideas how to reduce the delay on loading videoclips? The only thing that comes to mind is that the videoclips are on a network drive instead of a local one. But I have a very fast router with a fast internal network. Any other ideas?