OBS Studio

Install OBS Studio and the Background Removal plugin from Flathub as user-level Flatpaks. The obs role ensures that the user Flathub remote exists, uses exact application IDs when checking OBS presence, and independently verifies both installations. This avoids a false positive in the Flatpak Ansible module: the plugin ID starts with the OBS ID, so substring matching can mistake a plugin-only installation for OBS Studio.

ansible-playbook -i inventory -K playbooks/lab-stack.yml --tags obs

flatpak info --user com.obsproject.Studio
flatpak info --user com.obsproject.Studio.Plugin.BackgroundRemoval

flatpak run --user com.obsproject.Studio

🔧 Manual setup and configuration

  • In OBS, select Video Capture Device → Filters → Effect Filters → Background Removal to enable the filter.
  • Crop screen capture: Alt+drag edges
  • Show/hide mouse: right-clikc on Screen Capture source, select Properties, un/check Capture Cursor
  • Download circular webcam mask: obs_circular_webcam_mask.png

✅ Check

flatpak info --user com.obsproject.Studio
flatpak info --user com.obsproject.Studio.Plugin.BackgroundRemoval