Resource icon

OBS Lua Control Visca-over-IP based cameras 2.6

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
11,277
Views
20,329
First release
Last update
Rating
4.83 star(s) 6 ratings

Latest updates

  1. Release 2.6

    This release adds better support for Canon PTZ camera's and it probably also improves this on...
  2. Release 2.5

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

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

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