V4L2-to-NDI icon indicating copy to clipboard operation
V4L2-to-NDI copied to clipboard

Mjpeg workaround

Open crazy-logic opened this issue 3 years ago • 0 comments

So I've come up with a work around for grabbing a mjpeg USB type deice using the v4l2 lookback

//install and enable sudo apt install v4l2loopback-dkms sudo modprobe v4l2loopback

//find which dev it is. v4l2-ctl --list-devices

//generate the loopback; note the -i /dev and output /dev for output will be different for different machines ffmpeg -f v4l2 -video_size 1920x1080 -input_format mjpeg -i /dev/video2 -pix_fmt yuyv422 -f v4l2 /dev/video4

//stream to ndi v4l2ndi -d /dev/video4 -f

crazy-logic avatar Jan 16 '22 16:01 crazy-logic