-
-
Save kapillamba4/f37f300b801dd23f27aa152199a61f6f to your computer and use it in GitHub Desktop.
Loop video file as fake webcam device with ffmpeg
This file contains 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
ffmpeg -re -f concat -i <(for i in {1..9999}; do printf "file '%s'\n" input.mp4; done) -f v4l2 /dev/video1 && !! |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment