docs for onvif camera support

This commit is contained in:
Josh Hawkins 2023-09-29 13:08:56 -05:00
parent d11c1a2066
commit 12b6c13a47

View File

@ -12,7 +12,7 @@ A camera is enabled by default but can be temporarily disabled by using `enabled
Each role can only be assigned to one input per camera. The options for roles are as follows: Each role can only be assigned to one input per camera. The options for roles are as follows:
| Role | Description | | Role | Description |
| ---------- | ---------------------------------------------------------------------------------------- | | -------- | ---------------------------------------------------------------------------------------- |
| `detect` | Main feed for object detection | | `detect` | Main feed for object detection |
| `record` | Saves segments of the video feed based on configuration settings. [docs](record.md) | | `record` | Saves segments of the video feed based on configuration settings. [docs](record.md) |
| `rtmp` | Deprecated: Broadcast as an RTMP feed for other services to consume. [docs](restream.md) | | `rtmp` | Deprecated: Broadcast as an RTMP feed for other services to consume. [docs](restream.md) |
@ -51,13 +51,15 @@ For camera model specific settings check the [camera specific](camera_specific.m
## Setting up camera PTZ controls ## Setting up camera PTZ controls
Add onvif config to camera > [!WARNING]
> Not every PTZ supports ONVIF, which is the standard protocol Frigate uses to communicate with your camera. Check your camera documentation or manufacturer's website to ensure your camera supports ONVIF. If your camera supports ONVIF and you continue to have trouble, make sure your camera is running the latest firmware.
Add the onvif section to your camera in your configuration file:
```yaml ```yaml
cameras: cameras:
back: back:
ffmpeg: ffmpeg: ...
...
onvif: onvif:
host: 10.0.10.10 host: 10.0.10.10
port: 8000 port: 8000
@ -65,6 +67,20 @@ cameras:
password: password password: password
``` ```
then PTZ controls will be available in the cameras WebUI. If the ONVIF connection is successful, PTZ controls will be available in the camera's WebUI.
An ONVIF-capable camera that supports relative movement within the field of view (FOV) can also be configured to automatically track moving objects and keep them in the center of the frame. For autotracking setup, see the [autotracking](autotracking.md) docs. An ONVIF-capable camera that supports relative movement within the field of view (FOV) can also be configured to automatically track moving objects and keep them in the center of the frame. For autotracking setup, see the [autotracking](autotracking.md) docs.
## ONVIF PTZ camera recommendations
This list of working and non-working PTZ cameras is based on user feedback.
| Brand or specific camera | Status | Notes |
| ------------------------ | ----------------- | --------------------------------------------------------------------- |
| Dahua | Working | PTZ controls and autotracking |
| Amcrest | Partially working | PTZ controls, some older models (IP2M-841) don't support autotracking |
| Amcrest ASH21 | Not working | No ONVIF support |
| Tapo C210 | Not working | Incomplete ONVIF support |
| Vikylin PTZ-2804X-I2 | Not working | Incomplete ONVIF support |
| Reolink E1 Zoom | Working | |
| Reolink 511WA | Working | |