Setting up droidcam and obs-studio cam in Debian
Posted on Thu 30 July 2020 in software • 1 min read •
Currently, most of the population is working from home, so having a good video conferencing setup has become important. I have setup droidcam for getting video input from phone/ipad and obs-studio for managing different audio/video source in Debian using the following steps:
- At first install
droidcam
in PC using software from here.droidcam
should also be installed on phone/ipad using app store. - Install obs-studio by the command
sudo apt install obs-studio
.
For using the output of obs-studio into video-conferencing software, obs-v4l2sink
should be installed and properly configured.
- Install
v4l2loopback
kernel module bysudo apt install v4l2loopback-dkms
- Install deb file for
obs-v4l2sink
downloaded from their release page. - Make a link for
obs-v4l2sink
plugin in right folder bysudo ln -s /usr/lib/obs-plugins/v4l2sink.so /usr/lib/x86_64-linux-gnu/obs-plugins/v4l2sink.so
- Open
/etc/modprobe.d/droidcam.conf
and edit it so that content looks like
1 2 3 |
|
- Add
v4l2loopback
to autoload modules by editing/etc/modules-load.d/droidcam.conf
, so that its content is
1 2 3 4 |
|
- Update initramfs by
sudo update-initramfs -u
. - Reboot the system and enjoy video output from obs-studio in your video conferencing session.
Update (20/04/2021): Camera functionality is now built into obs-studio
26.1+. Out of box, it works with almost all popular video conferencing systems. However, for skype
, please limit the camera output resolution to 1280x720.