brutella / hkcam

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

Rotate feed #118

Closed binegorecan closed 3 years ago

binegorecan commented 3 years ago

Hey, I was wondering if it was possible to rotate camera feed? Is there some sort of configuration file somewhere in your preconfigured image?

B1N3 commented 3 years ago

You can rotate the stream at a driver level by editing /etc/ec.local and pasting in

v4l2-ctl --set-ctrl=rotate=270

**Replace 270 with amount of degrees you need.