Skip to content

Doorbell and Camera Rotation

mrlt8 edited this page Mar 9, 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.

Rotate doorbells:

environment:
    ..
    - ROTATE_DOOR=True

Rotate cameras

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.
Clone this wiki locally