vMix Forums
»
General
»
General Discussion
»
How can I modify the multiview of an entry using scripts
Rank: Advanced Member
Groups: Registered
Joined: 6/16/2020(UTC) Posts: 77 Thanks: 8 times Was thanked: 2 time(s) in 2 post(s)
|
Greetings to all of the forum, I want to change the size and position during the live production of the multiview of an entry, for example in an input let's call it "live" I load an image as a background and inside it I add 2 entries of 2 cameras with the that during the talk they change their position and size as programmed in the script. It is that in the script I cannot find the way to obtain that object, that is to say the camera that is inside the "live" input as an overlay to be able to modify its parameters with the functions of position, size and even transparency, I could modify it from the input from the camera itself if I could do it, when changing it also changes in the input multiview, ... but I would like to do it by grabbing the same multiview of the input "live" this so as not to touch the configuration of the input of the camera .... could it be done ?, I don't know if it explains me well, in other words ... in an input load a title exactly "MultiViewHD" I have to add two inputs there, now I would like to change position and size to these 2 entries is more to add another entry but all this doing in the script, I do not find a function to modify the overlays of an entry that carries other entries in the multiview ..... I thank you for your attention. .. ... :(
|
|
|
|
Rank: Advanced Member
Groups: Registered
Joined: 12/27/2012(UTC) Posts: 5,227 Location: Belgium Thanks: 293 times Was thanked: 956 time(s) in 791 post(s)
|
Show example
functions: SetZoom, SetPan etc
|
|
|
|
Rank: Advanced Member
Groups: Registered
Joined: 6/16/2020(UTC) Posts: 77 Thanks: 8 times Was thanked: 2 time(s) in 2 post(s)
|
Thanks for answerin, if exactly those functions I use; but I need to change them to the inputs of the overlays of the "MultiViewHD" and I don't know how to find that object with each overlay in this case there are 2 how to change them I can't get that object, there is something like "Dim s = input.find (" MultiViewHD "). Overlay (1)" now there if I could apply the functions to "s" ...... but obviously it is not used like this but it is an idea of how to find that object to apply the position functions and zoom .... how do I find that object ... regards
|
|
|
|
Rank: Advanced Member
Groups: Registered
Joined: 12/27/2012(UTC) Posts: 5,227 Location: Belgium Thanks: 293 times Was thanked: 956 time(s) in 791 post(s)
|
MultiViewHD is not really aa multiview, but a title whih one can overlay directly or within a multiview.
you will need to create an input containing your other inputs in the first place
|
|
|
|
Rank: Advanced Member
Groups: Registered
Joined: 6/16/2020(UTC) Posts: 77 Thanks: 8 times Was thanked: 2 time(s) in 2 post(s)
|
friend thanks for being there now, of course in that entry I add others as overlays and I want to change those overlays as the example that I show the code, .... leaving aside that I have reviewed a topic that is almost the same what I think do, and you showed this video on that topic here this is something similar what I want to achieve but all through scripts if another guest comes add it and the other overlays are adjusted to the correct size to give space to the other overlap, ... here you do it with 3 but it can be up to five ..... but I need you to see this code I want to find that object to apply position and zoom "Dim s = input.find (" MultiViewHD ").Overlay (1)" , now your video is accurate but do it through scripts with the position functions and zoom, ...
|
|
|
|
Rank: Advanced Member
Groups: Registered
Joined: 12/27/2012(UTC) Posts: 5,227 Location: Belgium Thanks: 293 times Was thanked: 956 time(s) in 791 post(s)
|
There is no need for a script if you want to emulate the video including changing the guests
Merge (check video about squeze backs etc) and mini Mixes as inputs instead of direct inputs
if you really want to play with scripting check out the "scripting for dummies" post , there is one inthere that might be of use to you
|
1 user thanked doggy for this useful post.
|
|
|
Rank: Advanced Member
Groups: Registered
Joined: 6/16/2020(UTC) Posts: 77 Thanks: 8 times Was thanked: 2 time(s) in 2 post(s)
|
well friend just answer me this the code to find the object, this is the uregente as I find it, I imagine it is this way, because the vmix gives a key name to each superposition so that vmix adapts or resizes it individually. this code as I solve it to find the overlay I want and modify it Dim s = input.find (" MultiViewHD ") .Overlay (1)
Thank you
|
|
|
|
Rank: Advanced Member
Groups: Registered
Joined: 12/27/2012(UTC) Posts: 5,227 Location: Belgium Thanks: 293 times Was thanked: 956 time(s) in 791 post(s)
|
Originally Posted by: Papo well friend just answer me this the code to find the object, this is the uregente as I find it, I imagine it is this way, because the vmix gives a key name to each superposition so that vmix adapts or resizes it individually. this code as I solve it to find the overlay I want and modify it Dim s = input.find (" MultiViewHD ") .Overlay (1)
Thank you Again, MultiViewHD is a title, not a multiview ! Please also make your question a little bit more to the point (less story) as so far you have gone from (what i can understand if at all ) switching layers to resizing layers which is useless using the MutiviewHD Elements that can be found with a script is only what can be found in the vMix API (localhost:8088/api) Function usable in a script are the same one can use for a shortcut (see help files function reference) so check first if a shortcut can do what you want (per step)
|
|
|
|
Rank: Advanced Member
Groups: Registered
Joined: 6/16/2020(UTC) Posts: 77 Thanks: 8 times Was thanked: 2 time(s) in 2 post(s)
|
example: in an entry I can add 5 overlays (they can be up to 10) and each overlap I want to resize them, position transparency, etc, make changes to the overlays of an entry, but do it automatically using code ......... no I know if this is clear and a thousand apologies if I don't know how to explain it well, forgive me
|
|
|
|
vMix Forums
»
General
»
General Discussion
»
How can I modify the multiview of an entry using scripts
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