Skip to content

Instantly share code, notes, and snippets.

@justmiles
Last active July 15, 2020 20:17
Show Gist options
  • Save justmiles/2d20685a03941904d7315f90687a2311 to your computer and use it in GitHub Desktop.
Save justmiles/2d20685a03941904d7315f90687a2311 to your computer and use it in GitHub Desktop.

Install v4l2loopback

git clone git@github.com:umlaeute/v4l2loopback.git make && sudo make install sudo depmod -a

turn it on

sudo modprobe v4l2loopback devices=1 max_buffers=2 exclusive_caps=1 card_label="VirtualCam #0"

Install OBS

..

google it

Install OBS Plugin

curl -LO https://github.com/CatxFish/obs-v4l2sink/releases/download/0.1.0/obs-v4l2sink.deb sudo dpkg -i obs-v4l2sink.deb

In OBS, Tools -> v4l2sink -> start

Advanced Scene switcher

curl -LO https://github.com/WarmUpTill/SceneSwitcher/releases/download/1.6.1/SceneSwitcher.zip sudo unzip SceneSwitcher.zip -d $(locate --basename obs-plugins | head -1) SceneSwitcher/Linux/advanced-scene-switcher.so

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment