diff --git a/Makefile b/Makefile index 73729b225..68e950c2c 100644 --- a/Makefile +++ b/Makefile @@ -3,7 +3,7 @@ default_target: amd64_frigate COMMIT_HASH := $(shell git log -1 --pretty=format:"%h"|tail -1) version: - echo "VERSION='0.10.0-$(COMMIT_HASH)'" > frigate/version.py + echo "VERSION='0.11.0-$(COMMIT_HASH)'" > frigate/version.py web: docker build --tag frigate-web --file docker/Dockerfile.web web/ diff --git a/docs/docs/configuration/advanced.md b/docs/docs/configuration/advanced.md index 18521b7d5..790b494f7 100644 --- a/docs/docs/configuration/advanced.md +++ b/docs/docs/configuration/advanced.md @@ -43,6 +43,11 @@ If you are storing your database on a network share (SMB, NFS, etc), you may get This may need to be in a custom location if network storage is used for the media folder. +```yaml +database: + path: /path/to/frigate.db +``` + ### `model` If using a custom model, the width and height will need to be specified. diff --git a/docs/docs/configuration/index.md b/docs/docs/configuration/index.md index e334d88ee..5d8638745 100644 --- a/docs/docs/configuration/index.md +++ b/docs/docs/configuration/index.md @@ -238,6 +238,11 @@ motion: # NOTE: Can be overridden at the camera level record: # Optional: Enable recording (default: shown below) + # WARNING: Frigate does not currently support limiting recordings based + # on available disk space automatically. If using recordings, + # you must specify retention settings for a number of days that + # will fit within the available disk space of your drive or Frigate + # will crash. enabled: False # Optional: Number of minutes to wait between cleanup runs (default: shown below) # This can be used to reduce the frequency of deleting recording segments from disk if you want to minimize i/o diff --git a/docs/docs/faqs.md b/docs/docs/faqs.md index c12b797dd..34b040f01 100644 --- a/docs/docs/faqs.md +++ b/docs/docs/faqs.md @@ -13,7 +13,7 @@ A solid green image means that frigate has not received any frames from ffmpeg. ### How can I get sound or audio in my recordings? {#audio-in-recordings} -By default, Frigate removes audio from recordings to reduce the likelihood of failing for invalid data. If you would like to include audio, you need to override the output args to remove `-an` for where you want to include audio. The recommended audio codec is `aac`. Not all audio codecs are supported by RTMP, so you may need to re-encode your audio with `-c:a aac`. The default ffmpeg args are shown [here](configuration/index#full-configuration-reference). +By default, Frigate removes audio from recordings to reduce the likelihood of failing for invalid data. If you would like to include audio, you need to override the output args to remove `-an` for where you want to include audio. The recommended audio codec is `aac`. Not all audio codecs are supported by RTMP, so you may need to re-encode your audio with `-c:a aac`. The default ffmpeg args are shown [here](/configuration/index/#full-configuration-reference). :::tip diff --git a/docs/docs/installation.md b/docs/docs/installation.md index 968257b9c..b2c1d65bf 100644 --- a/docs/docs/installation.md +++ b/docs/docs/installation.md @@ -21,6 +21,12 @@ Windows is not officially supported, but some users have had success getting it Frigate uses the following locations for read/write operations in the container. Docker volume mappings can be used to map these to any location on your host machine. +:::caution + +Note that Frigate does not currently support limiting recordings based on available disk space automatically. If using recordings, you must specify retention settings for a number of days that will fit within the available disk space of your drive or Frigate will crash. + +::: + - `/media/frigate/clips`: Used for snapshot storage. In the future, it will likely be renamed from `clips` to `snapshots`. The file structure here cannot be modified and isn't intended to be browsed or managed manually. - `/media/frigate/recordings`: Internal system storage for recording segments. The file structure here cannot be modified and isn't intended to be browsed or managed manually. - `/media/frigate/frigate.db`: Default location for the sqlite database. You will also see several files alongside this file while frigate is running. If moving the database location (often needed when using a network drive at `/media/frigate`), it is recommended to mount a volume with docker at `/db` and change the storage location of the database to `/db/frigate.db` in the config file.