Here's some notes for using the v4l2loopback with linux:
- As a prerequisite, you need to install v4l2loopback https://github.com/umlaeute/v4l2loopback . For Arch users, there's
v4l2loopback-dkms
in community (not even AUR). I would checkapt
/whatever you're using first if it's available. - For the installation of the plugin itself (https://github.com/CatxFish/obs-v4l2sink), I used the AUR package obs-v4l2sink, so I can't really help much with that. The non -git version worked fine for me if you're also on Arch.
- After installation, you'll need to actually create a v4l2loopback device. More details are described here https://github.com/umlaeute/v4l2loopback#run , but the gist is to run
sudo modprobe v4l2loopback video_nr=5 exclusive_caps=1
. Thevideo_nr=5
tells it to create/dev/video5
. You may not need exclusive caps, but I personally did for Chrome/FF to work properly. NOTE: You are loading a kernel module, which you can only do once, so if you want to change a setting