Originally Posted by: pablodna Originally Posted by: buffos Originally Posted by: pablodna Originally Posted by: doggy One could easily tie a shortcut to the pan/zoom settings to go in increments of move per keystroke on the fly
Ey!
How are you?
Im trying to do exactly what you say: go o on increments and decrements (with another key) per keystroke in the SetPanX and SetPanY shortcuts to move an input.
How is that done? Could you explain?
Thank you very much!
SetPanX works only on the whole Input. It does not work in a Multiview Layered input on a selected Index.
Yes i know....maybe this is the wrong post.
What i want to do is to move an Input (SetPanX, SetanY, an SetZoom). Then, that Input is going to be in an Overlay...but thats doesnt matter actually.
This...
But the SetPanX and SetPanY only allows to make statics movements...from one point to another.
Thanks!
...
The implementation I use is a little different, but the TL:DR is:
The "SetPanX" and "SetPanY" calls do allow you to just move by a delta amount, not only the fixed position you enter.
I run vMix on virtual machines in a cloud production environment I'm building for my employer, so my use of StreamDecks is a little different than most. BitFocus Companion is a good substitute for a lot of the local/USB usability for vMix, but our current use is set up to just use HTTP Get calls. So each StreamDeck button is just a "Website" with "GET request in background" checked.
The URLs use the API calls, and sometimes I have to make multi-action buttons to combine some actions [that don't need triggers assigned to vMix Inputs]. The URL's look like this:
http://ip:port/api/?function=OverlayInput4&input=Intro-Revised.mov (Run this Overlay with this Input)
http://ip:port/api/?function=SetMultiViewOverlay&Value=1,56 (Change layer 1 to this Input)
Recently I too have had to setup the "Move Under A Mask With a Mix Input... because of Leaning Talent" (since vMix STILL won't let us add Alpha Masks to individual layers regardless of position... I wouldn't even mind using up layers as Masks, if we could gain that functionality [a simple 'Use layer as mask to adjacent underlayer' checkbox would be great])
The syntax on the URL looks like:
"SetPanX&Value=-=.1&Input=X"
- '&Value='Minus by .1' (this would be "Move Left by .1 amount")
- But URLs use Percent Encoding.. and usually don't like the '+' and '-' characters so these have to be converted, so the final URL actually looks like:
http://ip:port/api/?function=SetPanX&Value=%2D%3D.1&Input=61
The inverse of this to move right (%2D = '+' [Plus]):
http://ip:port/api/?function=SetPanX&Value=%2B%3D.1&Input=61
Key:
%2D = '-'
%2B = '+'
%3D = '='
This also works for Raising Volume by a percentage amount:
http://ip:port/api/?function=SetBusAVolume&Value=%2B%3D4
I'm constantly amazed by what we're able to do with vMix, but I know a lot of us are frustrated by some big issues like:
- 1080p Calls
- Ability to crop masks (I understand computing issues here.. but most of us would be okay with limits "Only able to crop 10 total nested inputs)
- Ability to use a layer as a mask to an adjacent layer would be a complete game changer for most of us.. and it shouldn't add too much computing drain because of the 0 / 100 alpha values and the fact that you can already crop each layer in an input is already there, the mask would just say what pixels are transparent or not... PLEASE LET US EAT LAYERS FOR MASKS!
My rambling is finished, but I hope the Delta Syntax usages above help someone out there!