glikely / obs-ptz

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

Power off camera through visca #173

Open GarthDB opened 10 months ago

GarthDB commented 10 months ago

All of the Visca over IP command lists I can find show an option for powering off the camera (or standby for BirdDog). I noticed the plug-in has an option for powering on the camera, but it would be nice to power it off as well.

image

I imagine it as a checkbox option in the config to send the power off command to the camera when OBS shuts down. If I'm reading the OBS plug-in api docs correctly there is a function that could be used to handle this.

I'm happy to put together a pr if it's likely to get merged. The use case for me is we have a permanently installed camera that is used once a week and is just left on the rest of the time. It would be nice to save a little power and maybe prolong the life of the camera by being in standby or turned off.

markusd1984 commented 8 months ago

This is so needed for churches and similar situations, if only the camera supports the command though :) The RBLink ePTZ camera we use is on 24/7 in our church because it doesn't seem to support it and Ubiquit UDM-SE doesn't support POE off/on commands. :(

Another way could be custom VISCA Command buttons https://github.com/glikely/obs-ptz/issues/169

I had to modify the plugin to add a button for turning on/off Auto tracking.

ogmkp commented 6 months ago

But I have the Power off right click option on my side (after clicking on Power ON who don't know the real state of the camera).