OBS-Studio-Cursor-skin icon indicating copy to clipboard operation
OBS-Studio-Cursor-skin copied to clipboard

Various cursors to be rendered inside OBS

OBS Studio Cursor skin

Selected source will follow mouse pointer. Using obs_sceneitem_set_pos

Installation

  • Install pynput package from pypi
  • Make sure your OBS Studio supports scripting python -m pip install pynput

Limitations

  • Multiple monitors setup will not work .
  • If used in fullscreen apps, offset will appear.

Usage

  • Create a source with desired cursor(e.g Image source or Media source).
  • In scripts select that source name.
  • Make a group, add Display Capture, Window Capture.

img

  • To crop, crop the group, the size should still have the same ratio as your monitor even if you scale it
  • To set offset/calibrate, use the Display Capture to see mouse and adjust it at Scripts (or use Tab/Shift+tab to navigate, if in Window Capture, to not move mouse). You have to do this every time you change the Group scale/move it

img

img

  • Test it: press Start, press Stop, tweak refresh rate.

Web rendered mouse cursor trails

  • Add browser source with mouse tracking local or online web page.
  • Make sure to set resolution as your monitor (base)
  • Fill all entries, check Use browser source

Zoom

Have you ever needed to zoom in on your screen to show some fine detail work, or to make your large 4k/ultrawide monitor less daunting? Zoom and Follow for OBS Studio does exactly that, zooms in on your mouse and follows it around. Configurable and low-impact, you can now do old school Camtasia zoom ins live

See: Zoom and Follow , source code

Example cursors

They all have some level of transparency.

  • yellow circle img
  • red circle img
  • green circle Imgur

On the Roadmap

  • Visual indicator of mouse up/down state.
  • Lua based shaders rendering (on mouse up, down, trail, etc...)
  • Custom web page rendering (on mouse up, down, trail, etc...)

Acknowledgments

  • 3_4_700 added offsets functionality for precise custom cursor(like a hand drawn arm holding a pen for artists)
  • tholman/cursor-effects - stock cursor trails

Contribute

Forks are a great way to contribute to a repository. After forking a repository, you can send the original author a pull request