Files
docker/frigate/config/config.yaml
2024-12-16 01:42:52 -08:00

132 lines
2.9 KiB
YAML

# yaml-language-server: $schema=http://192.168.1.234:5000/api/config/schema.json
auth:
enabled: false
proxy:
header_map:
user: Remote-User
tls:
enabled: false
mqtt:
enabled: false
go2rtc:
streams:
nw_garage:
- ffmpeg:http://192.168.1.240/flv?port=1935&app=bcs&stream=channel0_main.bcs&user=frigate&password=RN3cCsRP5HDF4hFy6dis5NTG#video=copy#audio=copy#audio=opus
ne_garage:
- ffmpeg:http://192.168.1.136/flv?port=1935&app=bcs&stream=channel0_main.bcs&user=frigate&password=6aLJ6lWfm3aTlsgkJrt2m8S8#video=copy#audio=copy#audio=opus
doorbell:
- ffmpeg:http://192.168.1.60/flv?port=1935&app=bcs&stream=channel0_main.bcs&user=frigate&password=dcp5rWdsQ3L4gVyUC2lLNGlf#video=copy#audio=copy#audio=opus
- rtsp://192.168.1.60/Preview_01_sub
webrtc:
candidates:
- 192.168.1.234:8555
- stun:8555
detectors: # <---- add detectors
coral1:
type: edgetpu
device: pci:0
coral2:
type: edgetpu
device: pci:1
objects:
track:
- person
- car
- dog
- cat
cameras:
nw_garage:
enabled: true
ffmpeg:
inputs:
- path: rtsp://127.0.0.1:8554/nw_garage
input_args: preset-rtsp-restream
roles:
- record
- detect
hwaccel_args: preset-vaapi
detect:
enabled: true
width: 960
height: 720
fps: 5
record:
enabled: true
motion:
mask:
- 0.865,0.955,0.865,0.99,0.895,0.99,0.895,0.955
- 0.827,0.955,0.827,0.99,0.858,0.99,0.858,0.955
- 0.79,0.955,0.79,0.99,0.821,0.99,0.821,0.955
ne_garage:
enabled: true
ffmpeg:
inputs:
- path: rtsp://127.0.0.1:8554/ne_garage
input_args: preset-rtsp-restream
roles:
- record
- detect
hwaccel_args: preset-vaapi
detect:
enabled: true
width: 960
height: 720
fps: 5
record:
enabled: true
motion:
mask:
- 0.865,0.955,0.865,0.99,0.895,0.99,0.895,0.955
- 0.827,0.955,0.827,0.99,0.858,0.99,0.858,0.955
- 0.79,0.955,0.79,0.99,0.821,0.99,0.821,0.955
doorbell:
enabled: true
ffmpeg:
inputs:
- path: rtsp://127.0.0.1:8554/doorbell
input_args: preset-rtsp-restream
roles:
- record
- detect
hwaccel_args: preset-vaapi
detect:
enabled: true
width: 960
height: 720
fps: 5
record:
enabled: true
motion:
mask:
- 0.79,0.003,0.79,0.035,0.82,0.035,0.82,0.003
- 0.828,0.003,0.828,0.035,0.858,0.035,0.858,0.003
- 0.866,0.003,0.866,0.035,0.896,0.035,0.896,0.003
threshold: 35
contour_area: 15
improve_contrast: true
version: 0.14
camera_groups:
Birdseye:
order: 1
icon: LuBird
cameras: birdseye
Front:
order: 2
icon: LuWarehouse
cameras:
- doorbell
- ne_garage
- nw_garage
detect:
stationary:
interval: 50
threshold: 40