For some reason, my current camera is not working correctly and now only the pixel format YUYV works.
This works, however, if I don’t use this format, guvcview will not work:
Some software, like Cheese and VLC are working and detecting the correct pixel format. However, when the browsers try to use the correct one the camera is disconnected from the OS and the browser receives "camera busy".
This is the current available formats, I want to force to use just one by any software in the OS:
$ v4l2-ctl --list-formats-ext Index : 0 Type : Video Capture Pixel Format: 'MJPG' (compressed) Name : Motion-JPEG Index : 1 Type : Video Capture Pixel Format: 'YUYV' Name : YUYV 4:2:2 Index : 2 Type : Video Capture Pixel Format: 'H264' (compressed) Name : H.264
Y try to force it with:
v4l2-ctl -d /dev/video0 -v pixelformat=YUYV
But it is not working when some software tries to use the camera. For that reason, I think the best option is
to buy a new camera disable all pixel formats except the YUYV.