Add virtualcam for convenience

This commit is contained in:
2023-08-13 19:16:20 -04:00
parent 49c7cf94d6
commit 945892e818

6
virtualcam.sh Executable file
View File

@@ -0,0 +1,6 @@
#!/bin/bash
# prereq is that the following command needs to be run:
# `sudo modprobe v4l2loopback`
ffmpeg -re -i $1 -map 0:v -vcodec rawvideo -vf format=yuv420p -f v4l2 -ss 0:00:00 /dev/video0