brutella / hkcam

Open-Source HomeKit Surveillance Camera
https://hochgatterer.me/hkcam/
Apache License 2.0
920 stars 141 forks source link

Logitech C920 - Green video #129

Open 350d opened 2 years ago

350d commented 2 years ago

Hello! I have a problem with my C920. Preview frame are ok with proper colors but video stream are green/black. IMG_5726

I've tried to update camera settings:

v4l2-ctl --set-fmt-video=width=1280,height=720,pixelformat=YU12 v4l2-ctl --set-fmt-video=width=1280,height=720,pixelformat=H264 v4l2-ctl --set-fmt-video=width=1280,height=720,pixelformat=MJPEG

same result - green video.

fswebcam produced correct image in my test.

HarmJan1990 commented 1 year ago

I have the same issue, any news?

Radon-iot commented 1 year ago

Same issue with Trust spotlight pro cam.

Radon-iot commented 1 year ago

Everything works after a step-by-step recommended installation. Guess it was a faulty configuration of the camera, solved itself by reinstalling raspbian.