renew frigate with conf files
This commit is contained in:
@@ -0,0 +1,16 @@
|
|||||||
|
mqtt:
|
||||||
|
host: mqtt
|
||||||
|
|
||||||
|
cameras:
|
||||||
|
test:
|
||||||
|
ffmpeg:
|
||||||
|
inputs:
|
||||||
|
- path: /media/frigate/car-stopping.mp4
|
||||||
|
input_args: -re -stream_loop -1 -fflags +genpts
|
||||||
|
roles:
|
||||||
|
- detect
|
||||||
|
- rtmp
|
||||||
|
detect:
|
||||||
|
height: 1080
|
||||||
|
width: 1920
|
||||||
|
fps: 5
|
||||||
+323
@@ -0,0 +1,323 @@
|
|||||||
|
mqtt:
|
||||||
|
enabled: false
|
||||||
|
# <--------------------------------------STREAMING------------------------------------------------
|
||||||
|
go2rtc:
|
||||||
|
streams:
|
||||||
|
entrance: # <--- hiwatchl200
|
||||||
|
- rtsp://admin:Admin12345@192.168.49.111/cam/realmonitor?channel=1&subtype=0
|
||||||
|
entrance_sub:
|
||||||
|
- rtsp://admin:Admin12345@192.168.49.111/cam/realmonitor?channel=1&subtype=1
|
||||||
|
priem:
|
||||||
|
- rtsp://admin:Admin12345@192.168.49.112/cam/realmonitor?channel=1&subtype=0
|
||||||
|
priem_sub:
|
||||||
|
- rtsp://admin:Admin12345@192.168.49.112/cam/realmonitor?channel=1&subtype=1
|
||||||
|
work:
|
||||||
|
- rtsp://admin:Admin12345@192.168.49.113/cam/realmonitor?channel=1&subtype=0
|
||||||
|
work_sub:
|
||||||
|
- rtsp://admin:Admin12345@192.168.49.113/cam/realmonitor?channel=1&subtype=1
|
||||||
|
sklad:
|
||||||
|
- rtsp://admin:Admin12345@192.168.49.114/cam/realmonitor?channel=1&subtype=0
|
||||||
|
sklad_sub:
|
||||||
|
- rtsp://admin:Admin12345@192.168.49.114/cam/realmonitor?channel=1&subtype=1
|
||||||
|
sborka:
|
||||||
|
- rtsp://admin:admin12345@192.168.49.115/cam/realmonitor?channel=1&subtype=0
|
||||||
|
sborka_sub:
|
||||||
|
- rtsp://admin:admin12345@192.168.49.115/cam/realmonitor?channel=1&subtype=1
|
||||||
|
stair:
|
||||||
|
- rtsp://admin:Admin12345@192.168.49.117/cam/realmonitor?channel=1&subtype=0
|
||||||
|
stair_sub:
|
||||||
|
- rtsp://admin:Admin12345@192.168.49.117/cam/realmonitor?channel=1&subtype=1
|
||||||
|
hall:
|
||||||
|
- rtsp://admin:Admin12345@192.168.49.116/cam/realmonitor?channel=1&subtype=0
|
||||||
|
hall_sub:
|
||||||
|
- rtsp://admin:Admin12345@192.168.49.116/cam/realmonitor?channel=1&subtype=1
|
||||||
|
table1:
|
||||||
|
- rtsp://media:Admin12345@192.168.49.239/Streaming/Channels/101
|
||||||
|
table1_sub:
|
||||||
|
- rtsp://media:Admin12345@192.168.49.239/Streaming/Channels/102
|
||||||
|
table2:
|
||||||
|
- rtsp://media:Admin12345@192.168.49.238/Streaming/Channels/101
|
||||||
|
table2_sub:
|
||||||
|
- rtsp://media:Admin12345@192.168.49.238/Streaming/Channels/102
|
||||||
|
office:
|
||||||
|
- rtsp://frigate.mediaprod.ru:8554/ipc_office_farmtek_sub
|
||||||
|
|
||||||
|
# webrtc:
|
||||||
|
# candidates:
|
||||||
|
# - 192.168.98.15:8555
|
||||||
|
# - stun:8555
|
||||||
|
# ----------------------------------CAMERAS--------------------------------------------------
|
||||||
|
# camera_name:
|
||||||
|
# enabled: True
|
||||||
|
# ffmpeg:
|
||||||
|
# inputs:
|
||||||
|
# - path: rtsp://viewer:{FRIGATE_RTSP_PASSWORD}@10.0.10.10:554/cam/realmonitor?channel=1&subtype=2
|
||||||
|
# roles:
|
||||||
|
# - audio
|
||||||
|
# - detect
|
||||||
|
# - record
|
||||||
|
# - rtmp
|
||||||
|
# best_image_timeout: 60
|
||||||
|
# web_url: ""
|
||||||
|
#zones:
|
||||||
|
# front_steps:
|
||||||
|
# coordinates: 545,1077,747,939,788,805
|
||||||
|
# inertia: 3
|
||||||
|
# objects:
|
||||||
|
# -person
|
||||||
|
# filters:
|
||||||
|
# person:
|
||||||
|
# min_area: 5000
|
||||||
|
# max_area: 100000
|
||||||
|
# thereshould: 0.7
|
||||||
|
# mqtt:
|
||||||
|
# enabled: true
|
||||||
|
# timestamp: true
|
||||||
|
# bounding_box: true
|
||||||
|
# crop: true
|
||||||
|
# height: 270
|
||||||
|
# quality: 70
|
||||||
|
# required_zones: []
|
||||||
|
# ui
|
||||||
|
# order: 0
|
||||||
|
# dashboard: true
|
||||||
|
# onvif:
|
||||||
|
# host: 0.0.0.0
|
||||||
|
# port: 8000
|
||||||
|
# user: admin
|
||||||
|
# pssword: admin
|
||||||
|
# autotracking:
|
||||||
|
# enabled: false
|
||||||
|
# calibrate_on_startup: false
|
||||||
|
# zooming: disabled
|
||||||
|
# zoom_factor: 0.3
|
||||||
|
# track:
|
||||||
|
# - person
|
||||||
|
# required_zones:
|
||||||
|
# - zone_name
|
||||||
|
# return_preset: home
|
||||||
|
# timeout: 10
|
||||||
|
# movement_weights: []
|
||||||
|
# birdseye:
|
||||||
|
# order: 0
|
||||||
|
|
||||||
|
cameras:
|
||||||
|
# <--------------------------------Parking--------------------------------------------------
|
||||||
|
entrance:
|
||||||
|
ffmpeg:
|
||||||
|
output_args:
|
||||||
|
record: preset-record-generic
|
||||||
|
inputs:
|
||||||
|
- path: rtsp://127.0.0.1:8554/entrance
|
||||||
|
roles:
|
||||||
|
- record
|
||||||
|
- path: rtsp://127.0.0.1:8554/entrance_sub
|
||||||
|
input_args: preset-rtsp-restream
|
||||||
|
roles:
|
||||||
|
- detect
|
||||||
|
detect:
|
||||||
|
enabled: false
|
||||||
|
record:
|
||||||
|
enabled: true
|
||||||
|
retain:
|
||||||
|
days: 7
|
||||||
|
mode: all
|
||||||
|
events:
|
||||||
|
retain:
|
||||||
|
default: 30
|
||||||
|
mode: motion
|
||||||
|
|
||||||
|
priem:
|
||||||
|
ffmpeg:
|
||||||
|
output_args:
|
||||||
|
record: preset-record-generic
|
||||||
|
inputs:
|
||||||
|
- path: rtsp://127.0.0.1:8554/priem
|
||||||
|
roles:
|
||||||
|
- record
|
||||||
|
- path: rtsp://127.0.0.1:8554/priem_sub
|
||||||
|
input_args: preset-rtsp-restream
|
||||||
|
roles:
|
||||||
|
- detect
|
||||||
|
detect:
|
||||||
|
enabled: false
|
||||||
|
record:
|
||||||
|
enabled: true
|
||||||
|
retain:
|
||||||
|
days: 7
|
||||||
|
mode: all
|
||||||
|
events:
|
||||||
|
retain:
|
||||||
|
default: 30
|
||||||
|
mode: motion
|
||||||
|
|
||||||
|
work:
|
||||||
|
ffmpeg:
|
||||||
|
output_args:
|
||||||
|
record: preset-record-generic
|
||||||
|
inputs:
|
||||||
|
- path: rtsp://127.0.0.1:8554/work
|
||||||
|
roles:
|
||||||
|
- record
|
||||||
|
- path: rtsp://127.0.0.1:8554/work_sub
|
||||||
|
input_args: preset-rtsp-restream
|
||||||
|
roles:
|
||||||
|
- detect
|
||||||
|
detect:
|
||||||
|
enabled: false
|
||||||
|
record:
|
||||||
|
enabled: true
|
||||||
|
retain:
|
||||||
|
days: 7
|
||||||
|
mode: all
|
||||||
|
events:
|
||||||
|
retain:
|
||||||
|
default: 30
|
||||||
|
mode: motion
|
||||||
|
|
||||||
|
sklad:
|
||||||
|
ffmpeg:
|
||||||
|
output_args:
|
||||||
|
record: preset-record-generic
|
||||||
|
inputs:
|
||||||
|
- path: rtsp://127.0.0.1:8554/sklad
|
||||||
|
roles:
|
||||||
|
- record
|
||||||
|
- path: rtsp://127.0.0.1:8554/sklad_sub
|
||||||
|
input_args: preset-rtsp-restream
|
||||||
|
roles:
|
||||||
|
- detect
|
||||||
|
detect:
|
||||||
|
enabled: false
|
||||||
|
record:
|
||||||
|
enabled: true
|
||||||
|
retain:
|
||||||
|
days: 7
|
||||||
|
mode: all
|
||||||
|
events:
|
||||||
|
retain:
|
||||||
|
default: 30
|
||||||
|
mode: motion
|
||||||
|
|
||||||
|
sborka:
|
||||||
|
ffmpeg:
|
||||||
|
output_args:
|
||||||
|
record: preset-record-generic
|
||||||
|
inputs:
|
||||||
|
- path: rtsp://127.0.0.1:8554/sborka
|
||||||
|
roles:
|
||||||
|
- record
|
||||||
|
- path: rtsp://127.0.0.1:8554/sborka_sub
|
||||||
|
input_args: preset-rtsp-restream
|
||||||
|
roles:
|
||||||
|
- detect
|
||||||
|
detect:
|
||||||
|
enabled: false
|
||||||
|
record:
|
||||||
|
enabled: true
|
||||||
|
retain:
|
||||||
|
days: 7
|
||||||
|
mode: all
|
||||||
|
events:
|
||||||
|
retain:
|
||||||
|
default: 30
|
||||||
|
mode: motion
|
||||||
|
|
||||||
|
stair:
|
||||||
|
ffmpeg:
|
||||||
|
output_args:
|
||||||
|
record: preset-record-generic
|
||||||
|
inputs:
|
||||||
|
- path: rtsp://127.0.0.1:8554/stair
|
||||||
|
roles:
|
||||||
|
- record
|
||||||
|
- path: rtsp://127.0.0.1:8554/stair_sub
|
||||||
|
input_args: preset-rtsp-restream
|
||||||
|
roles:
|
||||||
|
- detect
|
||||||
|
detect:
|
||||||
|
enabled: false
|
||||||
|
record:
|
||||||
|
enabled: true
|
||||||
|
retain:
|
||||||
|
days: 7
|
||||||
|
mode: all
|
||||||
|
events:
|
||||||
|
retain:
|
||||||
|
default: 30
|
||||||
|
mode: motion
|
||||||
|
|
||||||
|
hall:
|
||||||
|
ffmpeg:
|
||||||
|
output_args:
|
||||||
|
record: preset-record-generic
|
||||||
|
inputs:
|
||||||
|
- path: rtsp://127.0.0.1:8554/hall
|
||||||
|
roles:
|
||||||
|
- record
|
||||||
|
- path: rtsp://127.0.0.1:8554/hall_sub
|
||||||
|
input_args: preset-rtsp-restream
|
||||||
|
roles:
|
||||||
|
- detect
|
||||||
|
detect:
|
||||||
|
enabled: false
|
||||||
|
record:
|
||||||
|
enabled: true
|
||||||
|
retain:
|
||||||
|
days: 7
|
||||||
|
mode: all
|
||||||
|
events:
|
||||||
|
retain:
|
||||||
|
default: 30
|
||||||
|
mode: motion
|
||||||
|
|
||||||
|
table1:
|
||||||
|
ffmpeg:
|
||||||
|
output_args:
|
||||||
|
record: preset-record-generic
|
||||||
|
inputs:
|
||||||
|
- path: rtsp://127.0.0.1:8554/table1
|
||||||
|
roles:
|
||||||
|
- record
|
||||||
|
- path: rtsp://127.0.0.1:8554/table1_sub
|
||||||
|
input_args: preset-rtsp-restream
|
||||||
|
roles:
|
||||||
|
- detect
|
||||||
|
detect:
|
||||||
|
enabled: false
|
||||||
|
record:
|
||||||
|
enabled: true
|
||||||
|
retain:
|
||||||
|
days: 7
|
||||||
|
mode: all
|
||||||
|
events:
|
||||||
|
retain:
|
||||||
|
default: 30
|
||||||
|
mode: motion
|
||||||
|
|
||||||
|
table2:
|
||||||
|
ffmpeg:
|
||||||
|
output_args:
|
||||||
|
record: preset-record-generic
|
||||||
|
inputs:
|
||||||
|
- path: rtsp://127.0.0.1:8554/table2
|
||||||
|
roles:
|
||||||
|
- record
|
||||||
|
- path: rtsp://127.0.0.1:8554/table2_sub
|
||||||
|
input_args: preset-rtsp-restream
|
||||||
|
roles:
|
||||||
|
- detect
|
||||||
|
detect:
|
||||||
|
enabled: false
|
||||||
|
record:
|
||||||
|
enabled: true
|
||||||
|
retain:
|
||||||
|
days: 7
|
||||||
|
mode: all
|
||||||
|
events:
|
||||||
|
retain:
|
||||||
|
default: 30
|
||||||
|
mode: motion
|
||||||
|
|
||||||
|
|
||||||
|
version: 0.14
|
||||||
@@ -0,0 +1,81 @@
|
|||||||
|
# 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: true
|
||||||
|
model_size: small
|
||||||
|
lpr:
|
||||||
|
enabled: false
|
||||||
|
classification:
|
||||||
|
bird:
|
||||||
|
enabled: false
|
||||||
+466
@@ -0,0 +1,466 @@
|
|||||||
|
mqtt:
|
||||||
|
enabled: false
|
||||||
|
#logger:
|
||||||
|
# logs:
|
||||||
|
# frigate.record.maintainer: debug
|
||||||
|
go2rtc:
|
||||||
|
streams:
|
||||||
|
ipc_parking_office1: rtsp://media:admin12345@192.168.52.122:554/Streaming/Channels/101
|
||||||
|
ipc_parking_office1_sub: rtsp://media:admin12345@192.168.52.122:554/Streaming/Channels/102
|
||||||
|
ipc_parking_office2: rtsp://media:admin12345@192.168.52.109:554/00
|
||||||
|
ipc_parking_office2_sub: rtsp://media:admin12345@192.168.52.109:554/01
|
||||||
|
ipc_office_sportdoor: rtsp://admin:admin12345@192.168.52.111/cam/realmonitor?channel=1&subtype=0
|
||||||
|
ipc_office_sportdoor_sub: rtsp://admin:admin12345@192.168.52.111/cam/realmonitor?channel=1&subtype=1
|
||||||
|
# ipc_office_server: rtsp://admin:@192.168.52.100/user=admin&password=&channel=1&stream=1.sdp
|
||||||
|
ipc_office_stair1:
|
||||||
|
- rtsp://admin:admin12345@192.168.52.104/cam/realmonitor?channel=1&subtype=0
|
||||||
|
- ffmpeg:main#audio=acc
|
||||||
|
ipc_office_stair1_sub: rtsp://admin:admin12345@192.168.52.104/cam/realmonitor?channel=1&subtype=1
|
||||||
|
ipc_office_stair2:
|
||||||
|
- rtsp://admin:Admin12345@192.168.52.106/cam/realmonitor?channel=1&subtype=0
|
||||||
|
- ffmpeg:main#audio=acc
|
||||||
|
ipc_office_stair2_sub: rtsp://admin:Admin12345@192.168.52.106/cam/realmonitor?channel=1&subtype=1
|
||||||
|
ipc_office_hall1:
|
||||||
|
- rtsp://admin:Admin12345@192.168.52.108/cam/realmonitor?channel=1&subtype=0
|
||||||
|
- ffmpeg:main#audio=acc
|
||||||
|
ipc_office_hall1_sub: rtsp://admin:Admin12345@192.168.52.108/cam/realmonitor?channel=1&subtype=1
|
||||||
|
ipc_office_hall2:
|
||||||
|
- rtsp://admin:Admin12345@192.168.52.121/cam/realmonitor?channel=1&subtype=0
|
||||||
|
- ffmpeg:main#audio=acc
|
||||||
|
ipc_office_hall2_sub: rtsp://admin:Admin12345@192.168.52.121/cam/realmonitor?channel=1&subtype=1
|
||||||
|
ipc_office_farmtek:
|
||||||
|
- rtsp://admin:admin12345@192.168.52.105/cam/realmonitor?channel=1&subtype=0
|
||||||
|
- ffmpeg:main#audio=acc
|
||||||
|
ipc_office_farmtek_sub: rtsp://admin:admin12345@192.168.52.105/cam/realmonitor?channel=1&subtype=1
|
||||||
|
ipc_office_sklad:
|
||||||
|
- rtsp://admin:admin12345@192.168.52.107/cam/realmonitor?channel=1&subtype=0
|
||||||
|
- ffmpeg:main#audio=acc
|
||||||
|
ipc_office_sklad_sub: rtsp://admin:admin12345@192.168.52.107/cam/realmonitor?channel=1&subtype=1
|
||||||
|
ipc_street_barrier: rtsp://admin:admin12345@192.168.52.117:80/0
|
||||||
|
ipc_street_barrier_sub: rtsp://admin:admin12345@192.168.52.117:80/1
|
||||||
|
ipc_street_2821: rtsp://admin:admin12345@192.168.52.119:80/0
|
||||||
|
ipc_street_2821_sub: rtsp://admin:admin12345@192.168.52.119:80/1
|
||||||
|
ipc_street_2822: rtsp://admin:admin12345@192.168.52.118:80/0
|
||||||
|
ipc_street_2822_sub: rtsp://admin:admin12345@192.168.52.118:80/1
|
||||||
|
ipc_street_731: rtsp://media:admin12345@192.168.52.113:554/Streaming/Channels/101
|
||||||
|
ipc_street_731_sub: rtsp://media:admin12345@192.168.52.113:554/Streaming/Channels/102
|
||||||
|
ipc_street_732: rtsp://media:admin12345@192.168.52.115:554/Streaming/Channels/101
|
||||||
|
ipc_street_732_sub: rtsp://media:admin12345@192.168.52.115:554/Streaming/Channels/102
|
||||||
|
ipc_street_yard1: rtsp://media:admin12345@192.168.52.112:554/Streaming/Channels/101
|
||||||
|
ipc_street_yard1_sub: rtsp://media:admin12345@192.168.52.112:554/Streaming/Channels/102
|
||||||
|
ipc_street_absalyamova1: rtsp://media:admin12345@192.168.52.120/cam/realmonitor?channel=1&subtype=0
|
||||||
|
ipc_street_absalyamova1_sub: rtsp://media:admin12345@192.168.52.120/cam/realmonitor?channel=1&subtype=1
|
||||||
|
ipc_street_absalyamova2: rtsp://admin:admin12345@192.168.52.102/cam/realmonitor?channel=1&subtype=0
|
||||||
|
ipc_street_absalyamova2_sub: rtsp://admin:admin12345@192.168.52.102/cam/realmonitor?channel=1&subtype=1
|
||||||
|
ipc_entrance_282: rtsp://media:admin12345@192.168.52.116:554/Streaming/Channels/101
|
||||||
|
ipc_entrance_282_sub: rtsp://media:admin12345@192.168.52.116:554/Streaming/Channels/102
|
||||||
|
ipc_entrance_731: rtsp://media:admin12345@192.168.52.101/Streaming/Channels/101
|
||||||
|
ipc_entrance_731_sub: rtsp://media:admin12345@192.168.52.101/Streaming/Channels/102
|
||||||
|
ipc_entrance_732: rtsp://media:admin12345@192.168.52.114/Streaming/Channels/101
|
||||||
|
ipc_entrance_732_sub: rtsp://media:admin12345@192.168.52.114/Streaming/Channels/102
|
||||||
|
ipc_entrance_notary: rtsp://admin:admin12345@192.168.52.103/cam/realmonitor?channel=1&subtype=0
|
||||||
|
ipc_entrance_notary_sub: rtsp://admin:admin12345@192.168.52.103/cam/realmonitor?channel=1&subtype=1
|
||||||
|
ipc_entrance_office: rtsp://media:admin12345@192.168.52.110/cam/realmonitor?channel=1&subtype=0
|
||||||
|
ipc_entrance_office_sub: rtsp://media:admin12345@192.168.52.110/cam/realmonitor?channel=1&subtype=1
|
||||||
|
ipc_entrance_soffice1: rtsp://media:admin12345@192.168.34.100:554/00
|
||||||
|
ipc_entrance_soffice1_sub: rtsp://media:admin12345@192.168.34.100:554/01
|
||||||
|
#remote cameras
|
||||||
|
# ipc_4modan3: rtsp://admin:Admin12345@192.168.15.36/cam/realmonitor?channel=1&subtype=0
|
||||||
|
# ipc_4modan3_sub: rtsp://admin:Admin12345@192.168.15.36/cam/realmonitor?channel=1&subtype=1
|
||||||
|
ipc_chemodan_entrance: rtsp://192.168.15.33:8554/entrance
|
||||||
|
ipc_chemodan_entrance_sub: rtsp://192.168.15.33:8554/entrance_sub
|
||||||
|
ipc_chemodan_table1: rtsp://192.168.15.33:8554/table1
|
||||||
|
ipc_chemodan_table1_sub: rtsp://192.168.15.33:8554/table1_sub
|
||||||
|
ipc_chemodan_table2: rtsp://192.168.15.33:8554/table2
|
||||||
|
ipc_chemodan_table2_sub: rtsp://192.168.15.33:8554/table2_sub
|
||||||
|
ipc_farmsklad_table1: rtsp://media:Admin12345@192.168.49.3:8554/table1
|
||||||
|
ipc_farmsklad_table1_sub: rtsp://media:Admin12345@192.168.49.3:8554/table1_sub
|
||||||
|
ipc_farmsklad_table2: rtsp://media:Admin12345@192.168.49.3:8554/table2
|
||||||
|
ipc_farmsklad_table2_sub: rtsp://media:Admin12345@192.168.49.3:8554/table2_sub
|
||||||
|
ipc_farmsklad_sborka: rtsp://media:Admin12345@192.168.49.3:8554/sborka
|
||||||
|
ipc_farmsklad_sborka_sub: rtsp://media:Admin12345@192.168.49.3:8554/sborka_sub
|
||||||
|
webrtc:
|
||||||
|
candidates:
|
||||||
|
- 192.168.98.15:8555
|
||||||
|
- stun:8555
|
||||||
|
ffmpeg:
|
||||||
|
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: 30
|
||||||
|
mode: all
|
||||||
|
export:
|
||||||
|
timelapse_args: -vf setpts=0.04*PTS -r 30
|
||||||
|
events:
|
||||||
|
retain:
|
||||||
|
default: 60
|
||||||
|
mode: motion
|
||||||
|
detect:
|
||||||
|
enabled: false
|
||||||
|
cameras:
|
||||||
|
ipc_parking_office1:
|
||||||
|
ffmpeg:
|
||||||
|
inputs:
|
||||||
|
- path: rtsp://127.0.0.1:8554/ipc_parking_office1
|
||||||
|
roles:
|
||||||
|
- record
|
||||||
|
- path: rtsp://127.0.0.1:8554/ipc_parking_office1_sub
|
||||||
|
roles:
|
||||||
|
- detect
|
||||||
|
motion:
|
||||||
|
mask: 0.001,0.409,0.357,0.198,0.542,0.164,0.997,0.295,1,0,0,0
|
||||||
|
threshold: 30
|
||||||
|
contour_area: 10
|
||||||
|
improve_contrast: 'true'
|
||||||
|
ipc_parking_office2:
|
||||||
|
ffmpeg:
|
||||||
|
inputs:
|
||||||
|
- path: rtsp://127.0.0.1:8554/ipc_parking_office2
|
||||||
|
roles:
|
||||||
|
- record
|
||||||
|
- path: rtsp://127.0.0.1:8554/ipc_parking_office2_sub
|
||||||
|
roles:
|
||||||
|
- detect
|
||||||
|
motion:
|
||||||
|
mask:
|
||||||
|
- 0,0.308,0.379,0.212,0.736,0.208,1,0.378,1,0,0,0
|
||||||
|
- 0.46,1,0.486,0.904,0.558,0.743,0.843,0.483,1,0.375,1,1
|
||||||
|
ipc_office_sportdoor:
|
||||||
|
ffmpeg:
|
||||||
|
inputs:
|
||||||
|
- path: rtsp://127.0.0.1:8554/ipc_office_sportdoor
|
||||||
|
roles:
|
||||||
|
- record
|
||||||
|
- path: rtsp://127.0.0.1:8554/ipc_office_sportdoor_sub
|
||||||
|
roles:
|
||||||
|
- detect
|
||||||
|
# ipc_office_server:
|
||||||
|
# ffmpeg:
|
||||||
|
# inputs:
|
||||||
|
# - path: rtsp://127.0.0.1:8554/ipc_office_server
|
||||||
|
# roles:
|
||||||
|
# - record
|
||||||
|
motion:
|
||||||
|
mask: 0.198,0,0.221,0.273,0,0.486,0.003,0.001
|
||||||
|
ipc_office_stair1:
|
||||||
|
ffmpeg:
|
||||||
|
inputs:
|
||||||
|
- path: rtsp://127.0.0.1:8554/ipc_office_stair1?video&audio
|
||||||
|
roles:
|
||||||
|
- record
|
||||||
|
- path: rtsp://127.0.0.1:8554/ipc_office_stair1_sub
|
||||||
|
roles:
|
||||||
|
- detect
|
||||||
|
motion:
|
||||||
|
mask: 0.715,0.258,0.737,0,0.788,0,0.766,0.261
|
||||||
|
ipc_office_stair2:
|
||||||
|
ffmpeg:
|
||||||
|
inputs:
|
||||||
|
- path: rtsp://127.0.0.1:8554/ipc_office_stair2?video&audio
|
||||||
|
roles:
|
||||||
|
- record
|
||||||
|
- path: rtsp://127.0.0.1:8554/ipc_office_stair2_sub
|
||||||
|
roles:
|
||||||
|
- detect
|
||||||
|
ipc_office_hall1:
|
||||||
|
ffmpeg:
|
||||||
|
inputs:
|
||||||
|
- path: rtsp://127.0.0.1:8554/ipc_office_hall1?video&audio
|
||||||
|
roles:
|
||||||
|
- record
|
||||||
|
- path: rtsp://127.0.0.1:8554/ipc_office_hall1_sub
|
||||||
|
roles:
|
||||||
|
- detect
|
||||||
|
motion:
|
||||||
|
mask:
|
||||||
|
- 227,0,205,255,60,217,58,0,0,0,0,288,352,288,352,0
|
||||||
|
ipc_office_hall2:
|
||||||
|
ffmpeg:
|
||||||
|
inputs:
|
||||||
|
- path: rtsp://127.0.0.1:8554/ipc_office_hall2
|
||||||
|
roles:
|
||||||
|
- record
|
||||||
|
- path: rtsp://127.0.0.1:8554/ipc_office_hall2_sub
|
||||||
|
roles:
|
||||||
|
- detect
|
||||||
|
motion:
|
||||||
|
mask:
|
||||||
|
- 173,0,172,262,82,265,72,0,0,0,0,288,352,288,352,0
|
||||||
|
ipc_office_farmtek:
|
||||||
|
ffmpeg:
|
||||||
|
inputs:
|
||||||
|
- path: rtsp://127.0.0.1:8554/ipc_office_farmtek?video&audio
|
||||||
|
roles:
|
||||||
|
- record
|
||||||
|
- path: rtsp://127.0.0.1:8554/ipc_office_farmtek_sub
|
||||||
|
roles:
|
||||||
|
- detect
|
||||||
|
ipc_office_sklad:
|
||||||
|
ffmpeg:
|
||||||
|
inputs:
|
||||||
|
- path: rtsp://127.0.0.1:8554/ipc_office_sklad
|
||||||
|
roles:
|
||||||
|
- record
|
||||||
|
- path: rtsp://127.0.0.1:8554/ipc_office_sklad_sub
|
||||||
|
roles:
|
||||||
|
- detect
|
||||||
|
motion:
|
||||||
|
mask: 0.449,0,0,0.96,0,0
|
||||||
|
ipc_street_barrier:
|
||||||
|
ffmpeg:
|
||||||
|
inputs:
|
||||||
|
- path: rtsp://127.0.0.1:8554/ipc_street_barrier
|
||||||
|
roles:
|
||||||
|
- record
|
||||||
|
- path: rtsp://127.0.0.1:8554/ipc_street_barrier_sub
|
||||||
|
roles:
|
||||||
|
- detect
|
||||||
|
motion:
|
||||||
|
mask: 0.131,0.045,0.411,0.043,1,0.474,1,0,0,0,0,0.186
|
||||||
|
ipc_street_2821:
|
||||||
|
ffmpeg:
|
||||||
|
inputs:
|
||||||
|
- path: rtsp://127.0.0.1:8554/ipc_street_2821
|
||||||
|
roles:
|
||||||
|
- record
|
||||||
|
- path: rtsp://127.0.0.1:8554/ipc_street_2821_sub
|
||||||
|
roles:
|
||||||
|
- detect
|
||||||
|
motion:
|
||||||
|
mask:
|
||||||
|
- 0,0,1,0,1,0.724,0.399,0.305,0,0.589
|
||||||
|
- 0.119,0.509,0.243,1,0.419,1,0.249,0.413
|
||||||
|
ipc_street_2822:
|
||||||
|
ffmpeg:
|
||||||
|
inputs:
|
||||||
|
- path: rtsp://127.0.0.1:8554/ipc_street_2822
|
||||||
|
roles:
|
||||||
|
- record
|
||||||
|
- path: rtsp://127.0.0.1:8554/ipc_street_2822_sub
|
||||||
|
roles:
|
||||||
|
- detect
|
||||||
|
motion:
|
||||||
|
mask:
|
||||||
|
- 0.732,0,1,0,1,0.242,0.735,0.256
|
||||||
|
- 0.206,0.711,0.216,0.901,0.319,0.905,0.318,0.703
|
||||||
|
- 0.503,0.49,0.449,0.719,0.525,0.74,0.625,0.587,0.605,0.478
|
||||||
|
- 0.904,0.278,0.808,0.337,0.618,0.539,0.639,0.658
|
||||||
|
ipc_street_731:
|
||||||
|
ffmpeg:
|
||||||
|
inputs:
|
||||||
|
- path: rtsp://127.0.0.1:8554/ipc_street_731
|
||||||
|
roles:
|
||||||
|
- record
|
||||||
|
- path: rtsp://127.0.0.1:8554/ipc_street_731_sub
|
||||||
|
roles:
|
||||||
|
- detect
|
||||||
|
motion:
|
||||||
|
mask: 0.001,0,0.999,0.003,1,1,0.555,0.624,0.665,0.074,0.28,0.449,0.153,0.226,0,0.386
|
||||||
|
ipc_street_732:
|
||||||
|
ffmpeg:
|
||||||
|
inputs:
|
||||||
|
- path: rtsp://127.0.0.1:8554/ipc_street_732?video&audio
|
||||||
|
roles:
|
||||||
|
- record
|
||||||
|
- path: rtsp://127.0.0.1:8554/ipc_street_732_sub
|
||||||
|
roles:
|
||||||
|
- detect
|
||||||
|
motion:
|
||||||
|
mask:
|
||||||
|
- 0,0,0.446,0.001,0.294,0.046,0.294,0.09,0,0.103
|
||||||
|
- 0.731,0,0.878,0.508,1,1,0.999,0.003
|
||||||
|
ipc_street_yard1:
|
||||||
|
ffmpeg:
|
||||||
|
inputs:
|
||||||
|
- path: rtsp://127.0.0.1:8554/ipc_street_yard1
|
||||||
|
roles:
|
||||||
|
- record
|
||||||
|
- path: rtsp://127.0.0.1:8554/ipc_street_yard1_sub
|
||||||
|
roles:
|
||||||
|
- detect
|
||||||
|
motion:
|
||||||
|
mask: 0,0.057,0.236,0.053,0.237,0.09,0,0.094
|
||||||
|
ipc_street_absalyamova1:
|
||||||
|
ffmpeg:
|
||||||
|
inputs:
|
||||||
|
- path: rtsp://127.0.0.1:8554/ipc_street_absalyamova1
|
||||||
|
roles:
|
||||||
|
- record
|
||||||
|
- path: rtsp://127.0.0.1:8554/ipc_street_absalyamova1_sub
|
||||||
|
roles:
|
||||||
|
- detect
|
||||||
|
motion:
|
||||||
|
mask: 0.826,0.254,0.156,0.771,0,1,0,0,1,0,0.999,0.237
|
||||||
|
ipc_street_absalyamova2:
|
||||||
|
ffmpeg:
|
||||||
|
inputs:
|
||||||
|
- path: rtsp://127.0.0.1:8554/ipc_street_absalyamova2
|
||||||
|
roles:
|
||||||
|
- record
|
||||||
|
- path: rtsp://127.0.0.1:8554/ipc_street_absalyamova2_sub
|
||||||
|
roles:
|
||||||
|
- detect
|
||||||
|
motion:
|
||||||
|
mask: 0.186,0.383,1,0.667,1,0,0,0,0,0.393
|
||||||
|
ipc_entrance_282:
|
||||||
|
ffmpeg:
|
||||||
|
inputs:
|
||||||
|
- path: rtsp://127.0.0.1:8554/ipc_entrance_282
|
||||||
|
roles:
|
||||||
|
- record
|
||||||
|
- path: rtsp://127.0.0.1:8554/ipc_entrance_282_sub
|
||||||
|
roles:
|
||||||
|
- detect
|
||||||
|
motion:
|
||||||
|
mask: 0.599,0.188,0.305,0.268,0.303,0,1,0,1,0.666
|
||||||
|
ipc_entrance_731:
|
||||||
|
ffmpeg:
|
||||||
|
inputs:
|
||||||
|
- path: rtsp://127.0.0.1:8554/ipc_entrance_731
|
||||||
|
roles:
|
||||||
|
- record
|
||||||
|
- path: rtsp://127.0.0.1:8554/ipc_entrance_731_sub
|
||||||
|
roles:
|
||||||
|
- detect
|
||||||
|
motion:
|
||||||
|
mask:
|
||||||
|
- 0,0.05,0.238,0.046,0.24,0.097,0,0.094
|
||||||
|
- 0.445,0,0.443,0.15,0.678,0.293,1,0.39,1,0
|
||||||
|
ipc_entrance_732:
|
||||||
|
ffmpeg:
|
||||||
|
inputs:
|
||||||
|
- path: rtsp://127.0.0.1:8554/ipc_entrance_732
|
||||||
|
roles:
|
||||||
|
- record
|
||||||
|
- path: rtsp://127.0.0.1:8554/ipc_entrance_732_sub
|
||||||
|
roles:
|
||||||
|
- detect
|
||||||
|
motion:
|
||||||
|
mask: 0,0.098,0.247,0.098,0.247,0.051,0,0.044
|
||||||
|
ipc_entrance_notary:
|
||||||
|
ffmpeg:
|
||||||
|
inputs:
|
||||||
|
- path: rtsp://127.0.0.1:8554/ipc_entrance_notary
|
||||||
|
roles:
|
||||||
|
- record
|
||||||
|
- path: rtsp://127.0.0.1:8554/ipc_entrance_notary_sub
|
||||||
|
roles:
|
||||||
|
- detect
|
||||||
|
motion:
|
||||||
|
mask: 0.266,0.001,1,0.422,1,0
|
||||||
|
ipc_entrance_office:
|
||||||
|
ffmpeg:
|
||||||
|
inputs:
|
||||||
|
- path: rtsp://127.0.0.1:8554/ipc_entrance_office
|
||||||
|
roles:
|
||||||
|
- record
|
||||||
|
- path: rtsp://127.0.0.1:8554/ipc_entrance_office_sub
|
||||||
|
roles:
|
||||||
|
- detect
|
||||||
|
motion:
|
||||||
|
mask: 0.798,0,0.732,0.49,0.485,0.308,0,0.331,0,0
|
||||||
|
ipc_entrance_soffice1:
|
||||||
|
ffmpeg:
|
||||||
|
inputs:
|
||||||
|
- path: rtsp://127.0.0.1:8554/ipc_entrance_soffice1
|
||||||
|
roles:
|
||||||
|
- record
|
||||||
|
- path: rtsp://127.0.0.1:8554/ipc_entrance_soffice1_sub
|
||||||
|
roles:
|
||||||
|
- detect
|
||||||
|
motion:
|
||||||
|
mask: 0.247,0.458,0.243,1,0,1,0,0,1,0,1,1,0.697,1,0.665,0.438
|
||||||
|
ipc_chemodan_entrance:
|
||||||
|
ffmpeg:
|
||||||
|
inputs:
|
||||||
|
- path: rtsp://127.0.0.1:8554/ipc_chemodan_entrance
|
||||||
|
roles:
|
||||||
|
- record
|
||||||
|
- path: rtsp://127.0.0.1:8554/ipc_chemodan_entrance_sub
|
||||||
|
roles:
|
||||||
|
- detect
|
||||||
|
motion:
|
||||||
|
mask: 0.465,0.072,0.448,0.306,0.687,0.363,0.709,0.133
|
||||||
|
ipc_chemodan_table1:
|
||||||
|
ffmpeg:
|
||||||
|
inputs:
|
||||||
|
- path: rtsp://127.0.0.1:8554/ipc_chemodan_table1?video&audio
|
||||||
|
roles:
|
||||||
|
- record
|
||||||
|
- path: rtsp://127.0.0.1:8554/ipc_chemodan_table1_sub
|
||||||
|
roles:
|
||||||
|
- detect
|
||||||
|
motion:
|
||||||
|
mask: 0.482,0.051,0,0.049,0,0,0.481,0
|
||||||
|
ipc_chemodan_table2:
|
||||||
|
ffmpeg:
|
||||||
|
inputs:
|
||||||
|
- path: rtsp://127.0.0.1:8554/ipc_chemodan_table2?video&audio
|
||||||
|
roles:
|
||||||
|
- record
|
||||||
|
- path: rtsp://127.0.0.1:8554/ipc_chemodan_table2_sub
|
||||||
|
roles:
|
||||||
|
- detect
|
||||||
|
motion:
|
||||||
|
mask: 0,0,0.482,0,0.483,0.048,0,0.045
|
||||||
|
ipc_farmsklad_sborka:
|
||||||
|
ffmpeg:
|
||||||
|
inputs:
|
||||||
|
- path: rtsp://127.0.0.1:8554/ipc_farmsklad_sborka_sub
|
||||||
|
roles:
|
||||||
|
- record
|
||||||
|
- detect
|
||||||
|
# - path: rtsp://127.0.0.1:8554/ipc_farmsklad_sborka_sub
|
||||||
|
# roles:
|
||||||
|
# - detect
|
||||||
|
motion:
|
||||||
|
mask: 0,0.113,1,0.112,1,0,0,0
|
||||||
|
ipc_farmsklad_table1:
|
||||||
|
ffmpeg:
|
||||||
|
inputs:
|
||||||
|
- path: rtsp://127.0.0.1:8554/ipc_farmsklad_table1_sub?video&audio
|
||||||
|
roles:
|
||||||
|
- record
|
||||||
|
- detect
|
||||||
|
# - path: rtsp://127.0.0.1:8554/ipc_farmsklad_table1_sub
|
||||||
|
# roles:
|
||||||
|
# - detect
|
||||||
|
motion:
|
||||||
|
mask: 0.243,0.05,0,0.046,0,0,0.244,0
|
||||||
|
version: 0.14
|
||||||
|
camera_groups:
|
||||||
|
Parking:
|
||||||
|
order: 1
|
||||||
|
icon: LuAlertOctagon
|
||||||
|
cameras:
|
||||||
|
- ipc_parking_office1
|
||||||
|
- ipc_parking_office2
|
||||||
|
Chemodan:
|
||||||
|
order: 2
|
||||||
|
icon: LuBaggageClaim
|
||||||
|
cameras:
|
||||||
|
- ipc_chemodan_entrance
|
||||||
|
- ipc_chemodan_table1
|
||||||
|
- ipc_chemodan_table2
|
||||||
|
CentralOffice:
|
||||||
|
order: 3
|
||||||
|
icon: LuAirplay
|
||||||
|
cameras:
|
||||||
|
- ipc_entrance_office
|
||||||
|
- ipc_office_farmtek
|
||||||
|
- ipc_office_hall1
|
||||||
|
- ipc_office_hall2
|
||||||
|
- ipc_office_sportdoor
|
||||||
|
- ipc_office_stair1
|
||||||
|
- ipc_office_stair2
|
||||||
|
- ipc_parking_office1
|
||||||
|
- ipc_parking_office2
|
||||||
+614
@@ -0,0 +1,614 @@
|
|||||||
|
mqtt:
|
||||||
|
enabled: false
|
||||||
|
# <--------------------------------------STREAMING------------------------------------------------
|
||||||
|
go2rtc:
|
||||||
|
streams:
|
||||||
|
ipc_parking_office1: # <--- hiwatchl200
|
||||||
|
- rtsp://media:admin12345@192.168.52.122:554/Streaming/Channels/101
|
||||||
|
ipc_parking_office1_sub:
|
||||||
|
- rtsp://media:admin12345@192.168.52.122:554/Streaming/Channels/102
|
||||||
|
|
||||||
|
ipc_parking_office2: # <--- cmd
|
||||||
|
- rtsp://media:admin12345@192.168.52.109:554/00
|
||||||
|
ipc_parking_office2_sub:
|
||||||
|
- rtsp://media:admin12345@192.168.52.109:554/01
|
||||||
|
|
||||||
|
ipc_office_sportdoor:
|
||||||
|
- rtsp://admin:admin@192.168.52.111/cam/realmonitor?channel=1&subtype=0
|
||||||
|
|
||||||
|
ipc_office_server:
|
||||||
|
- rtsp://admin:@192.168.52.100/user=admin&password=&channel=1&stream=1.sdp
|
||||||
|
|
||||||
|
ipc_office_stair1:
|
||||||
|
- rtsp://admin:admin12345@192.168.52.104/cam/realmonitor?channel=1&subtype=0
|
||||||
|
|
||||||
|
ipc_office_stair2:
|
||||||
|
- rtsp://admin:Admin12345@192.168.52.106/cam/realmonitor?channel=1&subtype=0
|
||||||
|
|
||||||
|
ipc_office_hall1:
|
||||||
|
- rtsp://admin:Admin12345@192.168.52.108/cam/realmonitor?channel=1&subtype=0
|
||||||
|
ipc_office_hall1_sub:
|
||||||
|
- rtsp://admin:Admin12345@192.168.52.108/cam/realmonitor?channel=1&subtype=1
|
||||||
|
|
||||||
|
ipc_office_hall2:
|
||||||
|
- rtsp://admin:Admin12345@192.168.52.121/cam/realmonitor?channel=1&subtype=0
|
||||||
|
ipc_office_hall2_sub:
|
||||||
|
- rtsp://admin:Admin12345@192.168.52.121/cam/realmonitor?channel=1&subtype=1
|
||||||
|
|
||||||
|
ipc_office_farmtek:
|
||||||
|
- rtsp://admin:admin12345@192.168.52.105/cam/realmonitor?channel=1&subtype=0
|
||||||
|
|
||||||
|
ipc_office_sklad:
|
||||||
|
- rtsp://admin:admin12345@192.168.52.107/cam/realmonitor?channel=1&subtype=0
|
||||||
|
|
||||||
|
ipc_street_barrier:
|
||||||
|
- rtsp://admin:admin12345@192.168.52.117:80/0
|
||||||
|
|
||||||
|
ipc_street_2821:
|
||||||
|
- rtsp://admin:admin12345@192.168.52.119:80/0
|
||||||
|
|
||||||
|
ipc_street_2822:
|
||||||
|
- rtsp://admin:admin12345@192.168.52.118:80/0
|
||||||
|
ipc_street_2822_sub:
|
||||||
|
- rtsp://admin:admin12345@192.168.52.118:80/1
|
||||||
|
|
||||||
|
ipc_street_731:
|
||||||
|
- rtsp://media:admin12345@192.168.52.113:554/Streaming/Channels/101
|
||||||
|
|
||||||
|
ipc_street_731_sub:
|
||||||
|
- rtsp://media:admin12345@192.168.52.113:554/Streaming/Channels/102
|
||||||
|
|
||||||
|
ipc_street_732:
|
||||||
|
- rtsp://media:admin12345@192.168.52.115:554/Streaming/Channels/101
|
||||||
|
|
||||||
|
ipc_street_732_sub:
|
||||||
|
- rtsp://media:admin12345@192.168.52.115:554/Streaming/Channels/102
|
||||||
|
|
||||||
|
ipc_street_yard1:
|
||||||
|
- rtsp://media:admin12345@192.168.52.112:554/Streaming/Channels/101
|
||||||
|
|
||||||
|
ipc_street_yard1_sub:
|
||||||
|
- rtsp://media:admin12345@192.168.52.112:554/Streaming/Channels/102
|
||||||
|
|
||||||
|
ipc_street_absalyamoval1: # <--- BolidVCI-122
|
||||||
|
- rtsp://media:admin12345@192.168.52.120/cam/realmonitor?channel=1&subtype=0
|
||||||
|
|
||||||
|
ipc_street_absalyamova2:
|
||||||
|
- rtsp://admin:Admin12345@192.168.52.102/cam/realmonitor?channel=1&subtype=0
|
||||||
|
|
||||||
|
ipc_entrance_282: # <--- hiwatchl200
|
||||||
|
- rtsp://media:admin12345@192.168.52.116:554/Streaming/Channels/101
|
||||||
|
|
||||||
|
ipc_entrance_282_sub:
|
||||||
|
- rtsp://media:admin12345@192.168.52.116:554/Streaming/Channels/102
|
||||||
|
|
||||||
|
ipc_entrance_731: # <----hiwatchl200
|
||||||
|
- rtsp://media:admin12345@192.168.52.101/Streaming/Channels/101
|
||||||
|
ipc_entrance_731_sub:
|
||||||
|
- rtsp://media:admin12345@192.168.52.101/Streaming/Channels/102
|
||||||
|
|
||||||
|
ipc_entrance_732:
|
||||||
|
- rtsp://media:admin12345@192.168.52.114/Streaming/Channels/101
|
||||||
|
|
||||||
|
ipc_enrance_notary:
|
||||||
|
- rtsp://admin:Admin12345@192.168.52.103/cam/realmonitor?channel=1&subtype=0
|
||||||
|
|
||||||
|
ipc_entrance_office: # <--- RVIIPC42s
|
||||||
|
- rtsp://media:admin12345@192.168.52.110/cam/realmonitor?channel=1&subtype=0
|
||||||
|
ipc_entrance_office_sub:
|
||||||
|
- rtsp://media:admin12345@192.168.52.110/cam/realmonitor?channel=1&subtype=1
|
||||||
|
|
||||||
|
ipc_entrance_soffice1: # <--- cmd
|
||||||
|
- rtsp://media:admin12345@192.168.34.100:554/00
|
||||||
|
ipc_entrance_soffice1_sub:
|
||||||
|
- rtsp://media:admin12345@192.168.34.100:554/01
|
||||||
|
|
||||||
|
ipc_farmsklad_table1:
|
||||||
|
- rtsp://media:Admin12345@192.168.49.3:8554/table1
|
||||||
|
ipc_farmsklad_table1_sub:
|
||||||
|
- rtsp://media:Admin12345@192.168.49.3:8554/table1_sub
|
||||||
|
|
||||||
|
webrtc:
|
||||||
|
candidates:
|
||||||
|
- 192.168.98.15:8555
|
||||||
|
- stun:8555
|
||||||
|
ffmpeg:
|
||||||
|
global_args: -hide_banner -loglevel warning -threads 2
|
||||||
|
cameras:
|
||||||
|
# <--------------------------------Parking--------------------------------------------------
|
||||||
|
ipc_parking_office1:
|
||||||
|
ffmpeg:
|
||||||
|
hwaccel_args: preset-vaapi
|
||||||
|
output_args:
|
||||||
|
record: preset-record-generic
|
||||||
|
inputs:
|
||||||
|
- path: rtsp://127.0.0.1:8554/ipc_parking_office1
|
||||||
|
roles:
|
||||||
|
- record
|
||||||
|
- path: rtsp://127.0.0.1:8554/ipc_parking_office1_sub
|
||||||
|
input_args: preset-rtsp-restream
|
||||||
|
roles:
|
||||||
|
- detect
|
||||||
|
detect:
|
||||||
|
enabled: false
|
||||||
|
record:
|
||||||
|
enabled: true
|
||||||
|
retain:
|
||||||
|
days: 7
|
||||||
|
mode: all
|
||||||
|
events:
|
||||||
|
retain:
|
||||||
|
default: 30
|
||||||
|
mode: motion
|
||||||
|
|
||||||
|
ipc_parking_office2:
|
||||||
|
ffmpeg:
|
||||||
|
inputs:
|
||||||
|
- path: rtsp://127.0.0.1:8554/ipc_parking_office2
|
||||||
|
roles:
|
||||||
|
- record
|
||||||
|
- path: rtsp://127.0.0.1:8554/ipc_parking_office2_sub
|
||||||
|
roles:
|
||||||
|
- detect
|
||||||
|
detect:
|
||||||
|
enabled: false
|
||||||
|
record:
|
||||||
|
enabled: true
|
||||||
|
retain:
|
||||||
|
days: 7
|
||||||
|
mode: all
|
||||||
|
events:
|
||||||
|
retain:
|
||||||
|
default: 30
|
||||||
|
mode: motion
|
||||||
|
|
||||||
|
# <--------------------------------OFFICE---------------------------------------------------
|
||||||
|
ipc_office_sportdoor:
|
||||||
|
ffmpeg:
|
||||||
|
inputs:
|
||||||
|
- path: rtsp://127.0.0.1:8554/ipc_office_sportdoor
|
||||||
|
roles:
|
||||||
|
- record
|
||||||
|
- path: rtsp://127.0.0.1:8554/ipc_office_sportdoor
|
||||||
|
roles:
|
||||||
|
- detect
|
||||||
|
detect:
|
||||||
|
enabled: false
|
||||||
|
record:
|
||||||
|
enabled: true
|
||||||
|
retain:
|
||||||
|
days: 7
|
||||||
|
mode: all
|
||||||
|
events:
|
||||||
|
retain:
|
||||||
|
default: 30
|
||||||
|
mode: motion
|
||||||
|
ipc_office_server:
|
||||||
|
ffmpeg:
|
||||||
|
inputs:
|
||||||
|
- path: rtsp://127.0.0.1:8554/ipc_office_server
|
||||||
|
roles:
|
||||||
|
- record
|
||||||
|
- path: rtsp://127.0.0.1:8554/ipc_office_server
|
||||||
|
roles:
|
||||||
|
- detect
|
||||||
|
detect:
|
||||||
|
enabled: false
|
||||||
|
record:
|
||||||
|
enabled: true
|
||||||
|
retain:
|
||||||
|
days: 7
|
||||||
|
mode: all
|
||||||
|
events:
|
||||||
|
retain:
|
||||||
|
default: 30
|
||||||
|
mode: motion
|
||||||
|
ipc_office_stair1:
|
||||||
|
ffmpeg:
|
||||||
|
inputs:
|
||||||
|
- path: rtsp://127.0.0.1:8554/ipc_office_stair1
|
||||||
|
roles:
|
||||||
|
- record
|
||||||
|
- path: rtsp://127.0.0.1:8554/ipc_office_stair1
|
||||||
|
roles:
|
||||||
|
- detect
|
||||||
|
detect:
|
||||||
|
enabled: false
|
||||||
|
record:
|
||||||
|
enabled: true
|
||||||
|
retain:
|
||||||
|
days: 7
|
||||||
|
mode: all
|
||||||
|
events:
|
||||||
|
retain:
|
||||||
|
default: 30
|
||||||
|
mode: motion
|
||||||
|
ipc_office_stair2:
|
||||||
|
ffmpeg:
|
||||||
|
inputs:
|
||||||
|
- path: rtsp://127.0.0.1:8554/ipc_office_stair2
|
||||||
|
roles:
|
||||||
|
- record
|
||||||
|
- path: rtsp://127.0.0.1:8554/ipc_office_stair2
|
||||||
|
roles:
|
||||||
|
- detect
|
||||||
|
detect:
|
||||||
|
enabled: false
|
||||||
|
record:
|
||||||
|
enabled: true
|
||||||
|
retain:
|
||||||
|
days: 7
|
||||||
|
mode: all
|
||||||
|
events:
|
||||||
|
retain:
|
||||||
|
default: 30
|
||||||
|
mode: motion
|
||||||
|
ipc_office_hall1:
|
||||||
|
ffmpeg:
|
||||||
|
inputs:
|
||||||
|
- path: rtsp://127.0.0.1:8554/ipc_office_hall1
|
||||||
|
roles:
|
||||||
|
- record
|
||||||
|
- path: rtsp://127.0.0.1:8554/ipc_office_hall1_sub
|
||||||
|
roles:
|
||||||
|
- detect
|
||||||
|
detect:
|
||||||
|
enabled: false
|
||||||
|
record:
|
||||||
|
enabled: true
|
||||||
|
retain:
|
||||||
|
days: 7
|
||||||
|
mode: all
|
||||||
|
events:
|
||||||
|
retain:
|
||||||
|
default: 30
|
||||||
|
mode: motion
|
||||||
|
motion:
|
||||||
|
mask:
|
||||||
|
- 227,0,205,255,60,217,58,0,0,0,0,288,352,288,352,0
|
||||||
|
ipc_office_hall2:
|
||||||
|
ffmpeg:
|
||||||
|
inputs:
|
||||||
|
- path: rtsp://127.0.0.1:8554/ipc_office_hall2
|
||||||
|
roles:
|
||||||
|
- record
|
||||||
|
- path: rtsp://127.0.0.1:8554/ipc_office_hall2_sub
|
||||||
|
roles:
|
||||||
|
- detect
|
||||||
|
detect:
|
||||||
|
enabled: true
|
||||||
|
record:
|
||||||
|
enabled: true
|
||||||
|
retain:
|
||||||
|
days: 7
|
||||||
|
mode: all
|
||||||
|
events:
|
||||||
|
retain:
|
||||||
|
default: 30
|
||||||
|
mode: motion
|
||||||
|
motion:
|
||||||
|
mask:
|
||||||
|
- 173,0,172,262,82,265,72,0,0,0,0,288,352,288,352,0
|
||||||
|
ipc_office_farmtek:
|
||||||
|
ffmpeg:
|
||||||
|
inputs:
|
||||||
|
- path: rtsp://127.0.0.1:8554/ipc_office_farmtek
|
||||||
|
roles:
|
||||||
|
- record
|
||||||
|
- path: rtsp://127.0.0.1:8554/ipc_office_farmtek
|
||||||
|
roles:
|
||||||
|
- detect
|
||||||
|
detect:
|
||||||
|
enabled: false
|
||||||
|
record:
|
||||||
|
enabled: true
|
||||||
|
retain:
|
||||||
|
days: 7
|
||||||
|
mode: all
|
||||||
|
events:
|
||||||
|
retain:
|
||||||
|
default: 30
|
||||||
|
mode: motion
|
||||||
|
ipc_office_sklad:
|
||||||
|
ffmpeg:
|
||||||
|
inputs:
|
||||||
|
- path: rtsp://127.0.0.1:8554/ipc_office_sklad
|
||||||
|
roles:
|
||||||
|
- record
|
||||||
|
- path: rtsp://127.0.0.1:8554/ipc_office_sklad
|
||||||
|
roles:
|
||||||
|
- detect
|
||||||
|
detect:
|
||||||
|
enabled: false
|
||||||
|
record:
|
||||||
|
enabled: true
|
||||||
|
retain:
|
||||||
|
days: 7
|
||||||
|
mode: all
|
||||||
|
events:
|
||||||
|
retain:
|
||||||
|
default: 30
|
||||||
|
mode: motion
|
||||||
|
# <--------------------------------STREEEETTTT----------------------------------------------
|
||||||
|
ipc_street_barrier:
|
||||||
|
ffmpeg:
|
||||||
|
inputs:
|
||||||
|
- path: rtsp://127.0.0.1:8554/ipc_street_barrier
|
||||||
|
roles:
|
||||||
|
- record
|
||||||
|
- path: rtsp://127.0.0.1:8554/ipc_street_barrier
|
||||||
|
roles:
|
||||||
|
- detect
|
||||||
|
detect:
|
||||||
|
enabled: false
|
||||||
|
record:
|
||||||
|
enabled: true
|
||||||
|
retain:
|
||||||
|
days: 7
|
||||||
|
mode: all
|
||||||
|
events:
|
||||||
|
retain:
|
||||||
|
default: 30
|
||||||
|
mode: motion
|
||||||
|
ipc_street_2821:
|
||||||
|
ffmpeg:
|
||||||
|
inputs:
|
||||||
|
- path: rtsp://127.0.0.1:8554/ipc_street_2821
|
||||||
|
roles:
|
||||||
|
- record
|
||||||
|
- path: rtsp://127.0.0.1:8554/ipc_street_2821
|
||||||
|
roles:
|
||||||
|
- detect
|
||||||
|
detect:
|
||||||
|
enabled: false
|
||||||
|
record:
|
||||||
|
enabled: true
|
||||||
|
retain:
|
||||||
|
days: 7
|
||||||
|
mode: all
|
||||||
|
events:
|
||||||
|
retain:
|
||||||
|
default: 30
|
||||||
|
mode: motion
|
||||||
|
ipc_street_2822:
|
||||||
|
ffmpeg:
|
||||||
|
inputs:
|
||||||
|
- path: rtsp://127.0.0.1:8554/ipc_street_2822
|
||||||
|
roles:
|
||||||
|
- record
|
||||||
|
- path: rtsp://127.0.0.1:8554/ipc_street_2822
|
||||||
|
roles:
|
||||||
|
- detect
|
||||||
|
detect:
|
||||||
|
enabled: false
|
||||||
|
record:
|
||||||
|
enabled: true
|
||||||
|
retain:
|
||||||
|
days: 7
|
||||||
|
mode: all
|
||||||
|
events:
|
||||||
|
retain:
|
||||||
|
default: 30
|
||||||
|
mode: motion
|
||||||
|
ipc_street_731:
|
||||||
|
ffmpeg:
|
||||||
|
inputs:
|
||||||
|
- path: rtsp://127.0.0.1:8554/ipc_street_731
|
||||||
|
roles:
|
||||||
|
- record
|
||||||
|
- path: rtsp://127.0.0.1:8554/ipc_street_731
|
||||||
|
roles:
|
||||||
|
- detect
|
||||||
|
detect:
|
||||||
|
enabled: false
|
||||||
|
record:
|
||||||
|
enabled: true
|
||||||
|
retain:
|
||||||
|
days: 7
|
||||||
|
mode: all
|
||||||
|
events:
|
||||||
|
retain:
|
||||||
|
default: 30
|
||||||
|
mode: motion
|
||||||
|
ipc_street_732:
|
||||||
|
ffmpeg:
|
||||||
|
inputs:
|
||||||
|
- path: rtsp://127.0.0.1:8554/ipc_street_732
|
||||||
|
roles:
|
||||||
|
- record
|
||||||
|
- path: rtsp://127.0.0.1:8554/ipc_street_732
|
||||||
|
roles:
|
||||||
|
- detect
|
||||||
|
detect:
|
||||||
|
enabled: false
|
||||||
|
record:
|
||||||
|
enabled: true
|
||||||
|
retain:
|
||||||
|
days: 7
|
||||||
|
mode: all
|
||||||
|
events:
|
||||||
|
retain:
|
||||||
|
default: 30
|
||||||
|
mode: motion
|
||||||
|
ipc_street_yard1:
|
||||||
|
ffmpeg:
|
||||||
|
inputs:
|
||||||
|
- path: rtsp://127.0.0.1:8554/ipc_street_yard1
|
||||||
|
roles:
|
||||||
|
- record
|
||||||
|
- path: rtsp://127.0.0.1:8554/ipc_street_yard1
|
||||||
|
roles:
|
||||||
|
- detect
|
||||||
|
detect:
|
||||||
|
enabled: false
|
||||||
|
record:
|
||||||
|
enabled: true
|
||||||
|
retain:
|
||||||
|
days: 7
|
||||||
|
mode: all
|
||||||
|
events:
|
||||||
|
retain:
|
||||||
|
default: 30
|
||||||
|
mode: motion
|
||||||
|
ipc_street_absalyamoval1:
|
||||||
|
ffmpeg:
|
||||||
|
inputs:
|
||||||
|
- path: rtsp://127.0.0.1:8554/ipc_street_absalyamoval1
|
||||||
|
roles:
|
||||||
|
- record
|
||||||
|
- path: rtsp://127.0.0.1:8554/ipc_street_absalyamoval1
|
||||||
|
roles:
|
||||||
|
- detect
|
||||||
|
detect:
|
||||||
|
enabled: false
|
||||||
|
record:
|
||||||
|
enabled: true
|
||||||
|
retain:
|
||||||
|
days: 7
|
||||||
|
mode: all
|
||||||
|
events:
|
||||||
|
retain:
|
||||||
|
default: 30
|
||||||
|
mode: motion
|
||||||
|
ipc_entrance_282:
|
||||||
|
ffmpeg:
|
||||||
|
inputs:
|
||||||
|
- path: rtsp://127.0.0.1:8554/ipc_entrance_282
|
||||||
|
roles:
|
||||||
|
- record
|
||||||
|
- path: rtsp://127.0.0.1:8554/ipc_entrance_282_sub
|
||||||
|
roles:
|
||||||
|
- detect
|
||||||
|
detect:
|
||||||
|
enabled: false
|
||||||
|
record:
|
||||||
|
enabled: true
|
||||||
|
retain:
|
||||||
|
days: 3
|
||||||
|
mode: all
|
||||||
|
events:
|
||||||
|
retain:
|
||||||
|
default: 30
|
||||||
|
mode: motion
|
||||||
|
ipc_entrance_731:
|
||||||
|
ffmpeg:
|
||||||
|
inputs:
|
||||||
|
- path: rtsp://127.0.0.1:8554/ipc_entrance_731
|
||||||
|
input_args: preset-rtsp-restream
|
||||||
|
roles:
|
||||||
|
- record
|
||||||
|
- path: rtsp://127.0.0.1:8554/ipc_entrance_731_sub
|
||||||
|
input_args: preset-rtsp-restream
|
||||||
|
roles:
|
||||||
|
- detect
|
||||||
|
detect:
|
||||||
|
enabled: false
|
||||||
|
record:
|
||||||
|
enabled: true
|
||||||
|
retain:
|
||||||
|
days: 3
|
||||||
|
mode: all
|
||||||
|
events:
|
||||||
|
retain:
|
||||||
|
default: 30
|
||||||
|
mode: motion
|
||||||
|
ipc_enrance_notary:
|
||||||
|
ffmpeg:
|
||||||
|
inputs:
|
||||||
|
- path: rtsp://127.0.0.1:8554/ipc_enrance_notary
|
||||||
|
roles:
|
||||||
|
- record
|
||||||
|
- path: rtsp://127.0.0.1:8554/ipc_enrance_notary
|
||||||
|
roles:
|
||||||
|
- detect
|
||||||
|
detect:
|
||||||
|
enabled: false
|
||||||
|
record:
|
||||||
|
enabled: true
|
||||||
|
retain:
|
||||||
|
days: 3
|
||||||
|
mode: all
|
||||||
|
events:
|
||||||
|
retain:
|
||||||
|
default: 30
|
||||||
|
mode: motion
|
||||||
|
ipc_entrance_office:
|
||||||
|
ffmpeg:
|
||||||
|
inputs:
|
||||||
|
- path: rtsp://127.0.0.1:8554/ipc_entrance_office
|
||||||
|
roles:
|
||||||
|
- record
|
||||||
|
- path: rtsp://127.0.0.1:8554/ipc_entrance_office_sub
|
||||||
|
roles:
|
||||||
|
- detect
|
||||||
|
detect:
|
||||||
|
enabled: true
|
||||||
|
record:
|
||||||
|
enabled: true
|
||||||
|
retain:
|
||||||
|
days: 7
|
||||||
|
mode: all
|
||||||
|
events:
|
||||||
|
retain:
|
||||||
|
default: 30
|
||||||
|
mode: motion
|
||||||
|
motion:
|
||||||
|
mask:
|
||||||
|
- 133,27,258,146,286,0,0,0,0,143
|
||||||
|
ipc_entrance_732:
|
||||||
|
ffmpeg:
|
||||||
|
inputs:
|
||||||
|
- path: rtsp://127.0.0.1:8554/ipc_entrance_732
|
||||||
|
roles:
|
||||||
|
- record
|
||||||
|
- path: rtsp://127.0.0.1:8554/ipc_entrance_732
|
||||||
|
roles:
|
||||||
|
- detect
|
||||||
|
detect:
|
||||||
|
enabled: false
|
||||||
|
record:
|
||||||
|
enabled: true
|
||||||
|
retain:
|
||||||
|
days: 3
|
||||||
|
mode: all
|
||||||
|
events:
|
||||||
|
retain:
|
||||||
|
default: 30
|
||||||
|
mode: motion
|
||||||
|
ipc_entrance_soffice1:
|
||||||
|
ffmpeg:
|
||||||
|
inputs:
|
||||||
|
- path: rtsp://127.0.0.1:8554/ipc_entrance_soffice1
|
||||||
|
roles:
|
||||||
|
- record
|
||||||
|
- path: rtsp://127.0.0.1:8554/ipc_entrance_soffice1_sub
|
||||||
|
roles:
|
||||||
|
- detect
|
||||||
|
detect:
|
||||||
|
enabled: false
|
||||||
|
record:
|
||||||
|
enabled: true
|
||||||
|
retain:
|
||||||
|
days: 3
|
||||||
|
mode: all
|
||||||
|
events:
|
||||||
|
retain:
|
||||||
|
default: 30
|
||||||
|
mode: motion
|
||||||
|
ipc_4modan3:
|
||||||
|
ffmpeg:
|
||||||
|
inputs:
|
||||||
|
- path: rtsp://127.0.0.1:8554/ipc_4modan3
|
||||||
|
detect:
|
||||||
|
enabled: false
|
||||||
|
record:
|
||||||
|
enabled: false
|
||||||
|
ipc_farmsklad_table1:
|
||||||
|
ffmpeg:
|
||||||
|
inputs:
|
||||||
|
- path: rtsp://127.0.0.1:8554/ipc_farmsklad_table1
|
||||||
|
detect:
|
||||||
|
enabled: false
|
||||||
|
record:
|
||||||
|
enabled: false
|
||||||
|
|
||||||
@@ -0,0 +1,107 @@
|
|||||||
|
# yaml-language-server: $schema=http://192.168.16.33:5000/api/config/schema.json
|
||||||
|
mqtt:
|
||||||
|
enabled: false
|
||||||
|
go2rtc:
|
||||||
|
streams:
|
||||||
|
ipc_1:
|
||||||
|
- rtsp://admin:admin12345@192.168.16.27:554/cam/realmonitor?channel=1&subtype=0
|
||||||
|
- ffmpeg:main#audio=acc
|
||||||
|
ipc_1_sub: rtsp://admin:admin12345@192.168.16.27:554/cam/realmonitor?channel=1&subtype=1
|
||||||
|
ipc_2:
|
||||||
|
- rtsp://admin:aht3eeJeku@192.168.16.28:554/cam/realmonitor?channel=1&subtype=0
|
||||||
|
- ffmpeg:main#audio=acc
|
||||||
|
ipc_2_sub: rtsp://admin:aht3eeJeku@192.168.16.28:554/cam/realmonitor?channel=1&subtype=1
|
||||||
|
ipc_3:
|
||||||
|
- rtsp://admin:aht3eeJeku@192.168.16.29:554/cam/realmonitor?channel=1&subtype=0
|
||||||
|
- ffmpeg:main#audio=acc
|
||||||
|
ipc_3_sub: rtsp://admin:aht3eeJeku@192.168.16.29:554/cam/realmonitor?channel=1&subtype=1
|
||||||
|
ipc_4:
|
||||||
|
- rtsp://admin:Admin12345@192.168.16.31:554/cam/realmonitor?channel=1&subtype=0
|
||||||
|
- ffmpeg:main#audio=acc
|
||||||
|
ipc_4_sub: rtsp://admin:Admin12345@192.168.16.31:554/cam/realmonitor?channel=1&subtype=1
|
||||||
|
webrtc:
|
||||||
|
candidates:
|
||||||
|
- 192.168.98.15:8555
|
||||||
|
- stun:8555
|
||||||
|
ffmpeg:
|
||||||
|
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: 1
|
||||||
|
mode: all
|
||||||
|
export:
|
||||||
|
timelapse_args: -vf setpts=0.04*PTS -r 30
|
||||||
|
events:
|
||||||
|
retain:
|
||||||
|
default: 2
|
||||||
|
mode: motion
|
||||||
|
detect:
|
||||||
|
enabled: false
|
||||||
|
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,0,0.546,0.121,1,0.379,1,0
|
||||||
|
- 0,1,1,0.743,1,1
|
||||||
|
ipc_2:
|
||||||
|
ffmpeg:
|
||||||
|
inputs:
|
||||||
|
- path: rtsp://127.0.0.1:8554/ipc_2?video&audio
|
||||||
|
roles:
|
||||||
|
- record
|
||||||
|
- path: rtsp://127.0.0.1:8554/ipc_2_sub
|
||||||
|
roles:
|
||||||
|
- detect
|
||||||
|
motion:
|
||||||
|
mask:
|
||||||
|
- 0.633,0,0.637,0.145,1,0.144,1,0
|
||||||
|
- 0.77,0.426,1,0.152,1,0.817,0.772,0.843
|
||||||
|
ipc_3:
|
||||||
|
ffmpeg:
|
||||||
|
inputs:
|
||||||
|
- path: rtsp://127.0.0.1:8554/ipc_3?video&audio
|
||||||
|
roles:
|
||||||
|
- record
|
||||||
|
- path: rtsp://127.0.0.1:8554/ipc_3_sub
|
||||||
|
roles:
|
||||||
|
- detect
|
||||||
|
motion:
|
||||||
|
mask: 0,0,0,0.17,1,0.171,1,0
|
||||||
|
ipc_4:
|
||||||
|
ffmpeg:
|
||||||
|
inputs:
|
||||||
|
- path: rtsp://127.0.0.1:8554/ipc_4?video&audio
|
||||||
|
roles:
|
||||||
|
- record
|
||||||
|
- path: rtsp://127.0.0.1:8554/ipc_4_sub
|
||||||
|
roles:
|
||||||
|
- detect
|
||||||
|
motion:
|
||||||
|
mask: 0,0,0,0.11,1,0.158,1,0
|
||||||
|
version: 0.14
|
||||||
|
camera_groups:
|
||||||
|
офис:
|
||||||
|
order: 1
|
||||||
|
icon: LuAlignHorizontalDistributeEnd
|
||||||
|
cameras:
|
||||||
|
- ipc_1
|
||||||
|
- ipc_2
|
||||||
|
- ipc_3
|
||||||
|
- ipc_4
|
||||||
@@ -0,0 +1,29 @@
|
|||||||
|
services:
|
||||||
|
frigate:
|
||||||
|
container_name: frigate
|
||||||
|
privileged: true # this may not be necessary for all setups
|
||||||
|
restart: unless-stopped
|
||||||
|
stop_grace_period: 30s # allow enough time to shut down the various services
|
||||||
|
image: ghcr.io/blakeblackshear/frigate:stable
|
||||||
|
shm_size: "512mb" # update for your cameras based on calculation above
|
||||||
|
cap_add:
|
||||||
|
- CAP_PERFMON
|
||||||
|
devices:
|
||||||
|
- /dev/dri:/dev/dri # For intel hwaccel, needs to be updated for your hardware
|
||||||
|
volumes:
|
||||||
|
- /etc/localtime:/etc/localtime:ro
|
||||||
|
- /srv/frigate/config:/config
|
||||||
|
- /srv/frigate/storage:/media/frigate
|
||||||
|
- ./config.yml.home:/config/config.yml
|
||||||
|
- type: tmpfs # Optional: 1GB of memory, reduces SSD/SD Card wear
|
||||||
|
target: /tmp/cache
|
||||||
|
tmpfs:
|
||||||
|
size: 1000000000
|
||||||
|
ports:
|
||||||
|
- "8971:8971"
|
||||||
|
# - "5000:5000" # Internal unauthenticated access. Expose carefully.
|
||||||
|
- "8554:8554" # RTSP feeds
|
||||||
|
- "8555:8555/tcp" # WebRTC over tcp
|
||||||
|
- "8555:8555/udp" # WebRTC over udp
|
||||||
|
environment:
|
||||||
|
FRIGATE_RTSP_PASSWORD: "password"
|
||||||
@@ -0,0 +1,41 @@
|
|||||||
|
version: "3"
|
||||||
|
services:
|
||||||
|
devcontainer:
|
||||||
|
container_name: frigate-devcontainer
|
||||||
|
# add groups from host for render, plugdev, video
|
||||||
|
group_add:
|
||||||
|
- "109" # render
|
||||||
|
- "110" # render
|
||||||
|
- "44" # video
|
||||||
|
- "46" # plugdev
|
||||||
|
shm_size: "256mb"
|
||||||
|
build:
|
||||||
|
context: .
|
||||||
|
dockerfile: docker/main/Dockerfile
|
||||||
|
# Use target devcontainer-trt for TensorRT dev
|
||||||
|
target: devcontainer
|
||||||
|
## Uncomment this block for nvidia gpu support
|
||||||
|
# deploy:
|
||||||
|
# resources:
|
||||||
|
# reservations:
|
||||||
|
# devices:
|
||||||
|
# - driver: nvidia
|
||||||
|
# count: 1
|
||||||
|
# capabilities: [gpu]
|
||||||
|
environment:
|
||||||
|
YOLO_MODELS: yolov7-320
|
||||||
|
devices:
|
||||||
|
- /dev/bus/usb:/dev/bus/usb
|
||||||
|
# - /dev/dri:/dev/dri # for intel hwaccel, needs to be updated for your hardware
|
||||||
|
volumes:
|
||||||
|
- .:/workspace/frigate:cached
|
||||||
|
- ./web/dist:/opt/frigate/web:cached
|
||||||
|
- /etc/localtime:/etc/localtime:ro
|
||||||
|
- ./config:/config
|
||||||
|
- ./debug:/media/frigate
|
||||||
|
- /dev/bus/usb:/dev/bus/usb
|
||||||
|
mqtt:
|
||||||
|
container_name: mqtt
|
||||||
|
image: eclipse-mosquitto:1.6
|
||||||
|
ports:
|
||||||
|
- "1883:1883"
|
||||||
@@ -0,0 +1,20 @@
|
|||||||
|
docker run -d \
|
||||||
|
--name frigate \
|
||||||
|
--restart=unless-stopped \
|
||||||
|
--mount type=tmpfs,target=/tmp/cache,tmpfs-size=1000000000 \
|
||||||
|
--device /dev/dri \
|
||||||
|
--shm-size=1024m \
|
||||||
|
-v /srv/frigate/storage:/media/frigate \
|
||||||
|
-v /srv/frigate/config/:/config \
|
||||||
|
-v ./config.yml.mp:/config/config.yml \
|
||||||
|
-v /etc/localtime:/etc/localtime:ro \
|
||||||
|
-v ./config.yml.fs:/config/config.yml \
|
||||||
|
-e FRIGATE_RTSP_PASSWORD='password' \
|
||||||
|
-p 1984:1984 \
|
||||||
|
-p 8971:8971 \
|
||||||
|
-p 5000:5000 \
|
||||||
|
-p 8554:8554 \
|
||||||
|
-p 8555:8555/tcp \
|
||||||
|
-p 8555:8555/udp \
|
||||||
|
--cap-add=CAP_PERFMON \
|
||||||
|
ghcr.io/blakeblackshear/frigate:stable
|
||||||
Reference in New Issue
Block a user