Skip to content

Instantly share code, notes, and snippets.

@Koala
Created May 24, 2020 16:32
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save Koala/12aa8c371ea5739bd4ac6ea8ae3e7308 to your computer and use it in GitHub Desktop.
Save Koala/12aa8c371ea5739bd4ac6ea8ae3e7308 to your computer and use it in GitHub Desktop.
https://github.com/CatxFish/obs-v4l2sink
========================================
System: Debian 5.5.17-1~bpo10+1 (2020-04-23) x86_64 GNU/Linux
dpkg -l libobs-dev qtbase5-dev
Desired=Unknown/Install/Remove/Purge/Hold
| Status=Not/Inst/Conf-files/Unpacked/halF-conf/Half-inst/trig-aWait/Trig-pend
|/ Err?=(none)/Reinst-required (Status,Err: uppercase=bad)
||/ Name Version Architecture Description
+++-=================-======================-============-==============================================================
ii libobs-dev 1:23.2.1-dmo1+deb10u1 amd64 recorder and streamer for live video content (development file
ii qtbase5-dev:amd64 5.11.3+dfsg1-1+deb10u3 amd64 Qt 5 base development files
mkdir /ramdisc/obssink
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=/ramdisc/obssink/ ..
make -j4
make install
obssink/
lib/obs-plugins:v4l2sink.so
share/obs/obs-plugins/v4l2sink/locale:de-DE.ini en-US.ini zh-TW.ini
cd /ramdisc/obssink
cp lib/obs-plugins/v4l2sink.so /usr/lib/x86_64-linux-gnu/obs-plugins/
cp -r share/obs/obs-plugins/v4l2sink/ /usr/share/obs/obs-plugins/
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment