mirror of
https://github.com/auricom/home-cluster.git
synced 2025-09-27 04:21:27 +02:00
77 lines
1.8 KiB
YAML
77 lines
1.8 KiB
YAML
---
|
|
logger:
|
|
default: info
|
|
# logs:
|
|
# frigate.record: debug
|
|
|
|
mqtt:
|
|
host: emqx.default.svc.cluster.local
|
|
topic_prefix: frigate
|
|
user: "{FRIGATE_MQTT_USERNAME}"
|
|
password: "{FRIGATE_MQTT_PASSWORD}"
|
|
|
|
database:
|
|
path: /data/frigate.db
|
|
|
|
detectors:
|
|
coral:
|
|
type: edgetpu
|
|
device: usb
|
|
|
|
ffmpeg:
|
|
global_args: [-hide_banner, -loglevel, warning]
|
|
hwaccel_args: [-hwaccel, vaapi, -hwaccel_device, /dev/dri/renderD128, -hwaccel_output_format, yuv420p]
|
|
output_args:
|
|
record: preset-record-generic-audio-aac
|
|
|
|
snapshots:
|
|
enabled: true
|
|
timestamp: false
|
|
bounding_box: true
|
|
retain:
|
|
default: 2
|
|
|
|
record:
|
|
enabled: true
|
|
retain:
|
|
days: 2
|
|
mode: all
|
|
events:
|
|
retain:
|
|
default: 2
|
|
mode: active_objects
|
|
|
|
objects:
|
|
track: [person]
|
|
filters:
|
|
person:
|
|
min_area: 5000
|
|
max_area: 100000
|
|
threshold: 0.7
|
|
|
|
go2rtc:
|
|
streams:
|
|
cam_01_bedroom: ffmpeg:https://cam-01-bedroom.{FRIGATE_SECRET_DOMAIN}:443/flv?port=1935&app=bcs&stream=channel0_main.bcs&user={FRIGATE_CAMERA_USER}&password={FRIGATE_CAMERA_PASSWORD}#video=copy#audio=copy#audio=opus
|
|
cam_01_bedroom_sub: ffmpeg:https://cam-01-bedroom.{FRIGATE_SECRET_DOMAIN}:443/flv?port=1935&app=bcs&stream=channel0_main.bcs&user={FRIGATE_CAMERA_USER}&password={FRIGATE_CAMERA_PASSWORD}
|
|
|
|
cameras:
|
|
cam-01-bedroom:
|
|
ffmpeg:
|
|
inputs:
|
|
- path: rtsp://localhost:8554/cam_01_bedroom?video=copy&audio=aac
|
|
input_args: preset-rtsp-restream
|
|
roles: [record]
|
|
- path: rtsp://localhost:8554/cam_01_bedroom_sub?video=copy
|
|
input_args: preset-rtsp-restream
|
|
roles: [detect]
|
|
detect:
|
|
width: 640
|
|
height: 480
|
|
fps: 7
|
|
# objects:
|
|
# filters:
|
|
# person:
|
|
# mask:
|
|
# - 960,626,800,617,797,0,960,0
|
|
# - 960,0,960,138,0,149,0,0
|