Ask Your Question

Revision history [back]

click to hide/show revision 1
initial version

VIDEOIO ERROR: V4L2: Pixel format of incoming image is unsupported by OpenCV

On rpi using Opencv4.0 with a USB Logitech 480p camera, executing cap = cv2.VideoCapture(index) hangs the system. Removing the USB camera unfreeze the system and gives the following error:

VIDEOIO ERROR: V4L2: Pixel format of incoming image is unsupported by OpenCV

VIDEOIO ERROR: V4L: can't open camera by index 0

VIDIOC_REQBUFS: No such device

Anybody has a way to fix this issue?

Thanks in advance