Wednesday, July 14, 2021

Control PTZ optics using their OBS "PTZOptics Open Source Control Software"

 This will let you control the PTZ optics camera using buttons that you can place inside your OBS Studio program.

First you want to download the PTZ optics package for their cameras to use with OBS

PTZOptics Open Source Software.zip

This is the most recent version (as of July 14, 2021).  This one fixes a problem where you could only control 1 camera, despite claims that you could control 4 (or more)

Next, you unzip this file, and you can unzip it anywhere in your machine, doesn't need to be in the OBS folder.  Just put it in a spot where you aren't going to accidently delete it later on.

Once you unzip it, you'll have a folder like this:

Here's the whole process you should know.  The above example controls 4 cameras, you just use use a different folder for each camera you have.  You could have a whole bunch, just copy/paste the Camera "X" folder and give it a new name.  PTZOptics makes it very easy.

STEPS:

Go into the folder for a camera.  I'll use Camera 1 as example

You will see a few pre-built layouts



Lets pick "Medium Controller (6) Preset Images".  So, simply double click that file, and it will open in a web browser

Now select the entire URL location and copy it.  We are going to paste this into OBS, and obs will use this file location and file URL to display the image you see now into OBS.


Go into OBS and select VIEW -> DOCKS -> CUSTOM BROWSER DOCKS


You'll see this:


Give it a "DOCK NAME" of your choice, then in the "URL" window paste the URL you copied above


Then press "APPLY"

You should now see a window pop up with the title you put in "Dock Name"

Now click drag it an you can place it somewhere in OBS that you like.


Now click on "PREFERENCES" in the Camera window at the bottom


Now you can assign hotkeys 1-9 on your PTZOptics camera and by pressing one of these buttons 1-9, the camera will move.


Change the IP Address to be the IP of the camera you are trying to control, then press "RELOAD CAMERA"  (which means "save IP address"

Click on DONE to get out of this screen.

You may need to restart OBS after to reload the camera you want to control.  
Youll notice there are other functions that you have access to just in case.


Now in that same folder that you unzipped, you'll notice some other pre-built controls.  You can have them all in OBS if you want.  I like the one called "Small Controller".  This will let me move the camera around

Repeat the above steps by copy/pasting the file URL of the subseqent URL files you want to have in OBS.
I place the "Small Controller" window ontop of the camera window, and it creates a small tab at the bottom that lets me toggle back and forth between the preset view and the PTZ view.





No comments:

Post a Comment