Skip to content

Instantly share code, notes, and snippets.

@JakeTrock
Created February 2, 2021 18:28
Show Gist options
  • Save JakeTrock/bc5a04a10a6902ff14103304179ab4f3 to your computer and use it in GitHub Desktop.
Save JakeTrock/bc5a04a10a6902ff14103304179ab4f3 to your computer and use it in GitHub Desktop.
creates fake webcam with screencap video on linux
sudo apt install v4l2loopback-dkms
sudo modprobe v4l2loopback
sudo ffmpeg -loglevel verbose -f x11grab -framerate 25 -video_size 1920x1080 -i :0.0 -f v4l2 -vf format=yuyv422 /dev/video2
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment