L.G.C. |How-To| — Creating A Virtual-Webcam On Linux

A quick-and-dirty guide for creating a virtual-webcam that works with Google Hangouts, OBS, Skype, and Jitsi.

What you need

  • ffmpeg
  • v4l2loopback
  • V4l-utils

Load the module
sudo modprobe v4l2loopback exclusive_caps=1

Locate the dummy device
v4l2-ctl –list-devices

Start the virtual-webcam (change “/dev/video1” to reflect your system)
ffmpeg -f x11grab -r 15 -s 1920×1080 -i :0.0+0,0 -vcodec rawvideo -pix_fmt yuv420p -threads 0 -f v4l2 /dev/video1

0 Comments

Leave Your Reply