Code Monkey home page Code Monkey logo

obs-ptz's Introduction

Pan Tilt Zoom (PTZ) Controls for OBS Studio

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

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

Project build infrastructure based on: obsproject/obs-studio#2380

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\Qt5SerialPort.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/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:[email protected]

See CONTRIBUTING.md for details.

obs-ptz's People

Contributors

glikely avatar dattrax avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.