MCPCapital / HarmonizeProject

Harmonize Project lets you sync HDMI video with Philips Hue lights using a Raspberry Pi!
231 stars 35 forks source link

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

Open ih8ra1N opened 3 years ago

ih8ra1N commented 3 years ago

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

dnorris707 commented 3 years ago

Getting the same error here

rileymacisaac commented 3 years ago

I'm also getting the same error.

xsorifc28 commented 3 years ago

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

Danappelxx commented 3 years ago

FYI the offending line is here

boyukbas commented 3 years ago

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.

Danappelxx commented 3 years ago

Related:

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.