-
-
Save micrometre/77b88e8bac503efd4fc13afafc692981 to your computer and use it in GitHub Desktop.
Loop video file as fake webcam device with ffmpeg
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
| 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