Je důležité, aby byla využita HW accelerace na GPU, jinak to bude nesmyslně zatěžovat CPU. Pokud to chceš virtualizovat, může být problém s passtrough GPU do VM, případně ti ta GPU bude chybět jinde.
Já aktuálně vše jedu na železe - Debian/Ubuntu a Frigate v Dockeru. Ale to především kvůli tomu Hailo-8L, které se mi rovněž pod Proxmoxem do VM dostat nepodařilo.
Zde jsem v rychlosti našel konfiguraci toho stroje s N3050, který uznávám běží na sekundárních streamech s nižším rozlišením. Ten CPU je pro tohle použití už asi za hranou, ale bylo to po ruce a funguje to. Zrovna v tomhle případě se jedná o použití v interiéru, takže nároky na kvalitu nejsou tak vysoké.
Doma mám škatuli s N100DC-ITX a to samé jede ve 4K a kvalitou na maximum. Rozpoznání objektů pak řeší zmíněné Hailo.
mqtt:
enabled: false
cameras:
cam1: # <--- this will be changed to your actual camera later
enabled: true
detect:
enabled: false
ffmpeg:
inputs:
- path: rtsp://user:PASSWORD@10.0.0.1:554/Streaming/Channels/102
roles:
- record
snapshots:
enabled: true
timestamp: true
bounding_box: true
record:
enabled: true
retain:
days: 7
events:
retain:
default: 7
mode: motion
pre_capture: 3
post_capture: 3
motion:
mask: 0,0.049,0,0.091,0.288,0.094,0.287,0.057
cam2: # <--- this will be changed to your actual camera later
enabled: true
detect:
enabled: false
ffmpeg:
inputs:
- path: rtsp://user:PASSWORD@10.0.0.2:554/Streaming/Channels/102
roles:
- record
snapshots:
enabled: true
timestamp: true
bounding_box: true
record:
enabled: true
retain:
days: 7
events:
retain:
default: 7
mode: motion
pre_capture: 3
post_capture: 3
motion:
mask: 0,0.049,0,0.091,0.288,0.094,0.287,0.057
cam3: # <--- this will be changed to your actual camera later
enabled: true
detect:
enabled: false
ffmpeg:
inputs:
- path: rtsp://user:PASSWORD@10.0.0.3:554/Streaming/Channels/102
roles:
- record
snapshots:
enabled: true
timestamp: true
bounding_box: true
record:
enabled: true
retain:
days: 7
events:
retain:
default: 7
mode: motion
pre_capture: 3
post_capture: 3
motion:
mask: 0,0.049,0,0.091,0.288,0.094,0.287,0.057
cam4: # <--- this will be changed to your actual camera later
enabled: true
detect:
enabled: false
ffmpeg:
inputs:
- path: rtsp://user:PASSWORD@10.0.0.4:554/Streaming/Channels/102
roles:
- record
snapshots:
enabled: true
timestamp: true
bounding_box: true
record:
enabled: true
retain:
days: 7
events:
retain:
default: 7
mode: motion
pre_capture: 3
post_capture: 3
motion:
mask: 0,0.049,0,0.091,0.288,0.094,0.287,0.057
version: 0.14