vMix Forums
»
General
»
General Discussion
»
How to Set Mix Input 2/3/4/... Preview and Outputs with script
Rank: Member
Groups: Registered
Joined: 8/18/2018(UTC) Posts: 12 Location: Utah
Thanks: 14 times
|
Hi Vmix Experts,
I'm trying to set Mix Input 2/3/4/... Preview and Output with a script but can't get it to work.
Here is what I'm trying:
Input.Find("VideoForMix2Preview.mov").Function("PreviewInput", Mix:=1)
It's not working. Any help would be greatly appreciated on how to do this. Thanks!
|
|
|
|
Rank: Advanced Member
Groups: Registered
Joined: 12/27/2012(UTC) Posts: 5,322  Location: Belgium Thanks: 299 times Was thanked: 979 time(s) in 812 post(s)
|
Is there even a shortcut that can do this ? Not seeing it so far , then again its still early in the year ;-)
Edit: There is :-)
Function: PreviewInput & ActiveInput Input: "theinput" Mix: 1/2/3/4
|
 1 user thanked doggy for this useful post.
|
|
|
Rank: Advanced Member
Groups: Registered
Joined: 11/23/2020(UTC) Posts: 172  Location: Wichita Thanks: 10 times Was thanked: 24 time(s) in 20 post(s)
|
Originally Posted by: doggy  Is there even a shortcut that can do this ? Not seeing it so far , then again its still early in the year ;-)
Edit: There is :-)
Function: PreviewInput & ActiveInput Input: "theinput" Mix: 1/2/3/4 A FYI for anyone looking at this, the Mix number you use in Scripting is the Mix number from the description - 1. It's Zero based in scripting, 1 based in the names. That should save you the hours I spent trying to figure out why my script wasn't working. It will NOT give you an error if you reference a Mix number that doesn't exist.
|
|
|
|
Rank: Advanced Member
Groups: Registered
Joined: 7/1/2020(UTC) Posts: 89  Location: Earth Was thanked: 18 time(s) in 16 post(s)
|
Originally Posted by: doggy  Is there even a shortcut that can do this ? Not seeing it so far , then again its still early in the year ;-)
Edit: There is :-)
Function: PreviewInput & ActiveInput Input: "theinput" Mix: 1/2/3/4 yep, i use them on my streamdeck... 
|
|
|
|
vMix Forums
»
General
»
General Discussion
»
How to Set Mix Input 2/3/4/... Preview and Outputs with 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