- Start the v4l2loopback module:
sudo modprobe v4l2loopback \
devices=1 exclusive_caps=1 video_nr=5 card_label="Dummy Camera"
- This creates one device with a label "Dummy Camera" as device `/dev/video5
- See https://github.com/umlaeute/v4l2loopback/ for more detailts
- I have a short test video call
Speed1.avi
, this can be played streamed to/dev/video5
withffmpeg -re -stream_loop -1 -i Speed1.avi -vcodec rawvideo -pix_fmt yuv420p -f v4l2 /dev/video5