Configuration
For HassOS installations, the default location for the config file is /config/frigate.yml
.
For all other installations, the default location for the config file is '/config/config.yml'. This can be overridden with the CONFIG_FILE
environment variable. Camera specific ffmpeg parameters are documented here.
It is recommended to start with a minimal configuration and add to it:
#
Requiredmqtt
#
cameras
#
Each of your cameras must be configured. The following is the minimum required to register a camera in Frigate. Check the camera configuration page for a complete list of options.
#
Optionalclips
#
ffmpeg
#
objects
#
Can be overridden at the camera level. For a list of available objects, see the objects documentation.
record
#
Can be overridden at the camera level. 24/7 recordings can be enabled and are stored at /media/frigate/recordings
. The folder structure for the recordings is YYYY-MM/DD/HH/<camera_name>/MM.SS.mp4
. These recordings are written directly from your camera stream without re-encoding and are available in Home Assistant's media browser. Each camera supports a configurable retention policy in the config.
caution
Previous versions of frigate included -vsync drop
in input parameters. This is not compatible with FFmpeg's segment feature and must be removed from your input parameters if you have overrides set.