logo

Live Production Software Forums


Welcome Guest! To enable all features please Login or Register.

Notification

Icon
Error

Options
Go to last post Go to first unread
AndrewRed  
#1 Posted : Thursday, January 2, 2020 6:36:51 AM(UTC)
AndrewRed

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!
doggy  
#2 Posted : Thursday, January 2, 2020 7:36:40 AM(UTC)
doggy

Rank: Advanced Member

Groups: Registered
Joined: 12/27/2012(UTC)
Posts: 5,057
Belgium
Location: Belgium

Thanks: 283 times
Was thanked: 916 time(s) in 755 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
thanks 1 user thanked doggy for this useful post.
AndrewRed on 1/2/2020(UTC)
Roy Sinclair  
#3 Posted : Thursday, February 16, 2023 11:12:23 AM(UTC)
Roy Sinclair

Rank: Advanced Member

Groups: Registered
Joined: 11/23/2020(UTC)
Posts: 146
United States
Location: Wichita

Thanks: 8 times
Was thanked: 21 time(s) in 17 post(s)
Originally Posted by: doggy Go to Quoted Post
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.

AudioGreg  
#4 Posted : Thursday, February 16, 2023 3:37:26 PM(UTC)
AudioGreg

Rank: Advanced Member

Groups: Registered
Joined: 7/1/2020(UTC)
Posts: 78
United States
Location: Earth

Was thanked: 15 time(s) in 13 post(s)
Originally Posted by: doggy Go to Quoted Post
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...

streamdeck keys mix 1-4

Users browsing this topic
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.