41 lines
990 B
YAML
41 lines
990 B
YAML
mqtt:
|
|
host: 192.168.0.118
|
|
user: '{FRIGATE_MQTT_USER}'
|
|
password: '{FRIGATE_MQTT_PASSWORD}'
|
|
|
|
cameras:
|
|
# Name of your camera
|
|
home_door:
|
|
ffmpeg:
|
|
input_args:
|
|
- -avoid_negative_ts
|
|
- make_zero
|
|
- -fflags
|
|
- +genpts+discardcorrupt
|
|
- -flags
|
|
- low_delay
|
|
- -strict
|
|
- experimental
|
|
- -analyzeduration
|
|
- 1000M
|
|
- -probesize
|
|
- 1000M
|
|
- -rw_timeout
|
|
- "5000000"
|
|
inputs:
|
|
- path: http://192.168.1.11/flv?port=1935&app=bcs&stream=channel0_main.bcs&user={FRIGATE_CAMERA_USER1}&password={FRIGATE_CAMERA_PASSWORD1}
|
|
roles:
|
|
- record
|
|
- rtmp
|
|
- path: http://192.168.1.11/flv?port=1935&app=bcs&stream=channel0_ext.bcs&user={FRIGATE_CAMERA_USER1}&password={FRIGATE_CAMERA_PASSWORD1}
|
|
roles:
|
|
- detect
|
|
detect:
|
|
width: 896
|
|
height: 672
|
|
fps: 7
|
|
detectors:
|
|
coral:
|
|
type: edgetpu
|
|
device: usb
|