glikely / obs-ptz

OBS Pan Tilt Zoom camera control plugin
GNU General Public License v2.0
143 stars 41 forks source link

Issue loading presets & zoom controls sticking #183

Open kren24 opened 6 months ago

kren24 commented 6 months ago

When loading presets, it's necessary to click the saved preset 5 times before it loads. The manual controls stick when zooming and fails to stop (continues zooming after releasing click) - I've tried on two different installs (Win 10 & Win 11) with the same issues. Is this an issue with the camera or a configuration issue?

CimCup commented 5 months ago

I have the same problem.

Tested with Tenveo PTZ Camera PTZ Control Plugin 0.15.4 and 0.16.test2

RobActive commented 3 months ago

First, Thank you for all the efforts you've put into developing this plugin. I have the same problem Tenveo HD Conference Camera 20x USB/HDMI/IP/SDI Version V5.32 firmware new-VHD-RK-20230511.bin . OBS Studio 30.0.2 (64 bit). Connected the camera to the PTZ controls plugin using VISCA/TCP port 52381. I can control the camera using the up/down quite reliably. However, when I zoom in or out, it will start and will not stop as expect after releasing the software’s button.

Also, I cannot reliably set Presets. “If” a preset does work, it will not activate unless you quickly press the preset’s software button about 5 time instead of at single click. I have also reached out to Tenveo regarding this. Also, pan direction is reversed.

UPDATE: Preset 1 does not appear to work at all.

UPDATE: I have installed demo PTZ Controller 4.1 from http://www.ptzcontroller.com . I was able to successfully connect the camera using ONVIF. I was unable to generate a preview within this app, however it works very well with OBS Studio. This software has options to reverse the Pan and/or the Tilt directions, separately. Originally, the Pan was OK but Tilt was reversed. I was able to correct this with their options. The XBOX controller feature sort of works... Connects good and is recognized, Pan/Tilt and Zoom work but controller settings had to be changed from default for zoom to work. Also, the issue with the zoom not stopping does not occur with their software. Their software does not have a dockable option for OBS Studio.

It appears the solution to the reverse direction might be providing an option which can be configured for each camera. Also, they have integrated the flexibility for the user to select button functionality for the XBOX control pad.

UPDATE: Through trial and error,... Adding Presets appear to be successfully added every time "if" you add it 5 time in a row quickly. I'm wondering if there's something related to the clicking for those buttons that requires the 5 times?