Skip to content

Mjpeg workaround  #7

@crazy-logic

Description

@crazy-logic

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions