added frigate conf
This commit is contained in:
parent
d71f73541b
commit
c61d66403d
309
files/frigate/frigate.conf
Normal file
309
files/frigate/frigate.conf
Normal file
@ -0,0 +1,309 @@
|
||||
logger:
|
||||
logs:
|
||||
frigate.record.maintainer: debug
|
||||
|
||||
mqtt:
|
||||
host: 192.168.150.150
|
||||
user: captica
|
||||
password: captica
|
||||
topic_prefix: cctv
|
||||
stats_interval: 60
|
||||
|
||||
# Enable hardware accel for intel integrate graphic (12th gen core i7)
|
||||
ffmpeg:
|
||||
hwaccel_args: preset-vaapi
|
||||
|
||||
# Enable Coral USB detector
|
||||
detectors:
|
||||
coral:
|
||||
type: edgetpu
|
||||
device: usb
|
||||
|
||||
detect:
|
||||
enabled: true
|
||||
|
||||
# General records settings
|
||||
record:
|
||||
enabled: true
|
||||
retain:
|
||||
mode: all
|
||||
days: 7 # Keep 7 days for all motions
|
||||
alerts:
|
||||
retain:
|
||||
days: 28
|
||||
detections:
|
||||
retain:
|
||||
days: 28
|
||||
snapshots:
|
||||
enabled: true
|
||||
bounding_box: true
|
||||
timestamp: true
|
||||
retain:
|
||||
default: 28
|
||||
|
||||
# Activate a survillance overview
|
||||
birdseye:
|
||||
enabled: true
|
||||
mode: continuous
|
||||
restream: true
|
||||
width: 1920
|
||||
height: 1080
|
||||
quality: 8
|
||||
|
||||
# Which objects to track?
|
||||
objects:
|
||||
track:
|
||||
- person
|
||||
- bicycle
|
||||
- car
|
||||
- motorcycle
|
||||
- cat
|
||||
- dog
|
||||
|
||||
go2rtc:
|
||||
rtsp:
|
||||
username: captica
|
||||
password: password!
|
||||
streams:
|
||||
facade_north:
|
||||
- rtsp://captica:password!@192.168.140.231:554/cam/realmonitor?channel=1&subtype=0#backchannel=0
|
||||
- ffmpeg:facade_north#video=h264#audio=acc
|
||||
facade_north_detect:
|
||||
- rtsp://captica:password!@192.168.140.231:554/cam/realmonitor?channel=1&subtype=2#backchannel=0
|
||||
#- ffmpeg:facade_north_detect#video=h264
|
||||
facade_garden:
|
||||
- rtsp://captica:password!@192.168.140.230:554/cam/realmonitor?channel=1&subtype=0#backchannel=0
|
||||
- ffmpeg:facade_garden#video=h264#audio=acc
|
||||
facade_garden_detect:
|
||||
- rtsp://captica:password!@192.168.140.230:554/cam/realmonitor?channel=1&subtype=2#backchannel=0
|
||||
#- ffmpeg:facade_garden_detect#video=h264
|
||||
facade_east:
|
||||
- rtsp://captica:password!@192.168.140.243:554/cam/realmonitor?channel=1&subtype=0#backchannel=0
|
||||
- ffmpeg:facade_east#video=h264#audio=acc
|
||||
facade_east_detect:
|
||||
- rtsp://captica:password!@192.168.140.243:554/cam/realmonitor?channel=1&subtype=2#backchannel=0
|
||||
#- ffmpeg:facade_east_detect#video=h264
|
||||
facade_south:
|
||||
- rtsp://captica:password!@192.168.140.232:554/cam/realmonitor?channel=1&subtype=0#backchannel=0
|
||||
#- ffmpeg:facade_south#video=h264#audio=acc
|
||||
facade_south_detect:
|
||||
- rtsp://captica:password!@192.168.140.232:554/cam/realmonitor?channel=1&subtype=2#backchannel=0
|
||||
#- ffmpeg:facade_south_detect#video=h264
|
||||
facade_west_2:
|
||||
- rtsp://captica:password!@192.168.140.233:554/cam/realmonitor?channel=1&subtype=0#backchannel=0
|
||||
- ffmpeg:facade_west_2#video=h264#audio=acc
|
||||
facade_west_2_detect:
|
||||
- rtsp://captica:password!@192.168.140.233:554/cam/realmonitor?channel=1&subtype=2#backchannel=0
|
||||
#- ffmpeg:facade_south_west_2_detect#video=h264
|
||||
facade_west:
|
||||
- rtsp://captica:password!@192.168.140.234:554/cam/realmonitor?channel=1&subtype=0#backchannel=0
|
||||
- ffmpeg:facade_west#video=h264#audio=acc
|
||||
facade_west_detect:
|
||||
- rtsp://captica:password!@192.168.140.234:554/cam/realmonitor?channel=1&subtype=2#backchannel=0
|
||||
#- ffmpeg:facade_west_detect#video=h264
|
||||
#facade_door:
|
||||
# - rtsp://ghsvwl0002:capticaTest123@192.168.178.101:554/mpeg/720p/media.amp
|
||||
# - ffmpeg:facade_door#video=h264
|
||||
#bird:
|
||||
# - rtsp://camadmin:1234nm,.@192.168.140.68:554/stream1#backchannel=0
|
||||
# - ffmpeg:bird#audio=opus#video=h264
|
||||
#bird_detect:
|
||||
# - rtsp://camadmin:1234nm,.@192.168.140.68:554/stream1#backchannel=0
|
||||
# - ffmpeg:bird_detect#video=h264
|
||||
|
||||
# https://docs.frigate.video/configuration/ffmpeg_presets/
|
||||
cameras:
|
||||
# Doorbird front door
|
||||
facade_door:
|
||||
enabled: true
|
||||
ffmpeg:
|
||||
output_args:
|
||||
record: preset-record-generic
|
||||
inputs:
|
||||
- path:
|
||||
rtsp://ghsvwl0002:capticaTest123@192.168.178.101:554/mpeg/720p/media.amp#backchannel=0
|
||||
#path: rtsp://127.0.0.1:8554/facade_door
|
||||
#path: rtsp://ghsvwl0002:capticaTest123@192.168.178.101:554/mpeg/720p/media.amp
|
||||
input_args: preset-rtsp-generic
|
||||
roles:
|
||||
- detect
|
||||
- record
|
||||
detect:
|
||||
width: 1280
|
||||
height: 720
|
||||
fps: 5
|
||||
# Front door camera (Dahua)
|
||||
facade_north:
|
||||
enabled: true
|
||||
ffmpeg:
|
||||
output_args:
|
||||
record: preset-record-generic-audio-copy
|
||||
inputs:
|
||||
- path: rtsp://127.0.0.1:8554/facade_north
|
||||
input_args: preset-rtsp-restream
|
||||
roles:
|
||||
- record
|
||||
- path: rtsp://127.0.0.1:8554/facade_north_detect
|
||||
input_args: preset-rtsp-restream
|
||||
roles:
|
||||
- detect
|
||||
detect:
|
||||
width: 1280
|
||||
height: 720
|
||||
fps: 5
|
||||
facade_garden:
|
||||
enabled: true
|
||||
ffmpeg:
|
||||
output_args:
|
||||
record: preset-record-generic-audio-copy
|
||||
inputs:
|
||||
- path: rtsp://127.0.0.1:8554/facade_garden
|
||||
input_args: preset-rtsp-restream
|
||||
roles:
|
||||
- record
|
||||
- path: rtsp://127.0.0.1:8554/facade_garden_detect
|
||||
input_args: preset-rtsp-restream
|
||||
roles:
|
||||
- detect
|
||||
objects:
|
||||
track:
|
||||
- person
|
||||
- cat
|
||||
- dog
|
||||
detect:
|
||||
width: 1280
|
||||
height: 720
|
||||
fps: 5
|
||||
facade_east:
|
||||
enabled: true
|
||||
ffmpeg:
|
||||
output_args:
|
||||
record: preset-record-generic-audio-copy
|
||||
inputs:
|
||||
- path: rtsp://127.0.0.1:8554/facade_east
|
||||
input_args: preset-rtsp-restream
|
||||
roles:
|
||||
- record
|
||||
- path: rtsp://127.0.0.1:8554/facade_east_detect
|
||||
input_args: preset-rtsp-restream
|
||||
roles:
|
||||
- detect
|
||||
detect:
|
||||
width: 1280
|
||||
height: 720
|
||||
fps: 5
|
||||
facade_south:
|
||||
enabled: true
|
||||
ffmpeg:
|
||||
output_args:
|
||||
record: preset-record-generic-audio-copy
|
||||
inputs:
|
||||
- path: rtsp://127.0.0.1:8554/facade_south
|
||||
input_args: preset-rtsp-restream
|
||||
roles:
|
||||
- record
|
||||
- path: rtsp://127.0.0.1:8554/facade_south_detect
|
||||
input_args: preset-rtsp-restream
|
||||
roles:
|
||||
- detect
|
||||
detect:
|
||||
width: 1280
|
||||
height: 720
|
||||
fps: 5
|
||||
facade_west_2:
|
||||
enabled: true
|
||||
ffmpeg:
|
||||
output_args:
|
||||
record: preset-record-generic-audio-copy
|
||||
inputs:
|
||||
- path: rtsp://127.0.0.1:8554/facade_west_2
|
||||
input_args: preset-rtsp-restream
|
||||
roles:
|
||||
- record
|
||||
- path: rtsp://127.0.0.1:8554/facade_west_2_detect
|
||||
input_args: preset-rtsp-restream
|
||||
roles:
|
||||
- detect
|
||||
detect:
|
||||
width: 1280
|
||||
height: 720
|
||||
fps: 5
|
||||
objects:
|
||||
filters:
|
||||
car:
|
||||
mask: 0.287,0.011,0.136,0.07,0.067,0.315,0.299,0.275
|
||||
facade_west:
|
||||
enabled: true
|
||||
ffmpeg:
|
||||
output_args:
|
||||
record: preset-record-generic-audio-copy
|
||||
inputs:
|
||||
- path: rtsp://127.0.0.1:8554/facade_west
|
||||
input_args: preset-rtsp-restream
|
||||
roles:
|
||||
- record
|
||||
- path: rtsp://127.0.0.1:8554/facade_west_detect
|
||||
input_args: preset-rtsp-restream
|
||||
roles:
|
||||
- detect
|
||||
detect:
|
||||
width: 1280
|
||||
height: 720
|
||||
fps: 5
|
||||
#bird:
|
||||
# enabled: true
|
||||
# ffmpeg:
|
||||
# output_args:
|
||||
# record: preset-record-generic-audio-copy
|
||||
# inputs:
|
||||
# - path: rtsp://127.0.0.1:8554/bird
|
||||
# input_args: preset-rtsp-restream
|
||||
# roles:
|
||||
# - record
|
||||
# - path: rtsp://127.0.0.1:8554/bird_detect
|
||||
# input_args: preset-rtsp-restream
|
||||
# roles:
|
||||
# - detect
|
||||
# objects:
|
||||
# track:
|
||||
# - person
|
||||
# - bicycle
|
||||
# - car
|
||||
# - motorcycle
|
||||
# - cat
|
||||
# - dog
|
||||
# - horse
|
||||
# - bird
|
||||
# detect:
|
||||
# width: 1280
|
||||
# height: 720
|
||||
# fps: 5
|
||||
version: 0.16-0
|
||||
camera_groups:
|
||||
important:
|
||||
order: 2
|
||||
icon: LuSquare
|
||||
cameras:
|
||||
- facade_garden
|
||||
- facade_north
|
||||
- facade_west_2
|
||||
- facade_south
|
||||
- facade_west
|
||||
door:
|
||||
order: 2
|
||||
icon: LuAlignHorizontalSpaceAround
|
||||
cameras:
|
||||
- facade_door
|
||||
- facade_north
|
||||
semantic_search:
|
||||
enabled: false
|
||||
model_size: small
|
||||
face_recognition:
|
||||
enabled: true
|
||||
model_size: large
|
||||
detection_threshold: 0.9
|
||||
lpr:
|
||||
enabled: false
|
||||
classification:
|
||||
bird:
|
||||
enabled: false
|
||||
Loading…
Reference in New Issue
Block a user