Skip to content

OBS Pan Tilt Zoom camera control plugin

License

Notifications You must be signed in to change notification settings

LuukVerhagen/obs-ptz

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Pan Tilt Zoom (PTZ) Controls for OBS Studio

build status

Plugin for OBS Studio to add a PTZ Camera control dock.

PTZ Controls Screenshot

PTZ Controls Screenshot

Features:

  • Pan, Tilt, and Zoom controls
  • Save and recall camera presets
  • Control any number of cameras
  • Auto select active camera based on active scene
  • Supported protocols
    • VISCA
    • VISCA-over-IP
    • Pelco-P

OBS project resource page

#obsptz on Twitter

Build Instructions

Build as standalone plugin (recommended for faster build turnaround)

Standalone Build for Linux

git clone https://github.com/glikely/obs-ptz
mkdir obs-ptz/build
cd obs-ptz/build
cmake ..
make

Copy or symlink ptz-controls.so into the OBS plugins directory. Typically /usr/lib/obs-plugins.

Standalone Build for Windows

  • Build OBS Studio using instructions on OBS-Studio Wiki: https://obsproject.com/wiki/Install-Instructions
  • Clone this repository into a working directory
  • Modify (or copy and modify) CI\install-script-win.cmd, changing values of DepsPath, QTDIR, and LibObs_DIR to match your local environment
  • Create a build directory under obs-ptz
  • Run CI\windows-configure.cmd to invoke cmake
  • Run CI\windows-build.cmd to make the binary
git clone https://github.com/glikely/obs-ptz
cd obs-ptz
mkdir build
cd build
..\CI\windows-configure.cmd
..\CI\windows-build.cmd
  • Copy the following files into OBS plugins directory
    • build\Debug\ptz-controls.dll
    • %QTDIR%\bin\Qt5SerialPortd.dll
    • %QTDIR%\bin\Qt5Gamepadd.dll

Build inside OBS source tree

cd obs-studio/UI/frontend-plugins
git clone https://github.com/glikely/obs-ptz
  • Add obs-ptz to the OBS build scripts using included patch
cd obs-studio
git am < UI/frontend-plugins/obs-ptz/patches/0001-Add-obs-ptz-plugin-to-OBS-Studio.patch
  • Rebuild OBS Studio

Contributing

Contributions welcome! You can submit changes as GitHub pull requests. Or email patches to me at mailto:grant.likely@secretlab.ca

See CONTRIBUTING.md for details.

About

OBS Pan Tilt Zoom camera control plugin

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages

  • C++ 96.4%
  • CMake 1.8%
  • Batchfile 1.8%