Files
auricom-home-cluster/kubernetes/cluster-0/apps/home-automation/frigate/config.yaml
2022-11-20 16:37:40 +01:00

59 lines
994 B
YAML

---
logger:
default: info
logs:
frigate.record: debug
mqtt:
host: emqx.default.svc.cluster.local.
topic_prefix: frigate
user: "{MQTT_USER}"
password: "{MQTT_PASSWORD}"
database:
path: /data/frigate.db
detectors:
coral:
type: edgetpu
device: usb
ffmpeg:
global_args:
- -hide_banner
- -loglevel
- warning
hwaccel_args:
- -hwaccel
- vaapi
- -hwaccel_device
- /dev/dri/renderD128
- -hwaccel_output_format
- yuv420p
# https://github.com/blakeblackshear/frigate/issues/3296
output_args:
record: -f segment -segment_time 10 -segment_format mp4 -reset_timestamps 1 -strftime 1 -c:v copy -ar 44100 -c:a aac
rtmp: -c:v copy -f flv -ar 44100 -c:a aac
rtmp:
enabled: true
record:
enabled: true
retain:
days: 3
mode: all
events:
retain:
default: 7
mode: active_objects
objects:
track:
- person
filters:
person:
min_area: 5000
max_area: 100000
threshold: 0.7