Open BroadCast Software

From air
Jump to: navigation, search

OBS

Output in a virtual webcam

sudo apt install  v4l2loopback-dkms v4l2loopback-utils libobs-dev
git clone git@github.com:CatxFish/obs-v4l2sink.git
cd obs-v4l2sink
mkdir build && cd build
cmake -DCMAKE_INSTALL_PREFIX=/usr ..
make -j4
sudo make install
ln -s /usr/lib/obs-plugins/v4l2sink.so /usr/lib/x86_64-linux-gnu/obs-plugins/

Load the module (more info at V4L2loopback Run page):

sudo modprobe v4l2loopback exclusive_caps=1 devices=1 card_label="My virtual CAM"

NB:Chrome/Chromium need the 'exclusive_caps' option

The plugin is available in

Tools -> V4L2 Video Output