vMix Forums
»
General
»
3rd Party Software and Development
»
Change Layer Position (zoom, x/y/z, crop) with API
Rank: Advanced Member
Groups: Registered
Joined: 7/10/2020(UTC) Posts: 35 Thanks: 13 times Was thanked: 4 time(s) in 3 post(s)
|
Can you add function to change the position of Multiview Layer (zoom, x/y/z, crop) with API?
SetPanX/SetPanY/SetZoom changes only Main Position and there no option to set rotate and crop.
Thank you
|
|
|
|
Rank: Advanced Member
Groups: Registered
Joined: 4/16/2017(UTC) Posts: 578 Location: jamaica
Thanks: 77 times Was thanked: 32 time(s) in 31 post(s)
|
I am not sure what you mean, but if my thinking is correct, Try this...create a couple,or make a virtual Input of the multi view you have, and then Layers/Multiview, adjust each to what you need, and use the "Merge" transition, to get the effect I think you are trying to archive .....hope I have put you on the right track, as I m not at my PC to test it....
|
1 user thanked Joeboe for this useful post.
|
|
|
Rank: Advanced Member
Groups: Registered
Joined: 12/27/2012(UTC) Posts: 5,243 Location: Belgium Thanks: 294 times Was thanked: 960 time(s) in 794 post(s)
|
Originally Posted by: tsioukas Can you add function to change the position of Multiview Layer (zoom, x/y/z, crop) with API?
SetPanX/SetPanY/SetZoom changes only Main Position and there no option to set rotate and crop.
Thank you
Guess this would belong in the "feature requests"
|
|
|
|
Rank: Advanced Member
Groups: Registered
Joined: 7/10/2020(UTC) Posts: 35 Thanks: 13 times Was thanked: 4 time(s) in 3 post(s)
|
Originally Posted by: Joeboe I am not sure what you mean, but if my thinking is correct, Try this...create a couple,or make a virtual Input of the multi view you have, and then Layers/Multiview, adjust each to what you need, and use the "Merge" transition, to get the effect I think you are trying to archive .....hope I have put you on the right track, as I m not at my PC to test it.... It’s a solution but its extremely complex and heavy. I must use hundreds of layers to work with that in my template. I developed a software that manage the streaming of a conference (shots, multiview’s, names based on schedule, lower thirds, outputs, and many other) and I need to find an easy and quick solution to change my template. I design new templates on Photoshop and because vMix doesn’t use x, y (left / top) position pixel format the placement of “windows” in my Multiview is very complex. For example, I have an input that I place 4 cameras behind my graphics that I designed on Photoshop. If my client need’s different design, I must calculate it all from scratch. I detect the math type to convert the top-left anchor position to vMix pan x/y (it’s little complex because pan value depends by video resolution, crop, zoom and many other variables). Currently I use excel to make this conversion but I have to copy x,y from photoshop to add it on excel and after that to edit each input position to copy that on vMix. I need to develop a software that I just put only x,y, width, height and automatically change my vMix template. Thank you for your suggestion and your time it’s a good trick for small projects but I don’t think that it will work normally in my project. Originally Posted by: doggy Guess this would belong in the "feature requests" Maybe, but I don't know if I miss something from "Shortcut Function Reference" in vMix Guide.
|
|
|
|
Rank: Advanced Member
Groups: Registered
Joined: 12/27/2012(UTC) Posts: 5,243 Location: Belgium Thanks: 294 times Was thanked: 960 time(s) in 794 post(s)
|
Originally Posted by: tsioukas I design new templates on Photoshop and because vMix doesn’t use x, y (left / top) position pixel format the placement of “windows” in my Multiview is very complex. For example, I have an input that I place 4 cameras behind my graphics that I designed on Photoshop. If my client need’s different design, I must calculate it all from scratch.
I detect the math type to convert the top-left anchor position to vMix pan x/y (it’s little complex because pan value depends by video resolution, crop, zoom and many other variables). Currently I use excel to make this conversion but I have to copy x,y from photoshop to add it on excel and after that to edit each input position to copy that on vMix.
I need to develop a software that I just put only x,y, width, height and automatically change my vMix template.
From what i understand it is not an on the fly change but while preppinga production to the clients wishes Maybe a differen line of thinking could give a solution , like for example by editing a preset file or even the config file before loading it into your production.( the layer position details)
|
1 user thanked doggy for this useful post.
|
|
|
Rank: Advanced Member
Groups: Registered
Joined: 7/10/2020(UTC) Posts: 35 Thanks: 13 times Was thanked: 4 time(s) in 3 post(s)
|
Originally Posted by: doggy From what i understand it is not an on the fly change but while preppinga production to the clients wishes Maybe a differen line of thinking could give a solution , like for example by editing a preset file or even the config file before loading it into your production.( the layer position details) Yes, another approach it to edit xml of vMix project file (.vmix) directly, but there is always the risk to damage it and cause random crashes. It’s more difficult and I lose the benefit to see the effect of position change directly into vMix. But this feature maybe will be useful for on-the-fly changes in future. Thank you again.
|
|
|
|
Rank: Newbie
Groups: Registered
Joined: 3/17/2022(UTC) Posts: 2 Location: PRG
|
Originally Posted by: tsioukas Originally Posted by: doggy From what i understand it is not an on the fly change but while preppinga production to the clients wishes Maybe a differen line of thinking could give a solution , like for example by editing a preset file or even the config file before loading it into your production.( the layer position details) Yes, another approach it to edit xml of vMix project file (.vmix) directly, but there is always the risk to damage it and cause random crashes. It’s more difficult and I lose the benefit to see the effect of position change directly into vMix. But this feature maybe will be useful for on-the-fly changes in future. Thank you again. I have one workaround... - create image sequence of background in aftereffects in position 1 and also in position 2. and than just change image link of background "image" to first image in sequence... Im missing loads of options from AVIDs Realtime... but its usable... :))
|
|
|
|
vMix Forums
»
General
»
3rd Party Software and Development
»
Change Layer Position (zoom, x/y/z, crop) with API
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