-
-
Notifications
You must be signed in to change notification settings - Fork 181
Doorbell and Camera Rotation
mrlt8 edited this page Dec 4, 2023
·
3 revisions
Rotation may require additional resources when enabled as the video has to be decoded and re-encoded.
Hardware Acceleration may be available for h264 encoding on certain devices.
Note
Wyze Cam Doorbell v2 does not require rotation.
environment:
..
- ROTATE_DOOR=True
where CAM_NAME
is the camera name in UPPERCASE and _
in place of spaces and hyphens:
Rotate by 90 degrees clockwise:
environment:
..
- ROTATE_CAM_CAM_NAME=True
Rotate video in other directions:
- ROTATE_CAM_OTHER_CAM=1 # 90 degrees clockwise.
- ROTATE_CAM_THIRD_CAM=2 # 90 degrees counter-clockwise.
Available options:
-
0
- Rotate by 90 degrees counter-clockwise and flip vertically. -
1
- Rotate by 90 degrees clockwise. This is the default. -
2
- Rotate by 90 degrees counter-clockwise. -
3
- Rotate by 90 degrees clockwise and flip vertically.
Same as video rotation, but applies to snapshots only.
Note: rtsp snapshots are taken from the video stream so this may not be needed if you are already rotating the video.
environment:
..
- ROTATE_IMG_CAMNAME=True # Rotates 90º clockwise
- ROTATE_IMG_OTHER_NAME=2 # Rotates 90º counter-clockwise