Error: VIDIOC_S_FMT error 22, Invalid argument

Many webcams built into laptops do not support mjpeg compression. Try setting the pixel_format parameter to either yuyv or uyvy.

Wiki: usb_cam/Troubleshooting (last edited 2011-02-16 16:16:43 by MichaelFerguson)