logo

Live Production Software Forums


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

Notification

Icon
Error

2 Pages<12
Options
Go to last post Go to first unread
JohanSpijker  
#21 Posted : Thursday, March 16, 2017 9:37:28 AM(UTC)
JohanSpijker

Rank: Advanced Member

Groups: Registered
Joined: 11/13/2016(UTC)
Posts: 42
Location: Brugge

Thanks: 5 times
Was 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!")
DWAM  
#22 Posted : Thursday, March 16, 2017 10:45:46 AM(UTC)
DWAM

Rank: Advanced Member

Groups: Registered
Joined: 3/20/2014(UTC)
Posts: 2,721
Man
France
Location: Bordeaux, France

Thanks: 243 times
Was thanked: 794 time(s) in 589 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 ?
JohanSpijker  
#23 Posted : Thursday, March 16, 2017 10:47:34 AM(UTC)
JohanSpijker

Rank: Advanced Member

Groups: Registered
Joined: 11/13/2016(UTC)
Posts: 42
Location: Brugge

Thanks: 5 times
Was 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
DWAM  
#24 Posted : Thursday, March 16, 2017 10:50:18 AM(UTC)
DWAM

Rank: Advanced Member

Groups: Registered
Joined: 3/20/2014(UTC)
Posts: 2,721
Man
France
Location: Bordeaux, France

Thanks: 243 times
Was thanked: 794 time(s) in 589 post(s)
[img]http://t1.gstatic.com/images?q=tbn:ANd9GcR9zFgTAlujgbqnxqeQXh1GpBYzNW9mDpBHeFgLxzBxQq6JRnnJwTbzbuw[/img]
thanks 1 user thanked DWAM for this useful post.
JohanSpijker on 3/16/2017(UTC)
JohanSpijker  
#25 Posted : Thursday, March 16, 2017 7:14:20 PM(UTC)
JohanSpijker

Rank: Advanced Member

Groups: Registered
Joined: 11/13/2016(UTC)
Posts: 42
Location: Brugge

Thanks: 5 times
Was 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 button
the 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!")
IceStream  
#26 Posted : Thursday, March 16, 2017 7:16:16 PM(UTC)
IceStream

Rank: Advanced Member

Groups: Registered
Joined: 3/7/2012(UTC)
Posts: 2,602
Man
Location: Canada

Thanks: 33 times
Was thanked: 501 time(s) in 470 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
JohanSpijker  
#27 Posted : Thursday, March 16, 2017 7:19:43 PM(UTC)
JohanSpijker

Rank: Advanced Member

Groups: Registered
Joined: 11/13/2016(UTC)
Posts: 42
Location: Brugge

Thanks: 5 times
Was thanked: 1 time(s) in 1 post(s)
i found it, it must be:

API.Function("SetMultiViewOverlay","20","1,12")
isidto  
#28 Posted : Wednesday, March 3, 2021 1:10:57 AM(UTC)
isidto

Rank: Member

Groups: Registered
Joined: 1/29/2021(UTC)
Posts: 16
Spain
Location: valencia

Thanks: 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
doggy  
#29 Posted : Wednesday, March 3, 2021 1:45:17 AM(UTC)
doggy

Rank: Advanced Member

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

Thanks: 284 times
Was thanked: 920 time(s) in 759 post(s)
Originally Posted by: isidto Go to Quoted Post
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 1 time(s).
Users browsing this topic
2 Pages<12
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.