Rank: Newbie
Groups: Registered
Joined: 1/26/2023(UTC) Posts: 3 Location: Stuttgart
|
I would like to set a Trigger on a Input with Videos then he is in Program to set a Input on a Layer of another Input. -->I programed a Splitscreen with the Camera on a Layer to the right and on the other Layer on the left Side i do the Powerpoint or the Video. If i play the Video in Program the DSM should show the Video on Layer 1 to, and if i show the Powerpoint Input in Program the DSM Input should change to the Powerpoint Input in Layer 1. I use the DSM Input on Output to show the Moderator or Speaker. This would be realy helpful!
|
|
|
|
Rank: Advanced Member
Groups: Registered
Joined: 12/27/2012(UTC) Posts: 5,218 Location: Belgium Thanks: 291 times Was thanked: 955 time(s) in 790 post(s)
|
Originally Posted by: Benztownrocker I would like to set a Trigger on a Input with Videos then he is in Program to set a Input on a Layer of another Input. -->if i play the Video in Program the DSM should show the Video on Layer 1 to, and if i show the Powerpoint Input in Program the DSM Input should change to the Powerpoint Input in Layer 1. I use the DSM Input on Output to show the Moderator or Speaker. This would be realy helpful! use a looping script (which makes it a trigger) that reads which input is in program (active) and put the same input in the layer. Info of active input is in the API XML as such your personal unique request is granted
|
|
|
|
Rank: Newbie
Groups: Registered
Joined: 1/26/2023(UTC) Posts: 3 Location: Stuttgart
|
Originally Posted by: doggy Originally Posted by: Benztownrocker I would like to set a Trigger on a Input with Videos then he is in Program to set a Input on a Layer of another Input. -->if i play the Video in Program the DSM should show the Video on Layer 1 to, and if i show the Powerpoint Input in Program the DSM Input should change to the Powerpoint Input in Layer 1. I use the DSM Input on Output to show the Moderator or Speaker. This would be realy helpful! use a looping script (which makes it a trigger) that reads which input is in program (active) and put the same input in the layer. Info of active input is in the API XML as such your personal unique request is granted Can you explain this in more detail?
|
|
|
|
Rank: Advanced Member
Groups: Registered
Joined: 12/27/2012(UTC) Posts: 5,218 Location: Belgium Thanks: 291 times Was thanked: 955 time(s) in 790 post(s)
|
Originally Posted by: Benztownrocker Originally Posted by: doggy Originally Posted by: Benztownrocker I would like to set a Trigger on a Input with Videos then he is in Program to set a Input on a Layer of another Input. -->if i play the Video in Program the DSM should show the Video on Layer 1 to, and if i show the Powerpoint Input in Program the DSM Input should change to the Powerpoint Input in Layer 1. I use the DSM Input on Output to show the Moderator or Speaker. This would be realy helpful! use a looping script (which makes it a trigger) that reads which input is in program (active) and put the same input in the layer. Info of active input is in the API XML as such your personal unique request is granted Can you explain this in more detail? The API XML holds a lot of information regarding your current state of your vMix setup. Can see it here http://127.0.0.1:8088/api when vMix is running With scripts one can retrieve some of that information and act upon it (like triggering an action) There is a lot of information regarding scripting and retrieving that information in the "scripting for dummies" post to get you going creating a cutom script for your goal
|
|
|
|
Rank: Newbie
Groups: Registered
Joined: 1/26/2023(UTC) Posts: 3 Location: Stuttgart
|
Originally Posted by: doggy Originally Posted by: Benztownrocker Originally Posted by: doggy Originally Posted by: Benztownrocker I would like to set a Trigger on a Input with Videos then he is in Program to set a Input on a Layer of another Input. -->if i play the Video in Program the DSM should show the Video on Layer 1 to, and if i show the Powerpoint Input in Program the DSM Input should change to the Powerpoint Input in Layer 1. I use the DSM Input on Output to show the Moderator or Speaker. This would be realy helpful! use a looping script (which makes it a trigger) that reads which input is in program (active) and put the same input in the layer. Info of active input is in the API XML as such your personal unique request is granted Can you explain this in more detail? The API XML holds a lot of information regarding your current state of your vMix setup. Can see it here http://127.0.0.1:8088/api when vMix is running With scripts one can retrieve some of that information and act upon it (like triggering an action) There is a lot of information regarding scripting and retrieving that information in the "scripting for dummies" post to get you going creating a cutom script for your goal I'm familiar with scripting but it sounds a bit complicated for a simple Trigger and i don't know how i can write a script like that.
|
|
|
|
Rank: Advanced Member
Groups: Registered
Joined: 12/27/2012(UTC) Posts: 5,218 Location: Belgium Thanks: 291 times Was thanked: 955 time(s) in 790 post(s)
|
Originally Posted by: Benztownrocker
I'm familiar with scripting but it sounds a bit complicated for a simple Trigger and i don't know how i can write a script like that.
Noticing that you are familiar with scripting and all the info can be found in the forum post i refered to this exmaple script will do what you want when you call it (with a shortcut). Should not be to hard to add some code to make it run continuously to act on any change in the output Code:dim ActiveIn as string
dim xml as string=API.XML()
dim x as new system.xml.xmldocument
x.loadxml(xml)
ActiveIn= (x.SelectSingleNode("//active").InnerText)
API.Function("SetLayer",Input:="inputname",Value:="1," & ActiveIn)
|
|
|
|
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