obs virtual camera install on ubuntu 20.04 fix

Published: 27 June 2020
on channel: NapoleonWils0n
12,700
152

install the obs virtual camera on ubuntu 20.04 without compiling anything,
the fix is you need to create some directories and a symbolic link then the plugin will work

I also show you how to send the output of obs studio into google hangouts,
and use ffmpeg to record your desktop and open the virtual video device with vlc so you can check its working

obs-v4l2sink ubuntu 20.04 install

https://github.com/NapoleonWils0n/cer...

obs virtual camera for linux
https://github.com/CatxFish/obs-v4l2sink

download the deb file from
https://github.com/CatxFish/obs-v4l2s...

install packages:

sudo apt install v4l-utils v4l2loopback-dkms v4l2loopback-utils
v4l2sink

install obs-v4l2sink plugiin on ubuntu 20.04

install the deb file
sudo dpkg -i obs-v4l2sink.deb

install any missing dependencies

sudo apt install -f

create the symlink
create the directory structure for plugin

mkdir -p ~/.config/obs-studio/plugins/v4l2sink/bin/64bit/

create a symlink from the plugin to the directory we created

ln -s /usr/lib/obs-plugins/v4l2sink.so ~/.config/obs-studio/plugins/v4l2sink/bin/64bit/

create the video loopback device

sudo modprobe v4l2loopback devices=1 card_label="OBS Cam" exclusive_caps=1

list the video devices

v4l2-ctl --list-devices
in my case the video loopback device is listed as:

/dev/video2
you can also list video device directory
ls -l /dev/video*
obs tools menu
choose v4l2sink from the obs tools menu

and then set the device to the location of your virtual camera, which we found by running the v4l2-ctl command

in my case it was:

/dev/video2

ffmpeg
you can also use ffmpeg to send output to the virtual video device outside of obs studio

ffmpeg -f x11grab -r 15 -s 1366x768 -i :0.0+0,0 -vcodec rawvideo -pix_fmt yuv420p -threads 0 -f v4l2 /dev/video2

chapters:

00:00 - obs-v4l2sink
00:45 - download the deb file
01:15 - apt install
01:41 - deb install
01:56 - modprobe
02:39 - list devices
03:23 - plugin location
04:39 - mkdir
05:23 - symbolic link
06:08 - obs tools menu
06:31 - google hangouts settings
07:06 - obs in google hangouts
07:29 - ffmpeg stream desktop
08:20 - vlc open virtual camera


Watch video obs virtual camera install on ubuntu 20.04 fix online without registration, duration hours minute second in high quality. This video was added by user NapoleonWils0n 27 June 2020, don't forget to share it with your friends and acquaintances, it has been viewed on our site 12,700 once and liked it 152 people.