nixos-config/modules/frigate/config.yml

47 lines
1 KiB
YAML

mqtt:
host: mqtt.datarift.nl
port: 1883
user: frigate
password: "{FRIGATE_MQTT_PASSWORD}"
logger:
default: info
record:
enabled: true
retain:
days: 5
snapshots:
enabled: true
detect:
enabled: False
ffmpeg:
hwaccel_args: -hwaccel vaapi -hwaccel_device /dev/dri/renderD128 -hwaccel_output_format yuv420p
cameras:
deurbel:
ffmpeg:
inputs:
# - path: rtsp://admin:{FRIGATE_DOORBELL_PASSWORD}@10.0.0.31/h264Preview_01_main
- path: https://10.0.0.31/flv?port=1935&app=bcs&stream=channel0_main.bcs&user=admin&password={FRIGATE_DOORBELL_PASSWORD}
roles:
- record
- rtmp
input_args:
- -avoid_negative_ts
- make_zero
- -fflags
- +genpts+discardcorrupt
- -flags
- low_delay
- -strict
- experimental
- -analyzeduration
- 1000M
- -probesize
- 1000M
- -rw_timeout
- "5000000"