vMix Forums
»
General
»
3rd Party Software and Development
»
Change Mix (input) settings, like input source & transition, through API
Rank: Advanced Member
Groups: Registered
Joined: 7/10/2020(UTC) Posts: 34 Thanks: 12 times Was thanked: 4 time(s) in 3 post(s)
|
Is it possible to change the content of a Mix input using REST or TCP Api?
For example can I change the Preview and the Output selected input from a Mix type input?
Also can I execute Cut/Fade and other transitions?
Thank you in advance.
P.S. Also a small feature request, if it’s possible allow us to select main output as input in a Mix. This could be useful in some situations. I know that I can do that with NDI but it’s heavy.
|
|
|
|
Rank: Advanced Member
Groups: Registered
Joined: 7/10/2020(UTC) Posts: 34 Thanks: 12 times Was thanked: 4 time(s) in 3 post(s)
|
I found the solution. There is a parameter called MIX. This was a little bit tricky because we can’t select the mix by name, only with order on input list (at first, I thought that you must put Input Name on parameters). But this isn’t problem because we usually put them on positions 1,2,3. So, if someone set these parameters Quote:http://127.0.0.1:8088/api/?Function=Fade&Duration=1000&MIX=0 it will be executed on Main Mix and it’s equal with this Quote:http://127.0.0.1:8088/api/?Function=Fade&Duration=1000 But if someone execute this Quote:http://127.0.0.1:8088/api/?Function=Fade&Duration=1000&MIX=1 It will be executed on 1st Mix into the input mix. We can add up to 3 Mix inputs so if we set MIX=2, MIX=3 it will executed on 2nd and 3rd Mix on list. We can’t execute everything but the basic are enough. For example, these parameters, Quote:http://127.0.0.1:8088/api/?Function=PreviewInput&Input=CAMERA&MIX=1 set input with name CAMERA on 1st Mix in input list. Of course, we can use the same parameter on TCP API (as I do)
|
|
|
|
vMix Forums
»
General
»
3rd Party Software and Development
»
Change Mix (input) settings, like input source & transition, through API
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