logo

Live Production Software Forums


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

Notification

Icon
Error

Options
Go to last post Go to first unread
richardgatarski  
#1 Posted : Monday, February 4, 2019 5:08:57 AM(UTC)
richardgatarski

Rank: Advanced Member

Groups: Registered
Joined: 2/18/2014(UTC)
Posts: 1,837
Location: Stockholm

Thanks: 144 times
Was thanked: 297 time(s) in 250 post(s)
When I started to play with GT I realized that now might be the time to ask for an old dream of mine.

In order to illustrate what I mean I made a hack in order to create a demo video of this feature.

Even though it apparantly is possible to create an app to do this via the API, I believe that's not a feasable approach for practical reasons. Mainly becuase from outside vMix it is generally impossible to know where the mouse is relative to the interesting area of vMix's GUI. Hence, this type of feature needs to be implemented within vMix.

So far my thoughts sort of lands in the Shortcuts briefly listed below. The basic idea is that if you double-click in the video frame, a pre-defined destonation is first positioned and then imposed on the video. Double-click because right-click is already used, and single left-click I believe is too dangerouse (operator mistake). Video frame can be either in the Preview or the Output in vMix's Main Window or those in the MultiView output. Pre-defined destination can be any available Input or a layer in a MultiView Input.

PositionByMouseSource: Defines the source frame area for SetPositionByMouse Value
Value = None (disable the function), MainWindowPreview, MainWindowOutput, MultiViewPreview, MultiViewOutput

PositionByMouseOverlay: Defines which overlay to toggle when PositionByMouse is used Value, Input
Value = None, Overlay1, Overlay2, Overlay3, Overlay4

PositionByMouseDestination: Sets PanX/Y from mouse double-click X/Y position relatively in the currently selected source Value, Input
Value = Main, Overlay1, Overlay2, ...Overlay10

I have probebly overlooked many things, and other users may have better ideas. Still, I hope you like the idea and that you will help to refine it.


EDIT: Added "None" to the list of Values for PositionByMouseOverlay
doggy  
#2 Posted : Monday, February 4, 2019 6:09:05 AM(UTC)
doggy

Rank: Advanced Member

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

Thanks: 293 times
Was thanked: 955 time(s) in 790 post(s)
Hi Richard

first of all , i like your idea

not ideal but until this data is available have you considered using autohotkey to get a onscreen mouse position to use in your idea and send appropriate instructions to vMix ?
While it doesn't really focuses on the video frame itself (but can be calculated from the data) it might be a workaround in the mean time
richardgatarski  
#3 Posted : Monday, February 4, 2019 6:28:46 AM(UTC)
richardgatarski

Rank: Advanced Member

Groups: Registered
Joined: 2/18/2014(UTC)
Posts: 1,837
Location: Stockholm

Thanks: 144 times
Was thanked: 297 time(s) in 250 post(s)
Originally Posted by: doggy Go to Quoted Post
using autohotkey to get a onscreen mouse position to use in your idea and send appropriate instructions to vMix

That's the engine behind the demo video I made.

doggy  
#4 Posted : Monday, February 4, 2019 6:35:04 AM(UTC)
doggy

Rank: Advanced Member

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

Thanks: 293 times
Was thanked: 955 time(s) in 790 post(s)
ok, got ya

(will stop trying figuring it out with ahk then :-) )
Still pretty cool though
doggy  
#5 Posted : Monday, February 4, 2019 6:47:00 AM(UTC)
doggy

Rank: Advanced Member

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

Thanks: 293 times
Was thanked: 955 time(s) in 790 post(s)
ahk issue already is the different ClassNN's for different version
mgrayeb  
#6 Posted : Monday, February 4, 2019 10:12:54 AM(UTC)
mgrayeb

Rank: Advanced Member

Groups: Registered
Joined: 3/3/2018(UTC)
Posts: 184

Thanks: 86 times
Was thanked: 7 time(s) in 7 post(s)
+1
doggy  
#7 Posted : Tuesday, February 5, 2019 9:37:43 PM(UTC)
doggy

Rank: Advanced Member

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

Thanks: 293 times
Was thanked: 955 time(s) in 790 post(s)
+1
sinc747  
#8 Posted : Thursday, February 7, 2019 4:11:39 AM(UTC)
sinc747

Rank: Advanced Member

Groups: Registered
Joined: 8/2/2013(UTC)
Posts: 1,072
Man
United States
Location: Fairhope, Alabama USA

Thanks: 553 times
Was thanked: 200 time(s) in 166 post(s)
+1
Users browsing this topic
Guest (3)
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.