vMix Forums
»
General
»
General Discussion
»
How to automatize graphics change based on one data field
Rank: Newbie
Groups: Registered
Joined: 12/23/2022(UTC) Posts: 1 Location: Malaga
|
Hi all,
I explain quickly the scenario and what I want to get. I have 1 camera input covering a table tennis that will have 8 matches, 1 followed by another and so on. There is a xml data file generated by the match Official tablet throught the results system. I can always that xml file.
Inside that xml there is a field called Status, and field can have limited possibilities:
Status=Scheduled Status=Running Status=Official
I want to be able to script vMix so it can constantly refresh the reading of the data and mix in and out between 3 graphics depending on what the Status field is:
-If Status=Scheduled then check if any graphic is on air. If so and is Graphci1, do nothing. if yes and different than Graphic1 then clear it and mix in Graphic1 -If Status=Running then check if any graphic is on air. If so and is Graphci2, do nothing. if yes and different than Graphic2 then clear it and mix in Graphic2 -If Status=Official then check if any graphic is on air. If so and is Graphci3, do nothing. if yes and different than Graphic3 then clear it and mix in Graphic3
I am not a programmer but I have been told this should be possible and asking in this forum could help me on how to get it done.
Any idea, guidance or any kind of help would be super appreciate it!!!
Thanks a lot in advance
ManuH
|
|
|
|
Rank: Advanced Member
Groups: Registered
Joined: 12/27/2012(UTC) Posts: 5,216 Location: Belgium Thanks: 291 times Was thanked: 955 time(s) in 790 post(s)
|
While a vMix script can check an xml directty its much easier to use the XML as a datasource linked to a title which will autoupdate on changes in the XML source. The let the script read that value from the title to do the logic
there are tutorials on how to use a datasource Also check on the "scripting for dummies"post in this forum on how to retrieve the value from the title and add your logic
Keep the logic simple: retrieve stautus retrieve which graphics is active if status = Scheduled and graphics not equals Graphics1 then dislay Graphics1 elseif status = Running and graphics not equals Graphics2 then display Graphics2 elseif status = Official and graphics not equals Graphics3 then display Graphics3
or use Do Case logic
|
|
|
|
vMix Forums
»
General
»
General Discussion
»
How to automatize graphics change based on one data field
Forum Jump
You cannot post new topics in this forum.
You cannot reply to topics in this forum.
You cannot delete your posts in this forum.
You cannot edit your posts in this forum.
You cannot create polls in this forum.
You cannot vote in polls in this forum.
Important Information:
The vMix Forums uses cookies. By continuing to browse this site, you are agreeing to our use of cookies.
More Details
Close