HarmonizeProject
HarmonizeProject copied to clipboard
VIDEOIO ERROR: V4L2: setting property #38 is not supported
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
Getting the same error here
I'm also getting the same error.
+1, same issue using a usb video capture card. videotest.py is properly reading the frames.
FYI the offending line is here
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.
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.