Skip to content
This repository has been archived by the owner on Mar 15, 2021. It is now read-only.

CatxFish/obs-v4l2sink

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

10 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

obs-v4l2sink

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.

Usage with v4l2loopback

  • Make sure load v4l2loopback module and check device path.
  • Open OBS and click tools > v4l2sink .
  • Fill device path and choose video format.
  • Click start.

Build

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