- Install https://github.com/umlaeute/v4l2loopback (You can install
v4l2loopback-dkms
by package managers such aspamac
andapt
) - Run
sudo modprobe -r v4l2loopback && sudo modprobe v4l2loopback devices=1 video_nr=20 card_label="fakecam" exclusive_caps=1
Options - Create your desired scenes on OBS.
- From "OBS" > "Tools" > "V4L2 video Output" select /dev/video20 (because of
video_nr=20
option in command) and click on the start button. - Go to the application you want to use this camera, and select
fakecam
as webcam :)
If you have problem with finding fakecam, try command without exclusive_caps=1
option.