Files
frigate-server/config.yml.home
T
2025-10-15 22:34:34 +03:00

82 lines
1.8 KiB
Plaintext

# yaml-language-server: $schema=http://192.168.166.16:5000/api/config/schema.json
mqtt:
enabled: false
go2rtc:
streams:
ipc_1:
- rtsp://admin:Admin12345@192.168.116.33:554/cam/realmonitor?channel=1&subtype=0
- ffmpeg:main#audio=acc
ipc_1_sub:
rtsp://admin:Admin12345@192.168.116.33:554/cam/realmonitor?channel=1&subtype=1
ffmpeg:
hwaccel_args: preset-vaapi
# hwaccel_args: -c:v h264_vaapi -hwaccel vaapi -hwaccel_output_format vaapi
global_args: -hide_banner -loglevel warning -threads 2
# hwaccel_args: auto
input_args: preset-rtsp-restream
output_args:
# detect: -threads 2 -f rawvideo -pix_fmt yuv420p
record: preset-record-generic-audio-aac
retry_interval: 10
#timestamp_style:
# position: tr
record:
enabled: true
retain:
days: 3
mode: all
export:
timelapse_args: -vf setpts=0.04*PTS -r 30
alerts:
retain:
days: 30
detections:
retain:
days: 30
detectors:
ov:
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
detect:
enabled: true
birdseye:
enabled: true
mode: continuous
cameras:
ipc_1:
ffmpeg:
inputs:
- path: rtsp://127.0.0.1:8554/ipc_1?video&audio
roles:
- record
- path: rtsp://127.0.0.1:8554/ipc_1_sub
roles:
- detect
motion:
mask: 0.781,0.037,0.779,0.094,1,0.094,1,0.034
threshold: 40
contour_area: 20
improve_contrast: true
objects:
filters:
person: {}
version: 0.16-0
semantic_search:
enabled: false
model_size: small
face_recognition:
enabled: false
model_size: small
lpr:
enabled: false
classification:
bird:
enabled: false