Bonjour,
Je fais tourner une VM sous Proxmox pour HA et j’ai installé l’intégration et l’addon Frigate directement dans HA.
Je suis en train d’essayer d’installer ma nouvelle clé Coral car je n’arrivais pas à faire fonctionner OpenVino sur mon mini PC HP.
J’ai cela en configuration :
mqtt:
enabled: false
ffmpeg:
hwaccel_args: preset-vaapi
detectors:
coral:
type: edgetpu
device: usb
review:
alerts:
labels:
- person
- car
- motorcycle
detections:
labels:
- cat
- dog
- bird
cameras:
#Caméra entrée
entree:
ffmpeg:
inputs:
- path: rtsp://user:mdp@IP:554/Streaming/channels/101
#input_args: preset-rtsp-restream
roles:
- record
- path: rtsp://user:mdp@IP:554/Streaming/channels/102
roles:
- detect
detect:
enabled: true
width: 1280
height: 720
fps: 10
objects:
track:
- person
- cat
- dog
- car
- motorcycle
filters:
person:
threshold: 0.7
min_area: 40000
cat:
threshold: 0.7
min_area: 2000
max_area: 20000
dog:
threshold: 0.7
min_area: 2000
max_area: 20000
car:
threshold: 0.7
min_area: 60000
snapshots:
enabled: true
bounding_box: true
crop: false
quality: 100
retain:
default: 30
record:
enabled: true
retain:
days: 0
alerts:
retain:
days: 14
pre_capture: 15
post_capture: 10
detections:
retain:
days: 14
pre_capture: 15
post_capture: 10
motion:
mask: 0,0,0,0.298,0.687,0.333,0.668,0
#Caméra terrasse
terrasse:
ffmpeg:
inputs:
- path: rtsp://user:mdp@IP:554/Streaming/channels/201
roles:
- record
- path: rtsp://user:mdp@IP:554/Streaming/channels/202
roles:
- detect
detect:
enabled: true
width: 1280
height: 720
fps: 10
objects:
track:
- person
- cat
- dog
- bird
filters:
person:
threshold: 0.7
min_area: 40000
cat:
threshold: 0.7
min_area: 2000
max_area: 20000
dog:
threshold: 0.7
min_area: 3000
max_area: 20000
snapshots:
enabled: true
bounding_box: true
crop: false
quality: 100
retain:
default: 30
record:
enabled: true
retain:
days: 0
alerts:
retain:
days: 14
pre_capture: 15
post_capture: 10
detections:
retain:
days: 14
pre_capture: 15
post_capture: 10
motion:
mask: 0,0,0,1,0.207,0.836,0.824,0
#Caméra chambre
chambre:
ffmpeg:
inputs:
- path: rtsp://user:mdp@IP:554/Streaming/channels/301
roles:
- record
- path: rtsp://user:mdp@IP:554/Streaming/channels/302
roles:
- detect
detect:
enabled: false
width: 1280
height: 720
fps: 10
objects:
track:
- person
- cat
- dog
filters:
person:
threshold: 0.7
min_area: 40000
cat:
threshold: 0.7
min_area: 2000
max_area: 20000
dog:
threshold: 0.7
min_area: 2000
max_area: 20000
snapshots:
enabled: true
bounding_box: true
crop: false
quality: 100
retain:
default: 30
record:
enabled: true
retain:
days: 0
alerts:
retain:
days: 14
pre_capture: 15
post_capture: 10
detections:
retain:
days: 14
pre_capture: 15
post_capture: 10
motion:
mask: 0,0,0,0.63,0.914,0
version: 0.15-1
Mais j’ai ces erreurs :
2025-03-04 08:18:14.223412377 [2025-03-04 09:18:14] frigate.detectors.plugins.edgetpu_tfl INFO : Attempting to load TPU as usb
2025-03-04 08:18:14.236071793 [2025-03-04 09:18:14] frigate.app INFO : Capture process started for chambre: 424
2025-03-04 08:18:14.338446085 [2025-03-04 09:18:14] frigate.api.fastapi_app INFO : Starting FastAPI app
2025-03-04 08:18:14.663261027 [2025-03-04 09:18:14] frigate.api.fastapi_app INFO : FastAPI started
2025-03-04 08:18:15.410456397 [2025-03-04 09:18:15] frigate.video ERROR : terrasse: Unable to read frames from ffmpeg process.
2025-03-04 08:18:15.413521450 [2025-03-04 09:18:15] frigate.video ERROR : terrasse: ffmpeg process is not running. exiting capture thread...
2025-03-04 08:18:15.509928268 [2025-03-04 09:18:15] frigate.video ERROR : chambre: Unable to read frames from ffmpeg process.
2025-03-04 08:18:15.512353489 [2025-03-04 09:18:15] frigate.video ERROR : chambre: ffmpeg process is not running. exiting capture thread...
2025-03-04 08:18:15.691871605 [2025-03-04 09:18:15] frigate.util.services ERROR : Unable to poll vainfo: b"error: XDG_RUNTIME_DIR is invalid or not set in the environment.\nerror: can't connect to X server!\nlibva info: VA-API version 1.22.0\nlibva info: Trying to open /usr/lib/x86_64-linux-gnu/dri/simpledrm_drv_video.so\nlibva info: va_openDriver() returns -1\nvaInitialize failed with error code -1 (unknown libva error),exit\n"
2025-03-04 08:18:15.814485283 [2025-03-04 09:18:15] frigate.util.services ERROR : Unable to poll intel GPU stats: No device filter specified and no discrete/integrated i915 devices found
2025-03-04 08:18:15.814488516
2025-03-04 08:18:17.292544036 [2025-03-04 09:18:17] frigate.detectors.plugins.edgetpu_tfl INFO : TPU found
2025-03-04 08:18:22.081940447 172.30.32.2 - - [04/Mar/2025:09:18:22 +0100] "GET / HTTP/1.1" 200 2651 "-" "HomeAssistantSupervisor/2025.03.0 aiohttp/3.11.13 Python/3.13" "-"
2025-03-04 08:18:25.148169709 [2025-03-04 09:18:25] frigate.video ERROR : entree: Unable to read frames from ffmpeg process.
2025-03-04 08:18:25.149029644 [2025-03-04 09:18:25] frigate.video ERROR : entree: ffmpeg process is not running. exiting capture thread...
2025-03-04 08:18:34.238218104 [2025-03-04 09:18:34] watchdog.entree ERROR : Ffmpeg process crashed unexpectedly for entree.
2025-03-04 08:18:34.238264370 [2025-03-04 09:18:34] watchdog.entree ERROR : The following ffmpeg logs include the last 100 lines prior to exit.
2025-03-04 08:18:34.238336857 [2025-03-04 09:18:34] ffmpeg.entree.detect ERROR : [hevc @ 0x561c73465400] PPS id out of range: 0
2025-03-04 08:18:34.238407272 [2025-03-04 09:18:34] ffmpeg.entree.detect ERROR : Last message repeated 1 times
2025-03-04 08:18:34.238470128 [2025-03-04 09:18:34] ffmpeg.entree.detect ERROR : [hevc @ 0x561c73465400] Error parsing NAL unit #0.
2025-03-04 08:18:34.238564399 [2025-03-04 09:18:34] ffmpeg.entree.detect ERROR : [hevc @ 0x561c73465400] PPS id out of range: 0
2025-03-04 08:18:34.238646219 [2025-03-04 09:18:34] ffmpeg.entree.detect ERROR : Last message repeated 1 times
2025-03-04 08:18:34.238725454 [2025-03-04 09:18:34] ffmpeg.entree.detect ERROR : [hevc @ 0x561c73465400] Error parsing NAL unit #0.
2025-03-04 08:18:34.238789735 [2025-03-04 09:18:34] ffmpeg.entree.detect ERROR : [hevc @ 0x561c73465400] PPS id out of range: 0
2025-03-04 08:18:34.238852233 [2025-03-04 09:18:34] ffmpeg.entree.detect ERROR : Last message repeated 1 times
2025-03-04 08:18:34.238934638 [2025-03-04 09:18:34] ffmpeg.entree.detect ERROR : [hevc @ 0x561c73465400] Error parsing NAL unit #0.
2025-03-04 08:18:34.238994396 [2025-03-04 09:18:34] ffmpeg.entree.detect ERROR : [hevc @ 0x561c73465400] PPS id out of range: 0
2025-03-04 08:18:34.239062112 [2025-03-04 09:18:34] ffmpeg.entree.detect ERROR : Last message repeated 1 times
2025-03-04 08:18:34.239122244 [2025-03-04 09:18:34] ffmpeg.entree.detect ERROR : [hevc @ 0x561c73465400] Error parsing NAL unit #0.
2025-03-04 08:18:34.239184345 [2025-03-04 09:18:34] ffmpeg.entree.detect ERROR : [hevc @ 0x561c73465400] PPS id out of range: 0
2025-03-04 08:18:34.239247108 [2025-03-04 09:18:34] ffmpeg.entree.detect ERROR : Last message repeated 1 times
2025-03-04 08:18:34.239310872 [2025-03-04 09:18:34] ffmpeg.entree.detect ERROR : [hevc @ 0x561c73465400] Error parsing NAL unit #0.
2025-03-04 08:18:34.239373847 [2025-03-04 09:18:34] ffmpeg.entree.detect ERROR : [hevc @ 0x561c73465400] PPS id out of range: 0
2025-03-04 08:18:34.239436155 [2025-03-04 09:18:34] ffmpeg.entree.detect ERROR : Last message repeated 1 times
2025-03-04 08:18:34.239528077 [2025-03-04 09:18:34] ffmpeg.entree.detect ERROR : [hevc @ 0x561c73465400] Error parsing NAL unit #0.
2025-03-04 08:18:34.239596949 [2025-03-04 09:18:34] ffmpeg.entree.detect ERROR : [hevc @ 0x561c73465400] PPS id out of range: 0
2025-03-04 08:18:34.239677457 [2025-03-04 09:18:34] ffmpeg.entree.detect ERROR : Last message repeated 1 times
2025-03-04 08:18:34.239767798 [2025-03-04 09:18:34] ffmpeg.entree.detect ERROR : [hevc @ 0x561c73465400] Error parsing NAL unit #0.
2025-03-04 08:18:34.239832829 [2025-03-04 09:18:34] ffmpeg.entree.detect ERROR : [hevc @ 0x561c73465400] PPS id out of range: 0
2025-03-04 08:18:34.239895299 [2025-03-04 09:18:34] ffmpeg.entree.detect ERROR : Last message repeated 1 times
2025-03-04 08:18:34.241793129 [2025-03-04 09:18:34] ffmpeg.entree.detect ERROR : [hevc @ 0x561c73465400] Error parsing NAL unit #0.
2025-03-04 08:18:34.244009836 [2025-03-04 09:18:34] ffmpeg.entree.detect ERROR : [hevc @ 0x561c73465400] PPS id out of range: 0
2025-03-04 08:18:34.244012743 [2025-03-04 09:18:34] ffmpeg.entree.detect ERROR : Last message repeated 1 times
2025-03-04 08:18:34.244014449 [2025-03-04 09:18:34] ffmpeg.entree.detect ERROR : [hevc @ 0x561c73465400] Error parsing NAL unit #0.
2025-03-04 08:18:34.244015927 [2025-03-04 09:18:34] ffmpeg.entree.detect ERROR : [hevc @ 0x561c73465400] PPS id out of range: 0
2025-03-04 08:18:34.244018248 [2025-03-04 09:18:34] ffmpeg.entree.detect ERROR : Last message repeated 1 times
2025-03-04 08:18:34.244031886 [2025-03-04 09:18:34] ffmpeg.entree.detect ERROR : [hevc @ 0x561c73465400] Error parsing NAL unit #0.
2025-03-04 08:18:34.244033549 [2025-03-04 09:18:34] ffmpeg.entree.detect ERROR : [hevc @ 0x561c73465400] PPS id out of range: 0
2025-03-04 08:18:34.244050588 [2025-03-04 09:18:34] ffmpeg.entree.detect ERROR : Last message repeated 1 times
2025-03-04 08:18:34.244052218 [2025-03-04 09:18:34] ffmpeg.entree.detect ERROR : [hevc @ 0x561c73465400] Error parsing NAL unit #0.
2025-03-04 08:18:34.244066285 [2025-03-04 09:18:34] ffmpeg.entree.detect ERROR : [hevc @ 0x561c73465400] PPS id out of range: 0
2025-03-04 08:18:34.244067823 [2025-03-04 09:18:34] ffmpeg.entree.detect ERROR : Last message repeated 1 times
2025-03-04 08:18:34.244069402 [2025-03-04 09:18:34] ffmpeg.entree.detect ERROR : [hevc @ 0x561c73465400] Error parsing NAL unit #0.
2025-03-04 08:18:34.244070841 [2025-03-04 09:18:34] ffmpeg.entree.detect ERROR : [hevc @ 0x561c73465400] PPS id out of range: 0
2025-03-04 08:18:34.244085982 [2025-03-04 09:18:34] ffmpeg.entree.detect ERROR : Last message repeated 1 times
2025-03-04 08:18:34.244087568 [2025-03-04 09:18:34] ffmpeg.entree.detect ERROR : [hevc @ 0x561c73465400] Error parsing NAL unit #0.
2025-03-04 08:18:34.244089158 [2025-03-04 09:18:34] ffmpeg.entree.detect ERROR : [hevc @ 0x561c73465400] PPS id out of range: 0
2025-03-04 08:18:34.244090555 [2025-03-04 09:18:34] ffmpeg.entree.detect ERROR : Last message repeated 1 times
La clé Coral a bien l’air d’être détectée correctement.
Pouvez vous me dire ce qui ne va pas svp ?
Merci pour votre aide!