vMix Forums
»
General
»
NDI
»
NDI studio monitor switching using script
Rank: Member
Groups: Registered
Joined: 2/25/2020(UTC) Posts: 18 Thanks: 4 times Was thanked: 4 time(s) in 3 post(s)
|
Hi,
I use NDI Studio monitor in a live production where it casts vMix outputs. Recently it had been difficult for me to remotely switch sources (there are 4 display and only me running, you can imagine). I found this thread (https://forums.newtek.com/showthread.php/160975-NDI-Tools-4-Studio-Monitor-Switch-Source-via-HTTP-Request?highlight=studio+monitor) where he uses tricaster macro to remotely switch studio monitor with a single shortcut. Does anyone think we can do this using vMix too? or am I just to hopeful?
|
|
|
|
Rank: Advanced Member
Groups: Registered
Joined: 5/13/2014(UTC) Posts: 518 Location: Manchester, UK Thanks: 2 times Was thanked: 183 time(s) in 130 post(s)
|
|
2 users thanked zenvideo for this useful post.
|
|
|
Rank: Member
Groups: Registered
Joined: 2/25/2020(UTC) Posts: 18 Thanks: 4 times Was thanked: 4 time(s) in 3 post(s)
|
Originally Posted by: zenvideo I looked into this option, but couldn't get it working.
|
|
|
|
Rank: Advanced Member
Groups: Registered
Joined: 4/23/2017(UTC) Posts: 1,209 Location: Germany Thanks: 3 times Was thanked: 168 time(s) in 150 post(s)
|
Please look into the Studio Monitor settings - Application - and enable webcontrol. Then you can call that url from any connected device and change settings.
|
1 user thanked mavik for this useful post.
|
|
|
Rank: Member
Groups: Registered
Joined: 2/25/2020(UTC) Posts: 18 Thanks: 4 times Was thanked: 4 time(s) in 3 post(s)
|
Originally Posted by: mavik Please look into the Studio Monitor settings - Application - and enable webcontrol. Then you can call that url from any connected device and change settings. Thank you for your insight. Currently I am doing this, but opening up a webpage takes quite a bit of my monitor realestate. I as a single operator, I would love to have all options ready for me on vMix.
|
|
|
|
Rank: Advanced Member
Groups: Registered
Joined: 5/13/2014(UTC) Posts: 518 Location: Manchester, UK Thanks: 2 times Was thanked: 183 time(s) in 130 post(s)
|
Originally Posted by: cho123 Originally Posted by: zenvideo I looked into this option, but couldn't get it working. What was the problem? It works fine when I try it.
|
|
|
|
Rank: Advanced Member
Groups: Registered
Joined: 8/5/2017(UTC) Posts: 569 Location: Manitoba Thanks: 112 times Was thanked: 313 time(s) in 178 post(s)
|
Are all your NDI sources only coming from vMix ? If so, you can just change the NDI output source directly from vMix (cog wheel on the External button) and not have to use the web interface. You could also use a 3rd party app like Panel Builder to create a small switcher panel to switch the NDI Outputs. Not sure if that’s what your looking for ? ... or do you need to control from the devices running the NDI Monitor app ?
|
|
|
|
Rank: Advanced Member
Groups: Registered
Joined: 7/1/2015(UTC) Posts: 1,151 Location: Houston TX Thanks: 319 times Was thanked: 263 time(s) in 233 post(s)
|
I feed the NDI studio monitor app one of the AUX outputs from vMix.
Then I have some buttons on a StreamDeck setup to control those outputs. That way I can give a non-techie helper the ability to changes what's on the Studio Monitor app.
|
|
|
|
Rank: Newbie
Groups: Registered
Joined: 1/22/2020(UTC) Posts: 9 Location: California Was thanked: 1 time(s) in 1 post(s)
|
If you haven't figured this out here is what I was able to get working: I was able to control the settings of NDI Studio Monitor by sending POST/json commands. The computer that will be firing the commands will need CURL installed. Windows 1803 and later has it installed by default. I make a .bat file with the CURL command which can then be added to a button on the StreamDeck. Here is a command that does the following:
- Sends command to 192.168.20.206
- Switches input to computer/input: KI10 (Test Pattern)
- Sets display to full screen on a single monitor system
- Sets to always on top
Code:curl "http://192.168.20.206/v1/configuration" -X POST -d "{\"version\":1,\"NDI_source\":\"KI10 (Test Pattern)\",\"window\":{\"display_device\":\"Full Screen\",\"always_on_top\":true}}" -H "Content-Type: application/json"
The easiest way to get the specific setting you need is to setup Studio Monitor the way you want it then from a browser send: http://xxx.xxx.xxx.xxx/v1/configuration This will return all the current settings. You must have the version:1 and you must reformat to match what CURL needs, but you can use this to see how settings are referenced. I use Advanced REST Client app to help format the commands. Here is also some into for using CURL. It references a format changed that needs to happen from Advanced REST Client to CURL on Windows. I hope this helps!
|
1 user thanked MattyG for this useful post.
|
|
|
Rank: Newbie
Groups: Registered
Joined: 11/12/2022(UTC) Posts: 1 Thanks: 1 times
|
good morning, thanks for the guide. I wanted to ask you what command should I use instead to send a full screen to the second monitor? thank you Originally Posted by: MattyG If you haven't figured this out here is what I was able to get working: I was able to control the settings of NDI Studio Monitor by sending POST/json commands. The computer that will be firing the commands will need CURL installed. Windows 1803 and later has it installed by default. I make a .bat file with the CURL command which can then be added to a button on the StreamDeck. Here is a command that does the following:
- Sends command to 192.168.20.206
- Switches input to computer/input: KI10 (Test Pattern)
- Sets display to full screen on a single monitor system
- Sets to always on top
Code:curl "http://192.168.20.206/v1/configuration" -X POST -d "{\"version\":1,\"NDI_source\":\"KI10 (Test Pattern)\",\"window\":{\"display_device\":\"Full Screen\",\"always_on_top\":true}}" -H "Content-Type: application/json"
The easiest way to get the specific setting you need is to setup Studio Monitor the way you want it then from a browser send: http://xxx.xxx.xxx.xxx/v1/configuration This will return all the current settings. You must have the version:1 and you must reformat to match what CURL needs, but you can use this to see how settings are referenced. I use Advanced REST Client app to help format the commands. Here is also some into for using CURL. It references a format changed that needs to happen from Advanced REST Client to CURL on Windows. I hope this helps!
|
|
|
|
vMix Forums
»
General
»
NDI
»
NDI studio monitor switching using script
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