Resource icon

OBS Lua Control Visca-over-IP based cameras 2.5

This plugin adds a source to a scene in OBS. With this source, a camera can be controlled. Its main purpose is to automatically switch a camera to a certain preset when the scene is activated. This activation can be as soon as the scene is active in preview, in program, or both.

Besides recalling a pre-made preset, this plugin supports a few more control operations:
  • Switch camera On
  • Switch camera Off
  • Preset Recall
This plugin requires the camera to support Visca over IP. It follows the specification as designed by Sony. This plugin has been tested with Everet cameras.

Before the plugin can be used in a scene, it requires configuration in the Script dialog.
plugin_settings.png


To control a camera, add a Visca Camera Control source to a scene.
scene_settings.png


For full documentation, see obs-visca-control script on Github.
Author
vwout
Downloads
7,760
Views
16,996
First release
Last update
Rating
4.80 star(s) 5 ratings

Latest updates

  1. Release 2.5

    This is a bugfix release to resolve several issues related to the new action handling introduced...
  2. Release 2.4

    This release implements a significant change regarding the handling of start and stop actions on...
  3. Release 2.2.1

    A small update release with a bugfix a few additional capabilities: The Pan/Tilt speed...

Latest reviews

Script works well. The only problem I have found is the JVC PZ200N presets start at 1 and in the script you must specify the JVC preset number -1. This is the same problem that Randle had. It appears that some vendors start with 0 while others start with 1.
vwout
vwout
Thanks, but this indeed is very true. Even between Sony cameras this difference is present - or it was a mistake in an early specification documentation release, causing implementation differences.

I can automatically correct for this when you share the camera Vendor and Model id that is shown as 'Version Info at the camera configuration.
Works perfectly with Canon CR-N300 for church service
I also used this with the Birddog PF120. Very helpful! It didn't work first time, but didn't take long. Preset 1 on my Birddog was Preset 0 in this script.
Tested it with a Birddog PF120, works very well (that thing by default only supports zoom as it is not a full ptz camera), but this script for OBS is the first thing i encountered which I was actually able to get running under Debian 11, others failed to build and non-crossplattform vendor solutions failed to run under wine. This script not only does the job, it also does it pretty neat and lightweight, I really like it. Thank you for coding this!
This OBS plugin works verry well with different brands of PTZ camera's.
Top