fork/rust-obs-plugins

git clone https://git.julia.blue/fork/rust-obs-plugins

Joseph RyanExpose raw obs_sys objects4f3ec54

master
1 folder2 files

files

src/
Cargo.toml386 B
README.md1.3 KiB

scroll-focus-filter

Requirements

Usage

Installation

https://github.com/bennetthardwick/rust-obs-plugins rust-obs-plugins
cd rust-obs-plugins
cargo build -p scroll-focus-filter --release
# Create a symlink to the plugin so that you don't need to copy when rebuilding, you
# could alternatively run `sudo cp ./target/release/scrollfocus.so /usr/lib/obs-plugins/`
sudo ln -s $(pwd)/target/release/libscrollfocus.so /usr/lib/obs-plugins/libscrollfocus.so

Enabling

After installing the plugin, you need to add it as a filter to the source that's recording your desktop.

  1. Open OBS
  2. In the sources section, click the plus (+) and select Screen Capture (XSHM)
  3. In the popup, select the display you want to record
  4. The sources section will show the newly added source, right click and select Filters
  5. At the bottom of the left-hand Effect Filters panel, click the plus (+)
  6. Select Scroll Focus Filter
  7. Note: if the screen goes black, restart OBS
  8. In the properties section input your Screen width and Screen height in pixels. If the selected monitor isn't the top-left-most, input it's offset in pixels.
  9. Enter the amount to zoom in the desktop

For more information on adding filters to OBS, check out this forum post