User Tools

Site Tools


Sidebar

software:fedora:obsstudio_webcam

What?

Using obs-studion on Fedora 32, for custom backgrounds.

sudo dnf -y install obs-studio qt5-qtbase-devel.x86_64

# v4l2loopback
cd Downloads/
git clone https://github.com/umlaeute/v4l2loopback
cd v4l2loopback/
make
sudo make install
sudo modprobe v4l2loopback card_label="obs-cam"
lsmod|grep v4l
ll /dev/video*

# v2l plugin, so we can stream the generated signal as video
git clone --recursive https://github.com/obsproject/obs-studio.git
git clone https://github.com/CatxFish/obs-v4l2sink.git
cd obs-v4l2sink
mkdir build && cd build
cmake -DLIBOBS_INCLUDE_DIR="../../obs-studio/libobs" -DCMAKE_INSTALL_PREFIX=/usr ..
make -j5
sudo make install
sudo cp /usr/lib/obs-plugins/v4l2sink.so /usr/lib64/obs-plugins

obs
# add new source: background picture
# add new source: video
# add filter: chroma key
software/fedora/obsstudio_webcam.txt ยท Last modified: 2021/03/23 12:22 (external edit)