HarmonizeProject icon indicating copy to clipboard operation
HarmonizeProject copied to clipboard

VIDEOIO ERROR: V4L2: setting property #38 is not supported

Open ih8ra1N opened this issue 4 years ago • 6 comments

After selecting groupid, VIDEOIO ERROR: V4L2: setting property #38 is not supported

pi@raspberrypi:~/HarmonizeProject $ v4l2-ctl --list-devices bcm2835-codec-decode (platform:bcm2835-codec): /dev/video10 /dev/video11 /dev/video12

bcm2835-isp (platform:bcm2835-isp): /dev/video13 /dev/video14 /dev/video15 /dev/video16

USB3.0 HD VIDEO: USB3.0 HD VIDE (usb-3f980000.usb-1.4): /dev/video0 /dev/video1


[video4linux2,v4l2 @ 0x5dd1c0] Compressed: mjpeg : Motion-JPEG : 1920x1080 1600x1200 1360x768 1280x1024 1280x960 1280x720 1024x768 800x600 720x576 720x480 640x480 [video4linux2,v4l2 @ 0x5dd1c0] Raw : yuyv422 : YUYV 4:2:2 : 1920x1080 1600x1200 1360x768 1280x1024 1280x960 1280x720 1024x768 800x600 720x576 720x480 640x480

ih8ra1N avatar Jan 03 '21 13:01 ih8ra1N

Getting the same error here

dnorris707 avatar Jan 04 '21 02:01 dnorris707

I'm also getting the same error.

rileymacisaac avatar Jan 26 '21 17:01 rileymacisaac

+1, same issue using a usb video capture card. videotest.py is properly reading the frames.

xsorifc28 avatar Mar 08 '21 02:03 xsorifc28

FYI the offending line is here

Danappelxx avatar Mar 29 '21 03:03 Danappelxx

Hi, I am also getting the same error. Most of the time it still works but when lights start flickering, I try a few more times. I wonder if it is Video Capture Card related.

boyukbas avatar Apr 01 '21 07:04 boyukbas

Related:

  • https://github.com/opencv/opencv/issues/10671
  • https://github.com/statueofmike/rtsp/issues/13

This is a decent workaround for those interested. I had to change it a little bit to propagate the ret value from self.cap.read(), so that in case of an error the main thread doesn't wait forever.

Danappelxx avatar Apr 21 '21 02:04 Danappelxx