ToxMox's Pan Zoomer for OBS Studio
A powerful Python script for OBS Studio that enables smooth mouse-controlled panning and zooming for display sources. Track your mouse position to control which part of your content is displayed, with customizable zoom transition speed.
Features
Quick Demo video (will make more videos eventually showing new Deadzone, Offsets, and Pause features):
Script settings screen:
* I spent about a week making this with the help of AI
A powerful Python script for OBS Studio that enables smooth mouse-controlled panning and zooming for display sources. Track your mouse position to control which part of your content is displayed, with customizable zoom transition speed.
Features
- Dual Configuration Support: Control two different sources independently with separate settings
- Direct 1:1 Mouse Control: Pan any source by moving your mouse - the source follows your cursor in real-time
- Customizable Zoom: Easily zoom in/out with configurable levels from 1x to 5x
- Smooth Transitions: Simple smooth transitions when toggling zoom with configurable durations
- Multi-Monitor Support: Enhanced detection and support for multiple displays with proper monitor selection
- Performance Optimized: Configurable update frequency (30-240 FPS)
- Flexible Viewport Definition: Define the panning area using a color source or use scene dimensions directly
- Hotkey Control: Toggle panning, zooming, deadzone, and pause using customizable OBS hotkeys for each configuration
- Direct Source Mode: Support for plugin sources
- Offset Support: Allow changing the mouse tracking center point inside the viewport
- Deadzone Feature: Create a rectangular area where the mouse doesn't cause panning until pushed to the edges
- Pause Feature: Temporarily freeze panning and zooming while keeping the feature enabled
- Collapsible UI Sections: Streamlined interface with collapsible sections for better organization
Quick Demo video (will make more videos eventually showing new Deadzone, Offsets, and Pause features):
Script settings screen:
* I spent about a week making this with the help of AI