Resource icon

Control Visca-over-IP based cameras 1.1

vwout

New Member
vwout submitted a new resource:

Control Visca-over-IP based cameras - This script adds a source to a scene in OBS which can be used to control a camera.

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...
Read more about this resource...
 

ghostman90215

New Member
This is spot-on wha I’m looking for, and inferring from the examples... for the same reasons... PSZ camera steering based on scene selection for worship services so that the stream producer can automate camera control without the need for a person separately running the cameras.

I downloaded and installed this last night. I have not been able to get it to work. Is there a troubleshooting protocol someone could point me at?
 
Sorry, for new folks to OBS, the following installation instructions may not be clear:

The plugin is a script plugin and utilizes the Lua scripting capabilities of OBS. To use the plugin, add the file obs-visca-control.lua to OBS under Script in the Tools menu. The other .lua files in this repository are also required, but should not be added as scripts in OBS.
the 3 *.lua files in the download ZIP, being
  1. libvisca.lua Cleanup
  2. ljsocket.lua Add Visca library with support for Power On/Off and Preset Recall
  3. obs-visca-control.lua Release v1.0
The first 2 of those, being the "other" files referenced. And all 3 files need to go into the same directory, right?

Is the following accurate (for fresh Win10 x64 OS, 64-bit OBS install) /common practice
Copy those 3 files into either
C:\Program Files\obs-studio\data\obs-scripting\64bit
or would it be
C:\Program Files\obs-studio\data\obs-plugins\frontend-tools\scripts
or does it not matter? [sorry, showing my obvious ignorance on this matter]

Then
To use the plugin, add the file obs-visca-control.lua to OBS under Script in the Tools menu
that is, in OBS, click on Tool-> Scripts then click the "+" symbol, and point to obs-visca-control.lua and Click OK ??
 

vwout

New Member
I downloaded and installed this last night. I have not been able to get it to work. Is there a troubleshooting protocol someone could point me at?
What you can do is open the script log from the scripts dialog. This might log failures or issues. To get more detailed logging, open obs-visca-control.lua and change line 18 to 'plugin_data.debug = true'. A reload of the plugin should start logging plenty of information.
When you don't see errors in the logs, it could be that your camera uses a Visca dialect that is slightly different from the 'standard'.
 

vwout

New Member
The first 2 of those, being the "other" files referenced. And all 3 files need to go into the same directory, right?
That is correct.

Is the following accurate (for fresh Win10 x64 OS, 64-bit OBS install) /common practice
...
or does it not matter? [sorry, showing my obvious ignorance on this matter]
It does not matter where the 3 files are. These can be stored anywhere the directory obs-plugins\frontend-tools\scripts is a good place; the other location is for plugins and this is a script. But files can be anywhere on your machine.

that is, in OBS, click on Tool-> Scripts then click the "+" symbol, and point to obs-visca-control.lua and Click OK ??
Correct.

for new folks to OBS, the following installation instructions may not be clear:
I will make an attempt to improve the readme ;)
 

vwout

New Member
vwout updated Control Visca-over-IP based cameras with a new update entry:

Release 1.1

This updated includes a few enhancements and minor changes to the documentation:
  • The visibility (enabled/disable) of the Visca plugin source is now respected. When the plugin is disabled in a scene, the action is not executed.
  • A new options is added to the source settings of the plugin to run an action on preview only when the camera is not active on program. This prevents accidental changes to the camera as long as it is live for broadcasting.
Read the rest of this update entry...
 
Top