Je voulais juste pas saturé 
voici le fichier complet :
mqtt:
host: 192.168.1.x
user: dcjona
password: ...
detectors:
coral:
type: edgetpu
device: usb
cameras:
#---------
Portail:
#---------
record:
events:
required_zones:
- zone_portail
ffmpeg:
inputs:
- path: rtsp://...
- detect
- rtmp
- record
detect:
width: 1920
height: 1080
objects:
track:
- person
- car
- dog
- motorcycle
zones:
zone_portail:
coordinates: 1920,1080,1647,712,771,461,620,1080
zone_carport:
coordinates: 0,223,0,1080,587,1080,753,465
motion:
mask:
- 1803,823,1920,520,1920,0,756,0,794,404,808,461,1626,698,1678,727
mqtt:
enabled: True
timestamp: True
bounding_box: True
crop: True
height: 270
quality: 70
snapshots:
enabled: True
timestamp: True
bounding_box: True
crop: True
height: 175
retain:
default: 10
objects:
person: 15
record:
enabled: True
retain_days: 0
events:
retain:
default: 10
objects:
person: 10
car: 5
#---------
Passage:
#---------
ffmpeg:
inputs:
- path: rtsp://...
roles:
- detect
- rtmp
- record
detect:
width: 1920
height: 1080
objects:
track:
- person
- car
- dog
- motorcycle
zones:
zone_passage:
coordinates: 926,368,0,672,0,1080,719,1080,1183,1080,1369,1080,1453,1080,1303,245,1814,1080,1920,1080,1920,39,1690,41,1703,79,1453,151,1416,125,1224,184,1246,226,1189,250,1148,265,1166,322
mqtt:
enabled: True
timestamp: True
bounding_box: True
crop: True
height: 270
quality: 70
snapshots:
enabled: True
timestamp: True
bounding_box: True
crop: True
height: 175
retain:
default: 10
objects:
person: 15
#-----------
Garage_Ext:
#-----------
ffmpeg:
inputs:
- path: rtsp://...
- record
- path: rtsp://...
roles:
- rtmp
- detect
detect:
width: 704
height: 576
objects:
track:
- person
- car
- motorcycle
motion:
mask:
- 704,0,363,0,373,59,368,129,704,439
- 156,0,184,0,181,34,157,35
zones:
zone_toit:
coordinates: 211,576,0,576,0,100,33,75,113,65,140,34,306,36,371,62,194,60,196,262
zone_porte:
coordinates: 372,65,374,259,187,257,184,55
zone_Passage:
coordinates: 369,135,704,452,704,576,426,576,216,576,188,264
mqtt:
enabled: True
timestamp: True
bounding_box: True
crop: True
height: 270
quality: 70
#-----------
Hangar:
#-----------
ffmpeg:
inputs:
- path: rtsp:/...
roles:
- record
- rtmp
- detect
detect:
width: 704
height: 576
objects:
track:
- person
- car
- motorcycle
mqtt:
enabled: True
timestamp: True
bounding_box: True
crop: True
height: 270
quality: 70
motion:
mask:
- 131,44,276,0,401,129,179,201
#-----------
Toit:
#-----------
ffmpeg:
inputs:
- path: rtsp://...
roles:
- record
# - detect
- path: rtsp://...
roles:
- rtmp
- detect
motion:
mask:
- 247,0,0,0,0,158,78,146,135,106,216,105,250,94
zones:
passage:
coordinates: 352,146,352,288,242,133,211,123,211,99,247,77
jardin:
coordinates: 52,189,226,187,203,108,143,118
toit:
coordinates: 146,191,219,192,234,288,0,288,0,211,78,137,152,102
detect:
width: 352
height: 288
objects:
track:
- person
- cat
- motorcycle
mqtt:
enabled: True
timestamp: True
bounding_box: True
crop: True
height: 270
quality: 70
#-----------
Terrasse:
#-----------
ffmpeg:
inputs:
- path: rtsp://...
roles:
- detect
- rtmp
- record
motion:
mask:
- 164,269,280,210,0,215,0,257,0,298
zones:
zone_jardin:
coordinates: 556,231,271,220,165,279,0,305,0,591,69,581,159,572,219,617,439,579
zone_terrasse:
coordinates: 569,151,1280,0,1280,720,0,720,0,720,230,626,588,527
objects:
track:
- person
- dog
mqtt:
enabled: True
timestamp: True
bounding_box: True
crop: True
height: 270
quality: 70
detect:
width: 1980
height: 1080
#-----------
VTO:
#-----------
ffmpeg:
inputs:
- path: rtsp://...
roles:
- record
- rtmp
- detect
detect:
width: 640
height: 360
fps: 7
objects:
track:
- person
mqtt:
enabled: True
timestamp: True
bounding_box: True
crop: True
height: 270
quality: 70
#-----------
Carport:
#-----------
ffmpeg:
inputs:...
roles:
- record
- rtmp
- detect
detect:
width: 640
height: 360
fps: 7
motion:
mask:
- 414,35,406,0,218,0,215,32
objects:
track:
- person
- car
mqtt:
enabled: True
timestamp: True
bounding_box: True
crop: True
height: 270
quality: 70
#-----------
Atelier:
#-----------
ffmpeg:
inputs:
- path: rtsp://x
roles:
- detect
- rtmp
- record
detect:
width: 1980
height: 1080
objects:
track:
- person
mqtt:
enabled: True
timestamp: True
bounding_box: True
crop: True
height: 270
quality: 70
#-----------
Salon:
#-----------
ffmpeg:
inputs:
- path: rtsp://x
roles:
- detect
- rtmp
- record
detect:
width: 1980
height: 1080
objects:
track:
- person
- dog
motion:
mask:
- 144,1080,166,1080,1980,1080,1980,527,1980,0,1894,0,140,0
mqtt:
enabled: True
timestamp: True
bounding_box: True
crop: True
height: 270
quality: 70
#-----------
record:
enabled: True
retain_days: 0
events:
retain:
default: 10
objects:
person: 15
car: 2
#-----------
live:
height: 720
quality: 8
#-----------
ffmpeg:
hwaccel_args:
- -hwaccel
- vaapi
- -hwaccel_device
- /dev/dri/renderD128
- -hwaccel_output_format
- yuv420p