Skip to content

Instantly share code, notes, and snippets.

@scaryrawr
Created September 18, 2020 02:36
Show Gist options
  • Save scaryrawr/728d43e8cf6844ebea0ec35fc27984b9 to your computer and use it in GitHub Desktop.
Save scaryrawr/728d43e8cf6844ebea0ec35fc27984b9 to your computer and use it in GitHub Desktop.
Install obs-v4l2sink in OBS installed from flatpak
#!/usr/bin/env sh
# Instructions modified from https://github.com/CatxFish/obs-v4l2sink
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=/var/lib/flatpak/app/com.obsproject.Studio/current/active/files ..
make -j4
sudo make install
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment