Whiteboard Source for OBS Studio (Windows only)
This script adds a new whiteboard source to OBS Studio that allows users to display live drawings on top of their scenes.
Each scene can have its own whiteboard, though the tool settings (color, size, etc.) are shared.
Installation
Usage
Known Issues
mwelsh (TILT forums)
Tari
This script adds a new whiteboard source to OBS Studio that allows users to display live drawings on top of their scenes.
Each scene can have its own whiteboard, though the tool settings (color, size, etc.) are shared.
Installation
- Download the .7z file and extract it somewhere.
- Open OBS Studio, click the 'Tools' dropdown option, and then click 'Scripts'.
- Hit the '+' button at the bottom left of the Scripts window, and add 'whiteboard.lua' from the extracted files.
Usage
- Add the whiteboard script to OBS (whiteboard.lua).
- Place a whiteboard source at the top of a scene. (Note: you may have to toggle the visibility of the whiteboard on/off once to activate it)
- Project your scene with either Windowed or Fullscreen Projector.
- Draw on your projected screen by left-clicking!
- Cycle colors (Yellow, Red, Green, Blue, White, Custom)
- Cycle sizes (this cycles through all the even pixel sizes, e.g. 2, 4, 6, etc.)
- Toggle eraser on/off
- Clear canvas
Languages other than English
If you use OBS in another language, this script will not work properly. To fix this change the following properties:- Preview
- Program
- Projector
Spanish
In Spanish you can set the values as follows:- Preview: Vista Previa
- Program: Programa
- Projector: Proyector
Known Issues
- Script settings windows does not update when hotkeys are used.
- This is due to two limitations with the OBS script library:
- There does not appear to be a safe way to access and update the settings object outside of particular functions.
- The script settings in the script window do not refresh themselves in the UI when changed (notably, per-source properties don't have this problem).
- This is due to two limitations with the OBS script library:
- Whiteboard source doesn't accept inputs after being added to a scene, or after the script is refreshed.
- This is because the source is only interactable when it's active. There's unfortunately no way to check whether a source is currently active, so we rely on the triggers on transition between active and deactive to determine when to enable interaction. Certain situations do not trigger this transition (e.g. adding a new source, refreshing the script, etc.), hence the source never knows it's active.
- Whiteboard source starts minimized sometimes.
- Some users have reported that newly added whiteboard sources show up minimized. Setting its size to 'Fit to Screen' seems to resolve this.
- Whiteboard source does not work after reloading script.
- Existing sources may need to be toggled off/on to get them to respect the new settings. Alternatively, restarting OBS or switching scenes should also fix the issue.
- Whiteboard source appears in red text in the list of sources.
- This appears to be a limitation of OBS, unfortunately. The sources are checked at startup only, and the whiteboard sources aren't activated at that time, so they permanently appear red, even when functioning correctly.
- See https://obsproject.com/forum/thread...ut-shown-in-red-on-obs-32.191001/#post-693786 for a short discussion on this.
mwelsh (TILT forums)
Tari