Tweet about this on TwitterShare on Google+Share on FacebookShare on TumblrShare on Reddit

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

Tweet about this on TwitterShare on Google+Share on FacebookShare on TumblrShare on Reddit
Take a second to support Linux Game Cast on Patreon!