Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- mqtt:
- host: ip-address
- port: 1883
- topic_prefix: frigate
- client_id: frigate
- user: user
- password: password
- stats_interval: 60
- ##############################################################################################
- detectors:
- coral:
- type: edgetpu
- device: usb
- ##############################################################################################
- birdseye:
- enabled: true
- mode: motion
- #############################################################################################
- objects:
- track:
- - person
- - dog
- - car
- - bus
- - boat
- - cat
- - motorcycle
- - bicycle
- - bird
- - amazon
- - ups
- - fedex
- - package
- - deer
- filters:
- person:
- min_score: 0.76
- dog:
- min_score: 0.7
- car:
- min_score: 0.7
- cat:
- min_score: 0.7
- bird:
- min_score: 0.8
- motorcycle:
- min_score: 0.7
- package:
- min_score: 0.5
- deer:
- min_score: 0.6
- detect:
- stationary:
- interval: 50
- threshold: 50
- ############################################################################################
- record:
- enabled: true
- retain:
- days: 14
- mode: all
- alerts:
- retain:
- days: 21
- pre_capture: 30
- post_capture: 30
- detections:
- retain:
- days: 21
- pre_capture: 30
- post_capture: 30
- snapshots:
- enabled: true
- retain:
- default: 30
- ############################################################################################
- go2rtc:
- webrtc:
- listen: :8555
- candidates:
- - ip-address:8555
- - stun:8555
- streams:
- front-doorbell:
- - rtsp://user:password@ip-address:554/
- - ffmpeg:https://ip-address/flv?port=1935&app=bcs&stream=channel0_main.bcs&user=user&password=password#audio=opus#audio=volume
- front-doorbell-sub:
- - rtsp://user:password@ip-address:554/h264Preview_01_sub
- - ffmpeg:https://ip-addres/flv?port=1935&app=bcs&stream=channel0_ext.bcs&user=user&password=password#audio=opus#audio=volume
- service-door-cam:
- - rtsp://user:password@ip-address:554/cam/realmonitor?channel=1&subtype=0&authbasic=64 ## HI RES STREAM ##
- service-door-cam-sub:
- - rtsp://user:password@ip-address:554/cam/realmonitor?channel=1&subtype=1&authbasic=64 ## LOW RES STREAM ##
- back-yard-cam:
- - rtsp://user:password@ip-address:554/cam/realmonitor?channel=1&subtype=0&authbasic=64 ## HI RES STREAM ##
- back-yard-cam-sub:
- - rtsp://user:password@ip-address:554/cam/realmonitor?channel=1&subtype=1&authbasic=64 ## LOW RES STREAM ##
- front-yard-cam:
- - rtsp://user:password@ip-address:554/cam/realmonitor?channel=1&subtype=0&authbasic=64 ## HI RES STREAM ##
- front-yard-cam-sub:
- - rtsp://user:password@ip-address:554/cam/realmonitor?channel=1&subtype=1&authbasic=64 ## LOW RES STREAM ##
- north-west-cam:
- - rtsp://user:password@ip-address:554/cam/realmonitor?channel=1&subtype=0&authbasic=64 ## HI RES STREAM ##
- north-west-cam-sub:
- - rtsp://user:password@ip-address:554/cam/realmonitor?channel=1&subtype=1&authbasic=64 ## LOW RES STREAM ##
- north-east-cam:
- - rtsp://user:password@ip-address:554/cam/realmonitor?channel=1&subtype=0&authbasic=64 ## HI RES STREAM ##
- north-east-cam-sub:
- - rtsp://user:password@ip-address:554/cam/realmonitor?channel=1&subtype=1&authbasic=64 ## LOW RES STREAM ##
- kitchen-cam:
- - rtsp://user:password@ip-address:554/cam/realmonitor?channel=1&subtype=0&authbasic=64 ## HI RES STREAM ##
- - ffmpeg:kitchen-cam#audio=aac
- kitchen-cam-sub:
- - rtsp://user:password@ip-address:554/cam/realmonitor?channel=1&subtype=1&authbasic=64 ## LOW RES STREAM ##
- - ffmpeg:kitchen-cam#audio=aac
- reo-cam:
- - rtsp://user:password@ip-address:554/cam/realmonitor?channel=1&subtype=0&authbasic=64 ## HI RES STREAM ##
- reo-cam-sub:
- - rtsp://user:password@ip-address:554/cam/realmonitor?channel=1&subtype=1&authbasic=64 ## LOW RES STREAM ##
- ffmpeg:
- bin: ffmpeg
- volume: -af "volume=30dB"
- ############################################################################################################
- cameras:
- front-doorbell:
- enabled: true
- ffmpeg:
- output_args:
- record: preset-record-generic-audio-aac
- inputs:
- - path: rtsp://127.0.0.1:8554/front-doorbell?video&audio=aac
- input_args: preset-rtsp-restream
- roles:
- - record
- - path: rtsp://127.0.0.1:8554/front-doorbell-sub?video=copy
- input_args: preset-rtsp-restream
- roles:
- - detect
- hwaccel_args: preset-vaapi
- onvif:
- host: ip-address
- port: 8000
- user: user
- password: password
- detect:
- height: 768
- width: 1024
- fps: 5
- motion:
- mask: 0.715,1,0.715,0.929,0.893,0.53,0.9,0.122,0.567,0.118,0.58,0,1,0,1,1
- threshold: 30
- contour_area: 10
- improve_contrast: true
- objects:
- mask: 0.276,0.335,0.448,0.327,0.452,0.621,0.289,0.633
- ###############################################################################################
- service-door-cam:
- enabled: true
- ffmpeg:
- hwaccel_args: preset-vaapi
- input_args: preset-rtsp-restream
- inputs:
- - path: rtsp://127.0.0.1:8554/service-door-cam-sub
- roles:
- - detect
- - path: rtsp://127.0.0.1:8554/service-door-cam
- roles:
- - record
- #live:
- #stream_name: service_door_cam_sub
- detect:
- height: 720
- width: 1280
- fps: 5
- motion:
- threshold: 30
- contour_area: 10
- improve_contrast: true
- mask: 0.68,0,0.685,0.111,1,0.127,1,0
- ###############################################################################################
- back-yard-cam:
- enabled: true
- ffmpeg:
- hwaccel_args: preset-vaapi
- input_args: preset-rtsp-restream
- inputs:
- - path: rtsp://127.0.0.1:8554/back-yard-cam-sub
- roles:
- - detect
- - path: rtsp://127.0.0.1:8554/back-yard-cam
- roles:
- - record
- #live:
- #stream_name: back_yard_cam_sub
- detect:
- height: 720
- width: 1280
- fps: 5
- motion:
- mask: 0.692,0,0.973,0,0.971,0.097,0.692,0.094
- threshold: 30
- contour_area: 10
- improve_contrast: true
- objects:
- filters:
- person:
- mask:
- - 0.392,0.175,0.521,0.186,0.531,0,0.428,-0.006
- - 0.596,0.395,0.972,0.493,0.979,0.169,0.645,0.05
- ###############################################################################################
- front-yard-cam:
- enabled: true
- ffmpeg:
- hwaccel_args: preset-vaapi
- input_args: preset-rtsp-restream
- inputs:
- - path: rtsp://127.0.0.1:8554/front-yard-cam-sub
- roles:
- - detect
- - path: rtsp://127.0.0.1:8554/front-yard-cam
- roles:
- - record
- #live:
- #stream_name: front_yard_cam_sub
- detect:
- height: 720
- width: 1280
- fps: 5
- motion:
- threshold: 30
- contour_area: 10
- improve_contrast: true
- mask: 0.699,0.107,0.694,0,0.983,0,0.977,0.105
- ###############################################################################################
- north-east-cam:
- enabled: true
- ffmpeg:
- hwaccel_args: preset-vaapi
- input_args: preset-rtsp-restream
- inputs:
- - path: rtsp://127.0.0.1:8554/north-east-cam-sub
- roles:
- - detect
- - path: rtsp://127.0.0.1:8554/north-east-cam
- roles:
- - record
- #live:
- #stream_name: north_east_cam_sub
- detect:
- height: 720
- width: 1280
- fps: 5
- motion:
- threshold: 30
- contour_area: 10
- improve_contrast: true
- mask: 0.686,0,0.688,0.112,1,0.122,1,0
- ###############################################################################################
- north-west-cam:
- enabled: true
- ffmpeg:
- hwaccel_args: preset-vaapi
- input_args: preset-rtsp-restream
- inputs:
- - path: rtsp://127.0.0.1:8554/north-west-cam-sub
- roles:
- - detect
- - path: rtsp://127.0.0.1:8554/north-west-cam
- roles:
- - record
- #live:
- #stream_name: north_west_cam_sub
- detect:
- height: 720
- width: 1280
- fps: 5
- motion:
- mask:
- - 0,0,1,0,1,0.107,0.75,0.104,0,0.437
- - 0.306,0.521,0.31,0.763,0.456,0.768,0.442,0.504
- threshold: 30
- contour_area: 10
- improve_contrast: true
- objects:
- filters:
- person:
- mask: 0.312,0.526,0.433,0.506,0.451,0.766,0.32,0.768
- ###############################################################################################
- kitchen-cam:
- enabled: true
- ffmpeg:
- output_args:
- record: preset-record-generic-audio-aac
- hwaccel_args: preset-vaapi
- input_args: preset-rtsp-restream
- inputs:
- - path: rtsp://127.0.0.1:8554/kitchen-cam-sub
- roles:
- - detect
- - path: rtsp://127.0.0.1:8554/kitchen-cam
- roles:
- - record
- #live:
- #stream_name: kitchen_cam_sub
- detect:
- height: 720
- width: 1280
- fps: 5
- motion:
- mask: 0.684,0,1,0,1,0.107,0.688,0.099
- threshold: 30
- contour_area: 10
- improve_contrast: true
- onvif:
- # Required: host of the camera being connected to.
- host: ip-address
- # Optional: ONVIF port for device (default: shown below).
- port: 80
- # Optional: username for login.
- # NOTE: Some devices require admin to access ONVIF.
- user: user
- # Optional: password for login.
- password: password
- # Optional: PTZ camera object autotracking. Keeps a moving object in
- # the center of the frame by automatically moving the PTZ camera.
- autotracking:
- # Optional: enable/disable object autotracking. (default: shown below)
- enabled: false
- # Optional: calibrate the camera on startup (default: shown below)
- # A calibration will move the PTZ in increments and measure the time it takes to move.
- # The results are used to help estimate the position of tracked objects after a camera move.
- # Frigate will update your config file automatically after a calibration with
- # a "movement_weights" entry for the camera. You should then set calibrate_on_startup to False.
- calibrate_on_startup: false
- # Optional: the mode to use for zooming in/out on objects during autotracking. (default: shown below)
- # Available options are: disabled, absolute, and relative
- # disabled - don't zoom in/out on autotracked objects, use pan/tilt only
- # absolute - use absolute zooming (supported by most PTZ capable cameras)
- # relative - use relative zooming (not supported on all PTZs, but makes concurrent pan/tilt/zoom movements)
- zooming: disabled
- # Optional: A value to change the behavior of zooming on autotracked objects. (default: shown below)
- # A lower value will keep more of the scene in view around a tracked object.
- # A higher value will zoom in more on a tracked object, but Frigate may lose tracking more quickly.
- # The value should be between 0.1 and 0.75
- #zoom_factor: 0.3
- # Optional: list of objects to track from labelmap.txt (default: shown below)
- #track:
- #- person
- # Required: Begin automatically tracking an object when it enters any of the listed zones.
- # required_zones:
- # - zone_name
- # Required: Name of ONVIF preset in camera's firmware to return to when tracking is over. (default: shown below)
- #return_preset: home
- # Optional: Seconds to delay before returning to preset. (default: shown below)
- #timeout: 10
- # Optional: Values generated automatically by a camera calibration. Do not modify these manually. (default: shown below)
- # movement_weights: []
- ###############################################################################################
- reo-cam:
- enabled: true
- ffmpeg:
- hwaccel_args: preset-vaapi
- input_args: preset-rtsp-restream
- inputs:
- - path: rtsp://127.0.0.1:8554/reo-cam-sub
- roles:
- - detect
- - path: rtsp://127.0.0.1:8554/reo-cam
- roles:
- - record
- #live:
- #stream_name: reo_cam_sub
- detect:
- height: 720
- width: 1280
- fps: 5
- motion:
- mask: 0.692,0,0.691,0.12,1,0.129,1,0
- threshold: 30
- contour_area: 10
- improve_contrast: true
- ###############################################################################################
- camera_groups:
- Outdoor:
- order: 1
- icon: LuTrees
- cameras:
- - birdseye
- - front-doorbell
- - back-yard-cam
- - front-yard-cam
- - north-east-cam
- - north-west-cam
- - service-door-cam
- Indoor:
- order: 2
- icon: LuWarehouse
- cameras:
- - birdseye
- - kitchen-cam
- - reo-cam
- semantic_search:
- enabled: true
- reindex: false
- model_size: small
- version: 0.15-1
Advertisement
Add Comment
Please, Sign In to add comment