Created
November 27, 2022 06:55
-
-
Save FreeFly19/f8dc06c4e46b7a43164b83ec24237ea9 to your computer and use it in GitHub Desktop.
How to share create webcam device based on screen capturing
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 ffmpeg -f x11grab -r 60 -s 2560x1440 -i :1 -vcodec rawvideo -pix_fmt yuv420p -threads 0 -f v4l2 -vf 'scale=1920:1080' /dev/video6 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment