This plugin provides output ability to v4l2 device . It is basically a Linux version of obs-virtual-cam, but only contains the video sink part. You can use it with v4l2loopback to achieve cross-program image transfer between obs-studio and third party software supporting Video4Linux.
- Make sure load v4l2loopback module and check device path.
- Open OBS and click tools > v4l2sink .
- Fill device path and choose video format.
- Click start.
git clone https://github.com/CatxFish/obs-v4l2sink.git
cd obs-v4l2sink
mkdir build && cd build
cmake -DLIBOBS_INCLUDE_DIR="<libobs path>" -DCMAKE_INSTALL_PREFIX=/usr ..
make -j4
sudo make install