


Instead of a still image, I would like to have a short video, looping continuously in the background. Then I can simply choose at whatever video-playing-app I like, the new pseudo webcam as input. My code is as follows: $ ffmpeg -i background.jpg -f v4l2 -pix_fmt mjpeg \ After running $ sudo modprobe v4l2loopback
#Chroma key streaming how to
I know how to chroma key / greenscreen filter a background of a video stream and replace it by an image using v4l2loopback.
