Hello CasparCG community!
My question: Can I define a parameter somewhere in the config file on the SERVER that sets a default to loop clips played on a channel rather than freeze at the end?
I work at a network TV station that uses automation for its newscasts. The CLIENT (automation software) is very limited and basically only plays and stops a clip based on filename.
Heres the setup:
- CasparCG SERVER version 126.96.36.199150ef
- The only protocol the automation software provides that is compatible with CasparCG is MVCP.
- For this explanation/setup I have a video clip called star.mp4
- AUTOMATION CLIENT and CASPARCG SERVER are different computers on same network. Both computers are windows 10.
SERVER CONFIG FILE:<?xml version="1.0" encoding="utf-8"?> C:\CASPAR\CASPAR SERVER 2.07\media\ C:\CASPAR\CASPAR SERVER 2.07\log\ C:\CASPAR\CASPAR SERVER 2.07\data\ C:\CASPAR\CASPAR SERVER 2.07\templates\ C:\CASPAR\CASPAR SERVER 2.07\thumbnails\ 1080i5000 PAL 1 5258 MVCP
When the automation server connects CASPARCG displays:
[mvcp] started connection
[mvcp] Parsing Command UGIN U1
[mvcp] Parsing Command User Robert
[mvcp] Parsing Command UCLS U1
[mvcp] Parsing Command UADD 1 * EXCL Robert%Computername
It then constantly provides a “heartbeat” time of day command every 5 seconds
[mvcp] Parsing Command GTOD
I can specify a clip name in the automation software. For this example I would put STAR. When I execute the command to play the clip the sequence is as follows:
[mvcp] Parsing Command /SEQA STOP 1
[mvcp] Parsing Command UNLD 1
[mvcp] Parsing Command /SEQA LOAD 1 star
[mvcp] Parsing Command /SEQA CUE 1
[mvcp] Parsing Command /SEQA PLAY 1
The clip plays fine, and then freezes and holds on the last frame.
I have no control over this sequence of commands. Other than the file name(in this case ‘star’).
I know in a perfect world, If I were issuing the commands I would add LOOP or define PASSES after the clip name, either in the cue or play stage.
I have tried manually applying CALL 1 LOOP and SSET / SET commands in the terminal to no avail.
Interestingly if I make the clip name ‘loop.mp4’ and have the automation program play ‘loop’ it will do what I want, but in a news setting with the need to play multiple files I cannot name all the clips the same thing.
So: my question is can I define a parameter somewhere in the config file on the server side that sets the default of loop rather than freeze when it gets to the last frame?
If not… is there a middleman program or template that I can setup that will allow the automation program to connect via MVCP, yet pass along more customize able commands? If I were to modify the server build in visual studio to create a customized version, what module should I look in?
Thank you in advance! Any guidance would be greatly appreciated!