Add virtualcam for convenience
This commit is contained in:
6
virtualcam.sh
Executable file
6
virtualcam.sh
Executable 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
|
||||
Reference in New Issue
Block a user