Build PTZ camera controls into your StreamDeck!
In this video, we will demonstrate how to set up an Elgato Stream Deck as a live streaming control surface for your favorite live streaming software and PTZ camera controls for PTZOptics cameras. Once you have unboxed your StreamDeck, go ahead and plug it into your computer which will provide the unit with power and connectivity. Your computer should recognize the USB connection almost immediately. The StreamDeck should light up showing you that everything is working. You are almost ready to go! Now you need to download the latest software to setup your StreamDeck at, https://www.elgato.com/en/gaming/downloads.
Note: If you are planning to use your StreamDeck to control OBS, make sure that you have OBS already installed. The StreamDeck control panel installs a plugin for OBS when it downloads. It will not load properly if OBS is installed after you install the StreamDeck control panel.
Once you have downloaded the software for either Mac or Windows you can go ahead and launch the program. You are now ready to program your stream deck. On the bottom right corner, there is a button for more actions. This is where you can install custom action such as a CPU usage monitor, an analog clock and support for 3rd party streaming software such as vMix. Support for OBS, Mixer, StreamLabs, Twitch, Twitter, xSplit, and YouTube are built in by default. You can add commands to your stream deck by dragging and dropping the commands you would like to appear on your StreamDeck to the buttons represented in this application. For each button, you should see that you can customize the name of the button. You will also be presented with options for configuration.
The physical device will show your changes as you are making them. A unique feature for the StreamDeck allows users to create profiles that allow you to open up new sets of buttons. For example, you can have a home profile and then you can have a profile for each PTZOptics camera in your studio or each social media platform you would like to control. You can add website shortcuts, application shortcuts, camera controls, audio buttons, and much more. For this example, we will create a unique profile for a PTZOptics camera in our studio. You can also automate your live streaming software such as vMix, xSplit, and OBS. For this example, we will also demonstrate how you can use Open Broadcaster Software. You can control your PTZOptics camera directly inside OBS or you can create custom buttons to call PTZ camera presets.
Let’s start by setting up OBS. Go ahead and create a scene for each PTZOptics camera with that we want to use with a built-in camera preset command. We will use a web browser input to automatically control our PTZ cameras when we switch to our OBS scenes. Start by opening up OBS and adding a scene for your first camera. Add your camera source and a browser source. Inside the browser, source uses the HTTP command for calling a camera preset. Set up your camera preset in the location you would like the camera to be at in this OBS scene. Don’t forget to click the “Refresh Browser when the scene becomes active” button to make sure OBS sends the PTZOptics camera a preset command every time you switch to this input. You can now duplicate this scene and change the HTTP command to represent a new camera PTZ preset.
Now back in Elgato Stream Deck software, let’s create a profile for OBS to store all of our OBS specific button commands. Click the top left-hand corner dropdown menu and click “edit profiles”. In the preferences, window click the plus button to add a new profile for OBS. We can now access this profile and create a new set of buttons that we can access from our home screen. It’s a good idea to also create a button to go back to the home screen at any time in these newly created profiles. Let’s start by adding a stream and record button inside our OBS profile. Then in the OBS studio dropdown menu found in the right-hand sidebar, add a scene for each scene you have created inside of OBS. You can drag a “Scene” into any button in this profile. You can then name and configure which scene this button will trigger. Because our OBS scenes have built-in HTTP commands being sent to our PTZOptics camera, the cameras will move automatically when a scene is called. You can go ahead and test this by pressing the buttons.
Optionally, you can send PTZ camera preset commands directly to PTZOptics cameras. This may be a better option for remotely controlling your cameras. To do this, set up another profile in your StreamDeck for each PTZOptics camera you would like to control. In your newly created profile, choose the “Website” option under the systems tab. Here you can name your preset and enter the HTTP command from the list available on ptzoptics.com/downloads.
Note: You will need to know your cameras IP address in order to use HTTP commands. Generally, an HTTP command contains multiple variables used to communicate with your PTZOptics camera over IP.
You can customize the variables in the HTTP command to perform various video production actions with your PTZOptics robotic camera. Do not forget to click “Access in Background” option so that your StreamDeck does not open up a new web-browser every time that you use the button. And that’s it! You now know how to set up an Elgato Stream Deck to control OBS and PTZOptics cameras. Setting this system up with other video production systems will be a fairly similar process. If you have questions please let us know in the comments below. We are really enjoying this new StreamDeck and look forward to sharing more in the future! So don’t forget to subscribe!
More on PTZ Camera Control & Software
- Livestream Studio builds in PTZ camera control support! Here’s our review.
- New PC & Mac Pan Tilt Zoom Camera Control Software from PTZOptics here.
- Learn how to setup wireless PTZ camera controls here.
- How to access PTZ camera controls outside your network here.
- Using a iOS iphone or iPad app for PTZ camera control here.
- How to mask PTZ camera movement with easing transitions here.
- How to control PTZ camera movement speed here.
- MimoLive builds in PTZ camera support for PTZOptics cameras here.
- Tips for using the IR remote control for PTZ camera control here.
- How to use the IR remote control with multiple PTZ cameras here.
- How to use RS-232 and RS-485 camera control cabling here.
- Testing auto-tracking cameras in a live streaming show setting here.
- PTZ Camera control inside the NewTek Tricasters here.
- How to control PTZ cameras in vMix here.
- Using Multicast for PTZ Camera Control here.