brutella / hkcam

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

Rotate feed #118

Closed binegorecan closed 2 years ago

binegorecan commented 2 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 2 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.