nixos-config/modules/frigate/config.yml

48 lines
1 KiB
YAML
Raw Normal View History

2023-03-21 17:20:22 +01:00
mqtt:
host: mqtt.datarift.nl
port: 1883
2023-03-21 17:20:22 +01:00
user: frigate
password: "{FRIGATE_MQTT_PASSWORD}"
logger:
default: info
record:
enabled: true
retain:
days: 5
2023-03-21 17:20:22 +01:00
snapshots:
enabled: true
detect:
enabled: False
ffmpeg:
hwaccel_args: -hwaccel vaapi -hwaccel_device /dev/dri/renderD128 -hwaccel_output_format yuv420p
2023-03-21 17:20:22 +01:00
cameras:
deurbel:
2023-03-21 17:20:22 +01:00
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}
2023-03-21 17:20:22 +01:00
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"