36 lines
822 B
YAML
36 lines
822 B
YAML
|
mqtt:
|
||
|
host: mqtt.datarift.nl
|
||
|
port: 8883
|
||
|
user: frigate
|
||
|
password: "{FRIGATE_MQTT_PASSWORD}"
|
||
|
|
||
|
logger:
|
||
|
default: info
|
||
|
|
||
|
record:
|
||
|
enabled: true
|
||
|
retain:
|
||
|
days: 7
|
||
|
|
||
|
snapshots:
|
||
|
enabled: true
|
||
|
|
||
|
detect:
|
||
|
enabled: False
|
||
|
|
||
|
# ffmpeg:
|
||
|
# hwaccel_args: -hwaccel vaapi -hwaccel_device /dev/dri/renderD128 -hwaccel_output_format yuv420p
|
||
|
|
||
|
cameras:
|
||
|
hobby:
|
||
|
ffmpeg:
|
||
|
inputs:
|
||
|
- path: http://10.0.0.161:8080/
|
||
|
roles:
|
||
|
- record
|
||
|
- rtmp
|
||
|
input_args: -avoid_negative_ts make_zero -fflags nobuffer -flags low_delay -strict experimental -fflags +genpts+discardcorrupt -use_wallclock_as_timestamps 1 -c:v mjpeg
|
||
|
output_args:
|
||
|
record: -f segment -segment_time 10 -segment_format mp4 -reset_timestamps 1 -strftime 1 -c:v libx264 -an
|
||
|
rtmp: -c:v libx264 -an -f flv
|