| 
	Rank: Advanced Member
 Groups: Registered
Joined: 11/13/2016(UTC)
 Posts: 42
 Location: Brugge
 
 Thanks: 5 timesWas thanked: 1 time(s) in 1 post(s)
 
 | 
            
		      
                Yeah, It Works with this script:
 Console.WriteLine("Beginning Example Script")
 For i As Integer = 0 to 255
 Sleep(20)
 Console.WriteLine(255-i)
 API.Function("SetAlpha",6,(255-i))
 API.Function("SetAlpha",7,(i))
 Next
 Console.WriteLine("Finished!")
 
 | 
    | 
             | 
            
         | 
    |  | 
        
        
        
            
        
            
            
    | 
	Rank: Advanced Member
 Groups: Registered
 Joined: 3/20/2014(UTC) Posts: 2,719   Location: Bordeaux, FranceThanks: 243 timesWas thanked: 796 time(s) in 590 post(s)
 
 | 
            
		      
                Congrats! Well done Johan!
 How do you use this script? With a shortcut trigger ? Then you need to make/adapt this script for each inputs you want to use in your multiview, right ?
 
 I guess it also impacts inputs 6 & 7 for your PGM out, right ?
 
 | 
    | 
             | 
            
         | 
    |  | 
        
        
        
    
        
            
            
    | 
	Rank: Advanced Member
 Groups: Registered
Joined: 11/13/2016(UTC)
 Posts: 42
 Location: Brugge
 
 Thanks: 5 timesWas thanked: 1 time(s) in 1 post(s)
 
 | 
            
		      
                I will make 3 scripts, the camera inputs has fixed input numbers.I call the scripts with a http command (API)
 
 The cameras are never shown in the program !, see my explanation above
 | 
    | 
             | 
            
         | 
    |  | 
        
        
        
            
        
            
            
    | 
	Rank: Advanced Member
 Groups: Registered
 Joined: 3/20/2014(UTC) Posts: 2,719   Location: Bordeaux, FranceThanks: 243 timesWas thanked: 796 time(s) in 590 post(s)
 
 | 
            
		      
                [img]http://t1.gstatic.com/images?q=tbn:ANd9GcR9zFgTAlujgbqnxqeQXh1GpBYzNW9mDpBHeFgLxzBxQq6JRnnJwTbzbuw[/img] | 
    | 
              1 user thanked DWAM for this useful post. |  | 
    |  | 
        
        
        
    
        
            
            
    | 
	Rank: Advanced Member
 Groups: Registered
Joined: 11/13/2016(UTC)
 Posts: 42
 Location: Brugge
 
 Thanks: 5 timesWas thanked: 1 time(s) in 1 post(s)
 
 | 
            
		      
                I will be simpler to use Fade over black, then it will be no problem I press 2 times the same camera buttonthe script below works for fading, but the
 API.Function("setMultiViewOverlay&Input=20&Value=1,11")is not working (selecting input 11 in multiviewoverlay 1 of input 20)
 
 
 Console.WriteLine("Begining curving")
 For i As Integer = 0 to 255
 Sleep(5)
 Console.WriteLine(255-i)
 API.Function("SetAlpha",11,(255-i))
 API.Function("SetAlpha",12,(255-i))
 API.Function("SetAlpha",13,(255-i))
 Next
 
 API.Function("setMultiViewOverlay&Input=20&Value=1,11")
 
 For i As Integer = 0 to 255
 Console.WriteLine(i)
 API.Function("SetAlpha",11,(i))
 API.Function("SetAlpha",12,(i))
 API.Function("SetAlpha",13,(i))
 Next
 Console.WriteLine("Finished!")
 | 
    | 
             | 
            
         | 
    |  | 
        
        
        
            
        
            
            
    | 
	Rank: Advanced Member
 Groups: Registered
 Joined: 3/7/2012(UTC) Posts: 2,664  Location: CanadaThanks: 33 timesWas thanked: 512 time(s) in 480 post(s)
 
 | 
            
		      
                @ JohanSpijker 
 Glad you were able to achieve your objective!
 But forgive my ignorance as I am still not 100% clear on your total workflow as you only reference 2 camera Inputs and 1 Program Output, I can only assume you are using more Inputs for final Program Output (but I hate assuming).
 If you ever get the chance to elaborate more or possibly share some 'Behind The Scenes' pics or somehow get permission to show YouTube videos of these or similar productions in the "Showcase" thread, I'd love to see exactly what we were trying to help with and how your solution works.  I'm just always blown away with what can be accomplished with vMix and some creativeness.
 
 
 Ice
 | 
    | 
             | 
            
         | 
    |  | 
        
        
        
    
        
            
            
    | 
	Rank: Advanced Member
 Groups: Registered
Joined: 11/13/2016(UTC)
 Posts: 42
 Location: Brugge
 
 Thanks: 5 timesWas thanked: 1 time(s) in 1 post(s)
 
 | 
            
		      
                i found it, it must be:
 API.Function("SetMultiViewOverlay","20","1,12")
 | 
    | 
             | 
            
         | 
    |  | 
        
        
        
            
        
            
            
    | 
	Rank: Member
 Groups: Registered
 Joined: 1/29/2021(UTC) Posts: 16  Location: valenciaThanks: 2 times
 | 
            
		      
                Hello,
 I'm trying to figure out how to preview a virtual set camera. Computing between medium, general and close-up shot via script (Api)
 
 But I do not find the command in Api, I have found this but I don't know if it is the appropriate one, it gives me that it is for multiview
 
 API.Function ("SetMultiViewOverlay", "20", "1.12")
 
 I've searched dummys ...
 
 Someone knows how to call a virtual camera from the virtual set
 | 
    | 
             | 
            
         | 
    |  | 
        
        
        
    
        
            
            
    | 
	Rank: Advanced Member
 Groups: Registered
 Joined: 12/27/2012(UTC) Posts: 5,446  Location: BelgiumThanks: 311 timesWas thanked: 1006 time(s) in 830 post(s)
 
 | 
            
		      
                Originally Posted by: isidto  Hello,
 I'm trying to figure out how to preview a virtual set camera. Computing between medium, general and close-up shot via script (Api)
 
 But I do not find the command in Api, I have found this but I don't know if it is the appropriate one, it gives me that it is for multiview
 
 API.Function ("SetMultiViewOverlay", "20", "1.12")
 
 
 With al due respect you are just guessing right ?  Sorry: Hello, Maybe this will help:https://www.vmix.com/kno...s-angles-using-shortcuts   function.JPG (114kb) downloaded 2 time(s). | 
    | 
             | 
            
         | 
    |  | 
        
        
        
    
                           
	
    
        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