mirror of
https://github.com/blakeblackshear/frigate.git
synced 2026-02-04 10:15:22 +03:00
Added documentation
This commit is contained in:
parent
10f489309b
commit
4299f30dcd
@ -48,3 +48,28 @@ cameras:
|
|||||||
```
|
```
|
||||||
|
|
||||||
For camera model specific settings check the [camera specific](camera_specific.md) infos.
|
For camera model specific settings check the [camera specific](camera_specific.md) infos.
|
||||||
|
|
||||||
|
## Rotate Cameras
|
||||||
|
|
||||||
|
Cameras can be rotate to '90', '180' or '270' (-90) degrees by using `rotate: XX`.
|
||||||
|
The camera will only rotate to valid arguments: '90', '180' or '270', invalid arguments disable the rotation.
|
||||||
|
|
||||||
|
```yaml
|
||||||
|
mqtt:
|
||||||
|
host: mqtt.server.com
|
||||||
|
cameras:
|
||||||
|
back:
|
||||||
|
enabled: True
|
||||||
|
ffmpeg:
|
||||||
|
inputs:
|
||||||
|
- path: rtsp://viewer:{FRIGATE_RTSP_PASSWORD}@10.0.10.10:554/cam/realmonitor?channel=1&subtype=2
|
||||||
|
roles:
|
||||||
|
- detect
|
||||||
|
- record
|
||||||
|
rotate: 90
|
||||||
|
detect:
|
||||||
|
width: 1280
|
||||||
|
height: 720
|
||||||
|
```
|
||||||
|
|
||||||
|
The default value is '0', no rotation enable.
|
||||||
|
|||||||
@ -427,6 +427,9 @@ cameras:
|
|||||||
# Optional: camera specific output args (default: inherit)
|
# Optional: camera specific output args (default: inherit)
|
||||||
# output_args:
|
# output_args:
|
||||||
|
|
||||||
|
# Optional: rotation for this camera, allowed values are: 90, 180 or 270 (-90). (default: shown below)
|
||||||
|
rotate: 0
|
||||||
|
|
||||||
# Optional: timeout for highest scoring image before allowing it
|
# Optional: timeout for highest scoring image before allowing it
|
||||||
# to be replaced by a newer image. (default: shown below)
|
# to be replaced by a newer image. (default: shown below)
|
||||||
best_image_timeout: 60
|
best_image_timeout: 60
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user