vMix Forums
»
General
»
General Discussion
»
Question about ways calling inputs via shortcuts, api:s etc
Rank: Advanced Member
Groups: Registered
Joined: 12/8/2022(UTC) Posts: 82 Thanks: 19 times Was thanked: 1 time(s) in 1 post(s)
|
Hi! Still in a learning process so here is another (maybe stupid) question. Building a setup in vMix where I want to run most stuff using a streamdeck/companion with the vMix plugin (which uses the api if I have understood correctly) I have noticed one thing that sometimes gives me trouble.
In the world of vMix commands, settings etc related to inputs seems to most often be based on the order of the inputs. So for example if I have a title on position 7 and run it from my streamdeck/companion setup I have to use no 7 to run this title. This means I have to be very careful if I for example create new titles so I don´t change the order of the inputs. This has also been a thing to keep an eye on when it comes to assigning inputs to outputs in vMix settings etc.
Is there some other way to handle this? Maybe a unique ID instead of the number system?
Thanks for any input (pun intended :-) ) regarding this!
|
|
|
|
Rank: Advanced Member
Groups: Registered
Joined: 12/24/2021(UTC) Posts: 544 Location: athens Thanks: 130 times Was thanked: 74 time(s) in 70 post(s)
|
Originally Posted by: TL68 Hi! Still in a learning process so here is another (maybe stupid) question. Building a setup in vMix where I want to run most stuff using a streamdeck/companion with the vMix plugin (which uses the api if I have understood correctly) I have noticed one thing that sometimes gives me trouble.
In the world of vMix commands, settings etc related to inputs seems to most often be based on the order of the inputs. So for example if I have a title on position 7 and run it from my streamdeck/companion setup I have to use no 7 to run this title. This means I have to be very careful if I for example create new titles so I don´t change the order of the inputs. This has also been a thing to keep an eye on when it comes to assigning inputs to outputs in vMix settings etc.
Is there some other way to handle this? Maybe a unique ID instead of the number system?
Thanks for any input (pun intended :-) ) regarding this! Hello. Either from number that of course can change order during the production,you can use the title,the short title that you assign what you need or you can use the GUID of an input that is unique for every input. Simply in the companion input put this value instead of input number. The GUID per input you can find it in http://127.0.0.1:8088/api as input key=".." or inside companion go buttons-->variables-->studiocoast vmix--> and in the filter write and search per name or present input vmix number you need and you will see the GUID number and copy-paste it in your triggers or buttons. Dont know if there is more easy way but that is what im using. Also in the menu that im saying in companion you can see what are the possible values a input can have (for example true or false) to be able to enter them in triggers for internal variable check in companion
|
|
|
|
Rank: Member
Groups: Registered
Joined: 5/15/2022(UTC) Posts: 16 Location: Ohio Was thanked: 1 time(s) in 1 post(s)
|
When building the shortcut, make sure the box that says “assign shortcut to input number” is unchecked. This way the shortcut will follow the shortcut input regardless if it is moved. It will not be “dependent” on the order of the input. So if you built your shortcut using input 7 for your title and the box is unchecked and you move your title to input 20, if the box is unchecked, it will still work with the title input. https://www.vmix.com/hel...dex.htm?AddShortcut.html
|
|
|
|
Rank: Advanced Member
Groups: Registered
Joined: 12/8/2022(UTC) Posts: 82 Thanks: 19 times Was thanked: 1 time(s) in 1 post(s)
|
Originally Posted by: nikosman88 Originally Posted by: TL68 Hi! Still in a learning process so here is another (maybe stupid) question. Building a setup in vMix where I want to run most stuff using a streamdeck/companion with the vMix plugin (which uses the api if I have understood correctly) I have noticed one thing that sometimes gives me trouble.
In the world of vMix commands, settings etc related to inputs seems to most often be based on the order of the inputs. So for example if I have a title on position 7 and run it from my streamdeck/companion setup I have to use no 7 to run this title. This means I have to be very careful if I for example create new titles so I don´t change the order of the inputs. This has also been a thing to keep an eye on when it comes to assigning inputs to outputs in vMix settings etc.
Is there some other way to handle this? Maybe a unique ID instead of the number system?
Thanks for any input (pun intended :-) ) regarding this! Hello. Either from number that of course can change order during the production,you can use the title,the short title that you assign what you need or you can use the GUID of an input that is unique for every input. Simply in the companion input put this value instead of input number. The GUID per input you can find it in http://127.0.0.1:8088/api as input key=".." or inside companion go buttons-->variables-->studiocoast vmix--> and in the filter write and search per name or present input vmix number you need and you will see the GUID number and copy-paste it in your triggers or buttons. Dont know if there is more easy way but that is what im using. Also in the menu that im saying in companion you can see what are the possible values a input can have (for example true or false) to be able to enter them in triggers for internal variable check in companion Big thanks! found the guid:s via the api and it works fine in assigning them to companion buttons. Great news for me :-) Will the guid:s be the same if I open the vMix project on another computer?
|
|
|
|
Rank: Advanced Member
Groups: Registered
Joined: 12/24/2021(UTC) Posts: 544 Location: athens Thanks: 130 times Was thanked: 74 time(s) in 70 post(s)
|
Originally Posted by: TL68 Originally Posted by: nikosman88 Originally Posted by: TL68 Hi! Still in a learning process so here is another (maybe stupid) question. Building a setup in vMix where I want to run most stuff using a streamdeck/companion with the vMix plugin (which uses the api if I have understood correctly) I have noticed one thing that sometimes gives me trouble.
In the world of vMix commands, settings etc related to inputs seems to most often be based on the order of the inputs. So for example if I have a title on position 7 and run it from my streamdeck/companion setup I have to use no 7 to run this title. This means I have to be very careful if I for example create new titles so I don´t change the order of the inputs. This has also been a thing to keep an eye on when it comes to assigning inputs to outputs in vMix settings etc.
Is there some other way to handle this? Maybe a unique ID instead of the number system?
Thanks for any input (pun intended :-) ) regarding this! Hello. Either from number that of course can change order during the production,you can use the title,the short title that you assign what you need or you can use the GUID of an input that is unique for every input. Simply in the companion input put this value instead of input number. The GUID per input you can find it in http://127.0.0.1:8088/api as input key=".." or inside companion go buttons-->variables-->studiocoast vmix--> and in the filter write and search per name or present input vmix number you need and you will see the GUID number and copy-paste it in your triggers or buttons. Dont know if there is more easy way but that is what im using. Also in the menu that im saying in companion you can see what are the possible values a input can have (for example true or false) to be able to enter them in triggers for internal variable check in companion Big thanks! found the guid:s via the api and it works fine in assigning them to companion buttons. Great news for me :-) Will the guid:s be the same if I open the vMix project on another computer? Yes you can also append a vmix input from one vmix preset to another vmix preset into other vmix pc and this input will have the GUID that has in the original preset
|
1 user thanked nikosman88 for this useful post.
|
|
|
Rank: Advanced Member
Groups: Registered
Joined: 12/8/2022(UTC) Posts: 82 Thanks: 19 times Was thanked: 1 time(s) in 1 post(s)
|
Originally Posted by: nikosman88 Originally Posted by: TL68 Originally Posted by: nikosman88 Originally Posted by: TL68 Hi! Still in a learning process so here is another (maybe stupid) question. Building a setup in vMix where I want to run most stuff using a streamdeck/companion with the vMix plugin (which uses the api if I have understood correctly) I have noticed one thing that sometimes gives me trouble.
In the world of vMix commands, settings etc related to inputs seems to most often be based on the order of the inputs. So for example if I have a title on position 7 and run it from my streamdeck/companion setup I have to use no 7 to run this title. This means I have to be very careful if I for example create new titles so I don´t change the order of the inputs. This has also been a thing to keep an eye on when it comes to assigning inputs to outputs in vMix settings etc.
Is there some other way to handle this? Maybe a unique ID instead of the number system?
Thanks for any input (pun intended :-) ) regarding this! Hello. Either from number that of course can change order during the production,you can use the title,the short title that you assign what you need or you can use the GUID of an input that is unique for every input. Simply in the companion input put this value instead of input number. The GUID per input you can find it in http://127.0.0.1:8088/api as input key=".." or inside companion go buttons-->variables-->studiocoast vmix--> and in the filter write and search per name or present input vmix number you need and you will see the GUID number and copy-paste it in your triggers or buttons. Dont know if there is more easy way but that is what im using. Also in the menu that im saying in companion you can see what are the possible values a input can have (for example true or false) to be able to enter them in triggers for internal variable check in companion Big thanks! found the guid:s via the api and it works fine in assigning them to companion buttons. Great news for me :-) Will the guid:s be the same if I open the vMix project on another computer? Yes you can also append a vmix input from one vmix preset to another vmix preset into other vmix pc and this input will have the GUID that has in the original preset Sweet! Then I can move on to changing all my input numbers to guid in companion. Just wanted to make sure since this setup will be used on multiple pc:s. Thanks again!
|
|
|
|
vMix Forums
»
General
»
General Discussion
»
Question about ways calling inputs via shortcuts, api:s etc
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