232 lines
6.3 KiB
YAML
232 lines
6.3 KiB
YAML
mqtt:
|
|
host: mqtt
|
|
|
|
detectors:
|
|
ov1:
|
|
type: openvino
|
|
device: GPU
|
|
ov2:
|
|
type: openvino
|
|
device: GPU
|
|
ov3:
|
|
type: openvino
|
|
device: GPU
|
|
ov4:
|
|
type: openvino
|
|
device: GPU
|
|
|
|
model:
|
|
width: 300
|
|
height: 300
|
|
input_tensor: nhwc
|
|
input_pixel_format: bgr
|
|
path: /openvino-model/ssdlite_mobilenet_v2.xml
|
|
labelmap_path: /openvino-model/coco_91cl_bkgr.txt
|
|
|
|
go2rtc:
|
|
streams:
|
|
garage:
|
|
- 'rtsp://{FRIGATE_GARAGE_RTSP_USERNAME}:{FRIGATE_GARAGE_RTSP_PASSWORD}@192.168.0.102:554/live'
|
|
doorbell:
|
|
- 'rtsp://{FRIGATE_DOORBELL_RTSP_USERNAME}:{FRIGATE_DOORBELL_RTSP_PASSWORD}@192.168.0.105:554/cam/realmonitor?channel=1&subtype=0#backchannel=0'
|
|
front_door:
|
|
- 'rtsp://{FRIGATE_FRONT_DOOR_RTSP_USERNAME}:{FRIGATE_FRONT_DOOR_RTSP_PASSWORD}@192.168.0.108:554/live/ch0'
|
|
driveway:
|
|
- 'rtsp://{FRIGATE_DRIVEWAY_RTSP_USERNAME}:{FRIGATE_DRIVEWAY_RTSP_PASSWORD}@192.168.0.148:5543/live/channel1'
|
|
back_door:
|
|
- 'rtsp://wyze-bridge:8554/back-yard-cam'
|
|
family_room:
|
|
- 'rtsp://{FRIGATE_FAMILY_ROOM_RTSP_USERNAME}:{FRIGATE_FAMILY_ROOM_RTSP_PASSWORD}@192.168.0.106:554/stream1'
|
|
office:
|
|
- 'rtsp://{FRIGATE_OFFICE_RTSP_USERNAME}:{FRIGATE_OFFICE_RTSP_PASSWORD}@192.168.0.104:554/live/ch0'
|
|
|
|
cameras:
|
|
garage:
|
|
enabled: true
|
|
ffmpeg:
|
|
inputs:
|
|
- path: 'rtsp://127.0.0.1:8554/garage'
|
|
roles:
|
|
- detect
|
|
- record
|
|
hwaccel_args: preset-intel-qsv-h264 # Use Intel QSV hardware acceleration for H.264
|
|
output_args:
|
|
record: preset-record-generic-audio-aac # Record with aac audio
|
|
detect:
|
|
enabled: true
|
|
width: 1920
|
|
height: 1080
|
|
motion:
|
|
mask:
|
|
- 1384,1058,1384,1009,1872,1009,1872,1058 # Timestamp
|
|
doorbell:
|
|
enabled: true
|
|
ffmpeg:
|
|
inputs:
|
|
- path: 'rtsp://127.0.0.1:8554/doorbell'
|
|
roles:
|
|
- detect
|
|
- record
|
|
hwaccel_args: preset-intel-qsv-h264 # Use Intel QSV hardware acceleration for H.264
|
|
output_args:
|
|
record: preset-record-generic-audio-aac # Record with aac audio
|
|
detect:
|
|
enabled: true
|
|
width: 1920
|
|
height: 1080
|
|
review:
|
|
alerts:
|
|
required_zones:
|
|
- front_door_zone
|
|
snapshots:
|
|
required_zones:
|
|
- front_door_zone
|
|
zones:
|
|
front_door_zone:
|
|
coordinates: 964,677,1920,1080,0,1080,539,754 # Near front door
|
|
front_door:
|
|
enabled: true
|
|
ffmpeg:
|
|
inputs:
|
|
- path: 'rtsp://127.0.0.1:8554/front_door'
|
|
roles:
|
|
- detect
|
|
- record
|
|
hwaccel_args: preset-intel-qsv-h264 # Use Intel QSV hardware acceleration for H.264
|
|
output_args:
|
|
record: preset-record-generic-audio-aac # Record with aac audio
|
|
detect:
|
|
enabled: false
|
|
width: 1920
|
|
height: 1080
|
|
motion:
|
|
mask:
|
|
- 361,96,565,0,0,0,0,304 # Sidewalk
|
|
- 1445,0,1444,46,1920,46,1920,0 # Timestamp
|
|
objects:
|
|
filters:
|
|
person:
|
|
mask:
|
|
- 167,1080,511,1080,328,744,234,456,140,451,0,509,0,804 # Flower bed and hedge
|
|
- 1153,847,1112,838,1042,896,1023,988,1023,1080,1525,1080 # Drainpipe
|
|
driveway:
|
|
enabled: false
|
|
ffmpeg:
|
|
inputs:
|
|
- path: 'rtsp://127.0.0.1:8554/driveway'
|
|
roles:
|
|
- detect
|
|
- record
|
|
hwaccel_args: preset-intel-qsv-h264 # Use Intel QSV hardware acceleration for H.264
|
|
output_args:
|
|
record: preset-record-generic-audio-aac # Record with aac audio
|
|
detect:
|
|
enabled: true
|
|
width: 640
|
|
height: 360
|
|
back_door:
|
|
enabled: true
|
|
ffmpeg:
|
|
inputs:
|
|
- path: 'rtsp://127.0.0.1:8554/back_door'
|
|
roles:
|
|
- detect
|
|
- record
|
|
hwaccel_args: preset-intel-qsv-h264 # Use Intel QSV hardware acceleration for H.264
|
|
output_args:
|
|
record: preset-record-generic-audio-aac # Record with aac audio
|
|
detect:
|
|
enabled: true
|
|
width: 1920
|
|
height: 1080
|
|
motion:
|
|
mask:
|
|
- 1877,1080,1378,1080,1378,1008,1877,1008 # Timestamp
|
|
objects:
|
|
filters:
|
|
person:
|
|
mask:
|
|
- 0.343,0.349,0.373,0.347,0.382,0.451,0.35,0.45 # Left snowman
|
|
- 0.67,0.349,0.703,0.351,0.696,0.454,0.662,0.452 # Right snowman
|
|
family_room:
|
|
enabled: false
|
|
ffmpeg:
|
|
inputs:
|
|
- path: 'rtsp://127.0.0.1:8554/family_room'
|
|
roles:
|
|
- detect
|
|
- record
|
|
hwaccel_args: preset-intel-qsv-h264 # Use Intel QSV hardware acceleration for H.264
|
|
output_args:
|
|
record: preset-record-generic-audio-aac # Record with aac audio
|
|
onvif:
|
|
host: 192.168.0.106
|
|
port: 2020
|
|
user: '{FRIGATE_FAMILY_ROOM_RTSP_USERNAME}'
|
|
password: '{FRIGATE_FAMILY_ROOM_RTSP_PASSWORD}'
|
|
detect:
|
|
enabled: true
|
|
width: 1920
|
|
height: 1080
|
|
motion:
|
|
mask:
|
|
- 0,0,0.32,0,0.32,0.048,0,0.048 # Timestamp
|
|
- 0.351,0,0.47,0,0.471,0.16,0.353,0.165 # Window
|
|
office:
|
|
enabled: false
|
|
ffmpeg:
|
|
inputs:
|
|
- path: 'rtsp://127.0.0.1:8554/office'
|
|
roles:
|
|
- detect
|
|
- record
|
|
output_args:
|
|
record: preset-record-generic-audio-aac # Record with aac audio
|
|
detect:
|
|
enabled: true
|
|
width: 1280
|
|
height: 720
|
|
|
|
ffmpeg:
|
|
hwaccel_args: preset-vaapi # Use VAAPI hardware acceleration by default
|
|
input_args: preset-rtsp-generic
|
|
|
|
objects:
|
|
track:
|
|
- person
|
|
|
|
review:
|
|
alerts:
|
|
labels:
|
|
- person
|
|
|
|
detect:
|
|
enabled: true
|
|
fps: 5
|
|
max_disappeared: 25 # Number of frames without a detection before Frigate considers an object to be gone
|
|
|
|
motion:
|
|
|
|
record:
|
|
enabled: true
|
|
expire_interval: 60
|
|
retain:
|
|
days: 30 # Number of days to retain recordings regardless of events
|
|
mode: all # Mode for retention: all (24/7), motion (only segments with motion), active_objects (only segments with active objects)
|
|
events:
|
|
pre_capture: 5 # Number of seconds before the event to include
|
|
post_capture: 5 # Number of seconds after the event to include
|
|
retain:
|
|
default: 30 # Number of days to retain recordings of events
|
|
mode: all # Mode for retention: all (24/7), motion (only segments with motion), active_objects (only segments with active objects)
|
|
|
|
snapshots:
|
|
enabled: true
|
|
|
|
birdseye:
|
|
enabled: false
|
|
mode: continuous
|
|
|
|
auth:
|
|
enabled: false
|