Created
February 2, 2021 18:28
-
-
Save JakeTrock/bc5a04a10a6902ff14103304179ab4f3 to your computer and use it in GitHub Desktop.
creates fake webcam with screencap video on linux
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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