vMix Forums
»
General
»
General Discussion
»
Possible to create shortcut on 1 system to control another?
Rank: Advanced Member
Groups: Registered
Joined: 5/6/2016(UTC) Posts: 83 Was thanked: 5 time(s) in 5 post(s)
|
Hey there,
I can use the Web Controller to switch between two sources on a remote vMix machine located off-site. But I'm wondering if there is a way to create shortcuts on our studio vMix machine to switch those inputs on the remote vMix machine (instead of using web controller).
Thanks!
|
|
|
|
Rank: Advanced Member
Groups: Registered
Joined: 8/3/2013(UTC) Posts: 405 Location: Gold Coast, Australia
Thanks: 27 times Was thanked: 76 time(s) in 58 post(s)
|
roverradio wrote:Hey there,
I can use the Web Controller to switch between two sources on a remote vMix machine located off-site. But I'm wondering if there is a way to create shortcuts on our studio vMix machine to switch those inputs on the remote vMix machine (instead of using web controller).
Thanks! If you have a Vmix Version that supports scripting you can do this: Console.WriteLine("Begin Script") Dim ActionURL As String = "http:// localhost:8088/API/?Input=1&Function=Play" Dim webClient As New System.Net.WebClient Dim result As String = webClient.DownloadString(ActionURL) Console.WriteLine(result) Console.WriteLine("End Script") Replace localhost with the IP address of the Vmix computer you wish to control. Then study up on the web API commands you want to call. This example would play the video on input 1, if it was a video. You can assign keys on your keyboard to run a script, so map the f12 key for example, to play this script. So pretty much anything you could do in the web controller you could potentially do via a script, plus a shortcut. Using the API.
|
3 users thanked Speegs for this useful post.
|
|
|
Rank: Advanced Member
Groups: Registered
Joined: 8/3/2013(UTC) Posts: 405 Location: Gold Coast, Australia
Thanks: 27 times Was thanked: 76 time(s) in 58 post(s)
|
Forgot to mention this is scripting, so if you wanted to do 1 or 5 things with the script when you hit your magic button it wouldn't be a problem.
|
|
|
|
Rank: Advanced Member
Groups: Registered
Joined: 5/6/2016(UTC) Posts: 83 Was thanked: 5 time(s) in 5 post(s)
|
Fantastic - I'll give it a shot tomorrow (heading to bed now). Thanks so much!
|
|
|
|
Rank: Advanced Member
Groups: Registered
Joined: 8/3/2013(UTC) Posts: 405 Location: Gold Coast, Australia
Thanks: 27 times Was thanked: 76 time(s) in 58 post(s)
|
To Fade to Input 2, this would be what you would use as your ActionURL. Replacing localhost with the IP address of the Vmix machine you wish to control. I couldn't explain all the functions, but most of the shortcuts in the menu that pops up you can do via the web api. There might be some functions missing, but I don't believe many.
Dim ActionURL As String = "http://localhost:8088/API/?Input=2&Function=Fade"
|
|
|
|
Rank: Advanced Member
Groups: Registered
Joined: 3/7/2012(UTC) Posts: 2,636 Location: Canada Thanks: 33 times Was thanked: 506 time(s) in 475 post(s)
|
|
|
|
|
Rank: Newbie
Groups: Registered
Joined: 9/7/2020(UTC) Posts: 2
Thanks: 1 times
|
Originally Posted by: Speegs Forgot to mention this is scripting, so if you wanted to do 1 or 5 things with the script when you hit your magic button it wouldn't be a problem. Thank you for your earlier post, extremely useful. I don't have much coding experience, but can you give an example of multiple triggers? After taking a big leap forward with my setup with the help of your code, I'm now stuck on single triggers. Thanks
|
|
|
|
vMix Forums
»
General
»
General Discussion
»
Possible to create shortcut on 1 system to control another?
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