vwout / obs-visca-control

OBS plugin to control Visca-over-IP based cameras
https://obsproject.com/forum/resources/control-visca-over-ip-based-cameras.1173/
GNU General Public License v3.0
35 stars 6 forks source link

Added simple animation functionality and preset hotkey #3

Closed christinoleo closed 3 years ago

christinoleo commented 3 years ago

I needed some added functionality for my usecase and thought of contributing back in case you think it's useful. Two main changes:

  1. I added the presets 1 through 9 as hotkeys. This way, I am able to easily automate this through external macros (Touch Portal in my case)
  2. I added the action "Animate" and the settings of animation direction and speed (no zoom because I don't need so I didn't take the time to make it). This way you can pan the camera over a crowd automatically in a scene and if you switch scenes, this animation is canceled. Also is helpful if used in conjunction with external macros (Touch Portal in my case) to switch camera and use timers to position the PTZ camera to the beginning of the animation and switch back to the PTZ camera when it begins the animation.
christinoleo commented 3 years ago

I wouldn't mind rewriting but i am completely full of things currently, so I'd take a while before having the time to do them. Feel free to cherry pick ideas and whenever i came I'll see if there is anything left and will focus on that.

vwout commented 3 years ago

Applied and reworked the changes is this pull request in commits 90c508a and 2350516 .