brutella / hkcam

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

Camera resolution #30

Closed AndreaCCIE closed 5 years ago

AndreaCCIE commented 5 years ago

I've got a Raspberry Camera 2.1 (8 MP), but the video quality is very low and everything is pixelated. It looks like the streaming is set to 1024x768, and the real fps is 5:

2019-06-12_16:06:30.32669 Stream #0:0: Video: h264 (h264_omx), yuv420p, 1024x768, q=2-31, 299 kb/s, 30 fps, 90k tbn, 30 tbc

frame= 36 fps=3.7 q=-1.0 size=N/A time=00:00:09.37 bitrate=N/A speed=0.977x speed=0.956x .994x

Any way to tune this?

Screenshot 2019-06-12 at 17 03 16
brutella commented 5 years ago

I'm currently working on a fix.

AchimPieters commented 5 years ago

See issue Picture quality pi zero #4

AndreaCCIE commented 5 years ago

Saw that, but this is not an HomeKit "limitation" because other cameras can get to 1080p without any problem, so there should be a workaround.

fisch55 commented 5 years ago

Same here.... video quality not so good. 😢

brutella commented 5 years ago

Duplicate of #4