@Cloom Oui, quand j’ai redémarré le module complémentaire Frigate, une des deux caméras, la caméra nommée « cuisine » était éteinte. Mais la caméra du salon était allumée. Le problème est surtout que ne module ne démarre pas.
Peut-être dois-je rééditer la demande d’aide avec les deux caméras bien allumées ?
Merci
Quand quelque chose ne fonctionne pas, faut partir avec le fichier de config le plus simple pour savoir si ça vient de la config ou de l’outil :
mqtt:
enabled: False
cameras:
dummy_camera: # <--- this will be changed to your actual camera later
enabled: False
ffmpeg:
inputs:
- path: rtsp://127.0.0.1:554/rtsp
roles:
- detect
Et attention tu as 2 roles qui n’existent plus dans ta config: clips et rtmp, il y a seulement 4 rôles d’après la Doc: detect, record et audio
Source: Camera Configuration | Frigate
jai reconfig au plus simple, j ai donc mis le code ;
mqtt:
enabled: False
cameras:
dummy_camera: # <--- this will be changed to your actual camera later
enabled: False
ffmpeg:
inputs:
- path: rtsp://127.0.0.1:554/rtsp
roles:
- detect
ca ne demarre pas et voici le log
2024-02-08 11:55:42.827254445 [2024-02-08 12:55:42] watchdog.cam_salon ERROR : Ffmpeg process crashed unexpectedly for cam_salon.
2024-02-08 11:55:42.827848106 [2024-02-08 12:55:42] watchdog.cam_salon ERROR : The following ffmpeg logs include the last 100 lines prior to exit.
2024-02-08 11:55:42.827862624 [2024-02-08 12:55:42] ffmpeg.cam_salon.detect ERROR : [tcp @ 0x55c35dae60] Connection to tcp://192.168.1.33:554?timeout=5000000 failed: No route to host
2024-02-08 11:55:42.828369527 [2024-02-08 12:55:42] ffmpeg.cam_salon.detect ERROR : rtsp://*:*@192.168.1.33:554/cam/realmonitor?channel=1&subtype=0: No route to host
2024-02-08 11:55:46.353943137 [2024-02-08 12:55:46] frigate.video ERROR : cam_salon: Unable to read frames from ffmpeg process.
2024-02-08 11:55:46.354661094 [2024-02-08 12:55:46] frigate.video ERROR : cam_salon: ffmpeg process is not running. exiting capture thread...
2024-02-08 11:55:52.878464716 [2024-02-08 12:55:52] watchdog.cam_salon ERROR : Ffmpeg process crashed unexpectedly for cam_salon.
2024-02-08 11:55:52.878478049 [2024-02-08 12:55:52] watchdog.cam_salon ERROR : The following ffmpeg logs include the last 100 lines prior to exit.
2024-02-08 11:55:52.878482882 [2024-02-08 12:55:52] ffmpeg.cam_salon.detect ERROR : [tcp @ 0x5573558e60] Connection to tcp://192.168.1.33:554?timeout=5000000 failed: No route to host
2024-02-08 11:55:52.878487252 [2024-02-08 12:55:52] ffmpeg.cam_salon.detect ERROR : rtsp://*:*@192.168.1.33:554/cam/realmonitor?channel=1&subtype=0: No route to host
2024-02-08 11:55:56.432161667 [2024-02-08 12:55:56] frigate.video ERROR : cam_salon: Unable to read frames from ffmpeg process.
2024-02-08 11:55:56.433156676 [2024-02-08 12:55:56] frigate.video ERROR : cam_salon: ffmpeg process is not running. exiting capture thread...
2024-02-08 11:56:02.922884790 [2024-02-08 12:56:02] watchdog.cam_salon ERROR : Ffmpeg process crashed unexpectedly for cam_salon.
2024-02-08 11:56:02.924003002 [2024-02-08 12:56:02] watchdog.cam_salon ERROR : The following ffmpeg logs include the last 100 lines prior to exit.
2024-02-08 11:56:02.925536821 [2024-02-08 12:56:02] ffmpeg.cam_salon.detect ERROR : [tcp @ 0x559a484e60] Connection to tcp://192.168.1.33:554?timeout=5000000 failed: No route to host
2024-02-08 11:56:02.926603811 [2024-02-08 12:56:02] ffmpeg.cam_salon.detect ERROR : rtsp://*:*@192.168.1.33:554/cam/realmonitor?channel=1&subtype=0: No route to host
2024-02-08 11:56:05.179190775 [2024-02-08 12:56:05] frigate.video ERROR : cam_salon: Unable to read frames from ffmpeg process.
2024-02-08 11:56:05.179875490 [2024-02-08 12:56:05] frigate.video ERROR : cam_salon: ffmpeg process is not running. exiting capture thread...
2024-02-08 11:56:12.978460741 [2024-02-08 12:56:12] watchdog.cam_salon ERROR : Ffmpeg process crashed unexpectedly for cam_salon.
2024-02-08 11:56:12.978476593 [2024-02-08 12:56:12] watchdog.cam_salon ERROR : The following ffmpeg logs include the last 100 lines prior to exit.
2024-02-08 11:56:12.978481389 [2024-02-08 12:56:12] ffmpeg.cam_salon.detect ERROR : [tcp @ 0x5596ad2e60] Connection to tcp://192.168.1.33:554?timeout=5000000 failed: No route to host
2024-02-08 11:56:12.978485815 [2024-02-08 12:56:12] ffmpeg.cam_salon.detect ERROR : rtsp://*:*@192.168.1.33:554/cam/realmonitor?channel=1&subtype=0: No route to host
2024-02-08 11:56:16.550640913 [2024-02-08 12:56:16] frigate.video ERROR : cam_salon: Unable to read frames from ffmpeg process.
2024-02-08 11:56:16.550657135 [2024-02-08 12:56:16] frigate.video ERROR : cam_salon: ffmpeg process is not running. exiting capture thread...
2024-02-08 11:56:23.029928472 [2024-02-08 12:56:23] watchdog.cam_salon ERROR : Ffmpeg process crashed unexpectedly for cam_salon.
2024-02-08 11:56:23.030683983 [2024-02-08 12:56:23] watchdog.cam_salon ERROR : The following ffmpeg logs include the last 100 lines prior to exit.
2024-02-08 11:56:23.032105322 [2024-02-08 12:56:23] ffmpeg.cam_salon.detect ERROR : [tcp @ 0x55bc5cbe60] Connection to tcp://192.168.1.33:554?timeout=5000000 failed: No route to host
2024-02-08 11:56:23.032117951 [2024-02-08 12:56:23] ffmpeg.cam_salon.detect ERROR : rtsp://*:*@192.168.1.33:554/cam/realmonitor?channel=1&subtype=0: No route to host
2024-02-08 11:56:26.582360804 [2024-02-08 12:56:26] frigate.video ERROR : cam_salon: Unable to read frames from ffmpeg process.
2024-02-08 11:56:26.588284674 [2024-02-08 12:56:26] frigate.video ERROR : cam_salon: Unable to read frames from ffmpeg process.
2024-02-08 11:56:26.588298322 [2024-02-08 12:56:26] frigate.video ERROR : cam_salon: Unable to read frames from ffmpeg process.
2024-02-08 11:56:26.590560893 [2024-02-08 12:56:26] frigate.video ERROR : cam_salon: Unable to read frames from ffmpeg process.
2024-02-08 11:56:26.592722540 [2024-02-08 12:56:26] frigate.video ERROR : cam_salon: Unable to read frames from ffmpeg process.
2024-02-08 11:56:26.595597957 [2024-02-08 12:56:26] frigate.video ERROR : cam_salon: ffmpeg process is not running. exiting capture thread...
2024-02-08 11:56:33.086413396 [2024-02-08 12:56:33] watchdog.cam_salon ERROR : Ffmpeg process crashed unexpectedly for cam_salon.
2024-02-08 11:56:33.089504997 [2024-02-08 12:56:33] watchdog.cam_salon ERROR : The following ffmpeg logs include the last 100 lines prior to exit.
2024-02-08 11:56:33.091103834 [2024-02-08 12:56:33] ffmpeg.cam_salon.detect ERROR : [tcp @ 0x5596b30e60] Connection to tcp://192.168.1.33:554?timeout=5000000 failed: No route to host
2024-02-08 11:56:33.091723420 [2024-02-08 12:56:33] ffmpeg.cam_salon.detect ERROR : rtsp://*:*@192.168.1.33:554/cam/realmonitor?channel=1&subtype=0: No route to host
2024-02-08 11:56:36.630508115 [2024-02-08 12:56:36] frigate.video ERROR : cam_salon: Unable to read frames from ffmpeg process.
2024-02-08 11:56:36.631259608 [2024-02-08 12:56:36] frigate.video ERROR : cam_salon: ffmpeg process is not running. exiting capture thread...
2024-02-08 11:56:43.144914469 [2024-02-08 12:56:43] watchdog.cam_salon ERROR : Ffmpeg process crashed unexpectedly for cam_salon.
2024-02-08 11:56:43.147047949 [2024-02-08 12:56:43] watchdog.cam_salon ERROR : The following ffmpeg logs include the last 100 lines prior to exit.
2024-02-08 11:56:43.147062597 [2024-02-08 12:56:43] ffmpeg.cam_salon.detect ERROR : [tcp @ 0x55cae89e60] Connection to tcp://192.168.1.33:554?timeout=5000000 failed: No route to host
2024-02-08 11:56:43.147067060 [2024-02-08 12:56:43] ffmpeg.cam_salon.detect ERROR : rtsp://*:*@192.168.1.33:554/cam/realmonitor?channel=1&subtype=0: No route to host
2024-02-08 11:56:46.709948393 [2024-02-08 12:56:46] frigate.video ERROR : cam_salon: Unable to read frames from ffmpeg process.
2024-02-08 11:56:46.711538230 [2024-02-08 12:56:46] frigate.video ERROR : cam_salon: Unable to read frames from ffmpeg process.
2024-02-08 11:56:46.714491591 [2024-02-08 12:56:46] frigate.video ERROR : cam_salon: ffmpeg process is not running. exiting capture thread...
2024-02-08 11:56:53.193190380 [2024-02-08 12:56:53] watchdog.cam_salon ERROR : Ffmpeg process crashed unexpectedly for cam_salon.
2024-02-08 11:56:53.194018521 [2024-02-08 12:56:53] watchdog.cam_salon ERROR : The following ffmpeg logs include the last 100 lines prior to exit.
2024-02-08 11:56:53.195289749 [2024-02-08 12:56:53] ffmpeg.cam_salon.detect ERROR : [tcp @ 0x558be1ae60] Connection to tcp://192.168.1.33:554?timeout=5000000 failed: No route to host
2024-02-08 11:56:53.195310564 [2024-02-08 12:56:53] ffmpeg.cam_salon.detect ERROR : rtsp://*:*@192.168.1.33:554/cam/realmonitor?channel=1&subtype=0: No route to host
2024-02-08 11:56:56.750585795 [2024-02-08 12:56:56] frigate.video ERROR : cam_salon: Unable to read frames from ffmpeg process.
2024-02-08 11:56:56.751910357 [2024-02-08 12:56:56] frigate.video ERROR : cam_salon: Unable to read frames from ffmpeg process.
2024-02-08 11:56:56.752804071 [2024-02-08 12:56:56] frigate.video ERROR : cam_salon: ffmpeg process is not running. exiting capture thread...
2024-02-08 11:57:03.256789241 [2024-02-08 12:57:03] watchdog.cam_salon ERROR : Ffmpeg process crashed unexpectedly for cam_salon.
2024-02-08 11:57:03.259374273 [2024-02-08 12:57:03] watchdog.cam_salon ERROR : The following ffmpeg logs include the last 100 lines prior to exit.
2024-02-08 11:57:03.261059331 [2024-02-08 12:57:03] ffmpeg.cam_salon.detect ERROR : [tcp @ 0x55a6cd6e60] Connection to tcp://192.168.1.33:554?timeout=5000000 failed: No route to host
2024-02-08 11:57:03.262803629 [2024-02-08 12:57:03] ffmpeg.cam_salon.detect ERROR : rtsp://*:*@192.168.1.33:554/cam/realmonitor?channel=1&subtype=0: No route to host
2024-02-08 11:57:06.804220022 [2024-02-08 12:57:06] frigate.video ERROR : cam_salon: Unable to read frames from ffmpeg process.
2024-02-08 11:57:06.805922043 [2024-02-08 12:57:06] frigate.video ERROR : cam_salon: Unable to read frames from ffmpeg process.
2024-02-08 11:57:06.807257475 [2024-02-08 12:57:06] frigate.video ERROR : cam_salon: ffmpeg process is not running. exiting capture thread...
2024-02-08 11:57:13.310144330 [2024-02-08 12:57:13] watchdog.cam_salon ERROR : Ffmpeg process crashed unexpectedly for cam_salon.
2024-02-08 11:57:13.311893332 [2024-02-08 12:57:13] watchdog.cam_salon ERROR : The following ffmpeg logs include the last 100 lines prior to exit.
2024-02-08 11:57:13.311911610 [2024-02-08 12:57:13] ffmpeg.cam_salon.detect ERROR : [tcp @ 0x558e491e60] Connection to tcp://192.168.1.33:554?timeout=5000000 failed: No route to host
2024-02-08 11:57:13.311916073 [2024-02-08 12:57:13] ffmpeg.cam_salon.detect ERROR : rtsp://*:*@192.168.1.33:554/cam/realmonitor?channel=1&subtype=0: No route to host
2024-02-08 11:57:16.859262737 [2024-02-08 12:57:16] frigate.video ERROR : cam_salon: Unable to read frames from ffmpeg process.
2024-02-08 11:57:16.859276292 [2024-02-08 12:57:16] frigate.video ERROR : cam_salon: Unable to read frames from ffmpeg process.
2024-02-08 11:57:16.859280626 [2024-02-08 12:57:16] frigate.video ERROR : cam_salon: ffmpeg process is not running. exiting capture thread...
2024-02-08 11:57:23.360977870 [2024-02-08 12:57:23] watchdog.cam_salon ERROR : Ffmpeg process crashed unexpectedly for cam_salon.
2024-02-08 11:57:23.360998259 [2024-02-08 12:57:23] watchdog.cam_salon ERROR : The following ffmpeg logs include the last 100 lines prior to exit.
2024-02-08 11:57:23.361007185 [2024-02-08 12:57:23] ffmpeg.cam_salon.detect ERROR : [tcp @ 0x55a537de60] Connection to tcp://192.168.1.33:554?timeout=5000000 failed: No route to host
2024-02-08 11:57:23.361015278 [2024-02-08 12:57:23] ffmpeg.cam_salon.detect ERROR : rtsp://*:*@192.168.1.33:554/cam/realmonitor?channel=1&subtype=0: No route to host
2024-02-08 11:57:26.902765452 [2024-02-08 12:57:26] frigate.video ERROR : cam_salon: Unable to read frames from ffmpeg process.
2024-02-08 11:57:26.904986135 [2024-02-08 12:57:26] frigate.video ERROR : cam_salon: Unable to read frames from ffmpeg process.
2024-02-08 11:57:26.905000875 [2024-02-08 12:57:26] frigate.video ERROR : cam_salon: ffmpeg process is not running. exiting capture thread...
2024-02-08 11:57:33.415915653 [2024-02-08 12:57:33] watchdog.cam_salon ERROR : Ffmpeg process crashed unexpectedly for cam_salon.
2024-02-08 11:57:33.418259612 [2024-02-08 12:57:33] watchdog.cam_salon ERROR : The following ffmpeg logs include the last 100 lines prior to exit.
2024-02-08 11:57:33.419766320 [2024-02-08 12:57:33] ffmpeg.cam_salon.detect ERROR : [tcp @ 0x5561195e60] Connection to tcp://192.168.1.33:554?timeout=5000000 failed: No route to host
2024-02-08 11:57:33.419783153 [2024-02-08 12:57:33] ffmpeg.cam_salon.detect ERROR : rtsp://*:*@192.168.1.33:554/cam/realmonitor?channel=1&subtype=0: No route to host
2024-02-08 11:57:36.946861460 [2024-02-08 12:57:36] frigate.video ERROR : cam_salon: Unable to read frames from ffmpeg process.
2024-02-08 11:57:36.946876108 [2024-02-08 12:57:36] frigate.video ERROR : cam_salon: ffmpeg process is not running. exiting capture thread...
2024-02-08 11:57:43.465479784 [2024-02-08 12:57:43] watchdog.cam_salon ERROR : Ffmpeg process crashed unexpectedly for cam_salon.
2024-02-08 11:57:43.465493729 [2024-02-08 12:57:43] watchdog.cam_salon ERROR : The following ffmpeg logs include the last 100 lines prior to exit.
2024-02-08 11:57:43.466078223 [2024-02-08 12:57:43] ffmpeg.cam_salon.detect ERROR : [tcp @ 0x55b92b8e60] Connection to tcp://192.168.1.33:554?timeout=5000000 failed: No route to host
2024-02-08 11:57:43.467044992 [2024-02-08 12:57:43] ffmpeg.cam_salon.detect ERROR : rtsp://*:*@192.168.1.33:554/cam/realmonitor?channel=1&subtype=0: No route to host
2024-02-08 11:57:46.995516465 [2024-02-08 12:57:46] frigate.video ERROR : cam_salon: Unable to read frames from ffmpeg process.
2024-02-08 11:57:46.995529668 [2024-02-08 12:57:46] frigate.video ERROR : cam_salon: ffmpeg process is not running. exiting capture thread...
2024-02-08 11:57:53.513590562 [2024-02-08 12:57:53] watchdog.cam_salon ERROR : Ffmpeg process crashed unexpectedly for cam_salon.
2024-02-08 11:57:53.517464081 [2024-02-08 12:57:53] watchdog.cam_salon ERROR : The following ffmpeg logs include the last 100 lines prior to exit.
2024-02-08 11:57:53.517484915 [2024-02-08 12:57:53] ffmpeg.cam_salon.detect ERROR : [tcp @ 0x55aeaa0e60] Connection to tcp://192.168.1.33:554?timeout=5000000 failed: No route to host
2024-02-08 11:57:53.517491785 [2024-02-08 12:57:53] ffmpeg.cam_salon.detect ERROR : rtsp://*:*@192.168.1.33:554/cam/realmonitor?channel=1&subtype=0: No route to host
2024-02-08 11:57:57.045570812 [2024-02-08 12:57:57] frigate.video ERROR : cam_salon: Unable to read frames from ffmpeg process.
2024-02-08 11:57:57.046460841 [2024-02-08 12:57:57] frigate.video ERROR : cam_salon: ffmpeg process is not running. exiting capture thread...
2024-02-08 11:58:03.567603010 [2024-02-08 12:58:03] watchdog.cam_salon ERROR : Ffmpeg process crashed unexpectedly for cam_salon.
2024-02-08 11:58:03.569516881 [2024-02-08 12:58:03] watchdog.cam_salon ERROR : The following ffmpeg logs include the last 100 lines prior to exit.
2024-02-08 11:58:03.569530474 [2024-02-08 12:58:03] ffmpeg.cam_salon.detect ERROR : [tcp @ 0x55b1166e60] Connection to tcp://192.168.1.33:554?timeout=5000000 failed: No route to host
2024-02-08 11:58:03.569535011 [2024-02-08 12:58:03] ffmpeg.cam_salon.detect ERROR : rtsp://*:*@192.168.1.33:554/cam/realmonitor?channel=1&subtype=0: No route to host
2024-02-08 11:58:07.252241783 [2024-02-08 12:58:07] frigate.video ERROR : cam_salon: Unable to read frames from ffmpeg process.
2024-02-08 11:58:07.260997052 [2024-02-08 12:58:07] frigate.video ERROR : cam_salon: Unable to read frames from ffmpeg process.
2024-02-08 11:58:07.261032182 [2024-02-08 12:58:07] frigate.video ERROR : cam_salon: ffmpeg process is not running. exiting capture thread...
Alors j’ai desinstalé frigate puis redemarré puis reinstallé , avec la config de base minimaliste : Aucun pb !
du coup j’ai remis mon code de depart en corrigeant les Roles
et voici le log
s6-rc: info: service s6rc-fdholder: starting
s6-rc: info: service s6rc-oneshot-runner: starting
s6-rc: info: service s6rc-oneshot-runner successfully started
s6-rc: info: service fix-attrs: starting
s6-rc: info: service s6rc-fdholder successfully started
s6-rc: info: service fix-attrs successfully started
s6-rc: info: service legacy-cont-init: starting
s6-rc: info: service legacy-cont-init successfully started
s6-rc: info: service log-prepare: starting
s6-rc: info: service log-prepare successfully started
s6-rc: info: service nginx-log: starting
s6-rc: info: service go2rtc-log: starting
s6-rc: info: service frigate-log: starting
s6-rc: info: service nginx-log successfully started
s6-rc: info: service frigate-log successfully started
s6-rc: info: service go2rtc-log successfully started
s6-rc: info: service go2rtc: starting
s6-rc: info: service go2rtc successfully started
s6-rc: info: service go2rtc-healthcheck: starting
s6-rc: info: service frigate: starting
s6-rc: info: service frigate successfully started
s6-rc: info: service nginx: starting
s6-rc: info: service go2rtc-healthcheck successfully started
s6-rc: info: service nginx successfully started
s6-rc: info: service legacy-services: starting
2024-02-08 14:02:31.595153867 [INFO] Preparing Frigate...
2024-02-08 14:02:31.609553985 [INFO] Starting NGINX...
s6-rc: info: service legacy-services successfully started
2024-02-08 14:02:33.109392053 [INFO] Starting Frigate...
2024-02-08 14:02:33.110421376 [INFO] Preparing new go2rtc config...
2024-02-08 14:02:33.390635436 [INFO] Got IP address from supervisor: 192.168.1.32
2024-02-08 14:02:33.538400521 [INFO] Got WebRTC port from supervisor: 8555
2024-02-08 14:02:36.347384927 [INFO] Starting go2rtc...
2024-02-08 14:02:36.587611881 15:02:36.586 INF go2rtc version 1.8.4 linux/arm64
2024-02-08 14:02:36.596762439 15:02:36.593 INF [api] listen addr=:1984
2024-02-08 14:02:36.596774180 15:02:36.594 INF [rtsp] listen addr=:8554
2024-02-08 14:02:36.596786235 15:02:36.595 INF [webrtc] listen addr=:8555
2024-02-08 14:02:41.640252267 [INFO] Starting go2rtc healthcheck service...
2024-02-08 14:02:44.606816273 [2024-02-08 15:02:44] frigate.app INFO : Starting Frigate (0.13.1-34fb1c2)
2024-02-08 14:02:44.607243491 [2024-02-08 15:02:44] frigate.app INFO : Creating directory: /tmp/cache
2024-02-08 14:02:44.760637780 [2024-02-08 15:02:44] peewee_migrate.logs INFO : Starting migrations
2024-02-08 14:02:44.824995667 [2024-02-08 15:02:44] peewee_migrate.logs INFO : There is nothing to migrate
2024-02-08 14:02:44.849184522 [2024-02-08 15:02:44] frigate.app INFO : Recording process started: 309
2024-02-08 14:02:44.861268088 [2024-02-08 15:02:44] frigate.app INFO : go2rtc process pid: 89
2024-02-08 14:02:44.988829650 [2024-02-08 15:02:44] frigate.app INFO : Output process started: 320
2024-02-08 14:02:45.004826122 [2024-02-08 15:02:44] detector.cpu INFO : Starting detection process: 319
2024-02-08 14:02:45.109844202 [2024-02-08 15:02:45] frigate.detectors WARNING : CPU detectors are not recommended and should only be used for testing or for trial purposes.
2024-02-08 14:02:45.173041766 [2024-02-08 15:02:45] frigate.app INFO : Camera processor started for cam_salon: 328
2024-02-08 14:02:45.357170014 [2024-02-08 15:02:45] frigate.app INFO : Camera processor started for cam_cuisine: 336
2024-02-08 14:02:45.361829616 [2024-02-08 15:02:45] frigate.app INFO : Capture process started for cam_salon: 338
2024-02-08 14:02:45.413669829 [2024-02-08 15:02:45] frigate.app INFO : Capture process started for cam_cuisine: 341
2024-02-08 14:02:49.818653460 [2024-02-08 15:02:49] frigate.video ERROR : cam_salon: Unable to read frames from ffmpeg process.
2024-02-08 14:02:49.819723357 [2024-02-08 15:02:49] frigate.video ERROR : cam_salon: ffmpeg process is not running. exiting capture thread...
2024-02-08 14:02:54.151120911 172.30.32.1 - - [08/Feb/2024:15:02:54 +0100] "GET /api/events/1707400968.092183-e959pg/thumbnail.jpg?format=android HTTP/1.1" 200 6725 "-" "Home Assistant/2024.2.1-12168 (Android 13; ONEPLUS A5000)" "192.168.1.254"
2024-02-08 14:02:56.508174019 172.30.32.1 - - [08/Feb/2024:15:02:56 +0100] "GET /api/events/1707400968.092183-e959pg/thumbnail.jpg?format=android HTTP/1.1" 200 6725 "-" "Home Assistant/2024.2.1-12168 (Android 13; ONEPLUS A5000)" "192.168.1.254"
2024-02-08 14:03:05.621001029 [2024-02-08 15:03:05] watchdog.cam_salon ERROR : Ffmpeg process crashed unexpectedly for cam_salon.
2024-02-08 14:03:05.626454254 [2024-02-08 15:03:05] watchdog.cam_salon ERROR : The following ffmpeg logs include the last 100 lines prior to exit.
2024-02-08 14:03:05.627593298 [2024-02-08 15:03:05] ffmpeg.cam_salon.detect ERROR : [tcp @ 0x55634e6e60] Connection to tcp://192.168.1.33:554?timeout=5000000 failed: No route to host
2024-02-08 14:03:05.627796592 [2024-02-08 15:03:05] ffmpeg.cam_salon.detect ERROR : rtsp://*:*@192.168.1.33:554/cam/realmonitor?channel=1&subtype=0: No route to host
2024-02-08 14:03:09.658760902 [2024-02-08 15:03:09] frigate.video ERROR : cam_salon: Unable to read frames from ffmpeg process.
2024-02-08 14:03:09.659897205 [2024-02-08 15:03:09] frigate.video ERROR : cam_salon: Unable to read frames from ffmpeg process.
2024-02-08 14:03:09.662218016 [2024-02-08 15:03:09] frigate.video ERROR : cam_salon: Unable to read frames from ffmpeg process.
2024-02-08 14:03:09.663264246 [2024-02-08 15:03:09] frigate.video ERROR : cam_salon: Unable to read frames from ffmpeg process.
2024-02-08 14:03:09.665014785 [2024-02-08 15:03:09] frigate.video ERROR : cam_salon: Unable to read frames from ffmpeg process.
2024-02-08 14:03:09.666421438 [2024-02-08 15:03:09] frigate.video ERROR : cam_salon: ffmpeg process is not running. exiting capture thread...
et cest trop bizzar, il n’y a que la cam "cuisine"qui steam correctement , la cam Salon ne fonctionne pas (ne stream pas)
Pourtant cam salon fonctionne bien sur l’appli native imoulife
Bon je vous embête encore un petit peu…
En fait c’était une de configuration de la cam salon, elle avait changee d IP.
J ai corrigé, ça stream nickel
Mais lorsque je clique sur la barre latérale, y pas la page frigate…
Log module complementaire
s6-rc: info: service s6rc-fdholder: starting
s6-rc: info: service s6rc-oneshot-runner: starting
s6-rc: info: service s6rc-oneshot-runner successfully started
s6-rc: info: service fix-attrs: starting
s6-rc: info: service s6rc-fdholder successfully started
s6-rc: info: service fix-attrs successfully started
s6-rc: info: service legacy-cont-init: starting
s6-rc: info: service legacy-cont-init successfully started
s6-rc: info: service log-prepare: starting
s6-rc: info: service log-prepare successfully started
s6-rc: info: service nginx-log: starting
s6-rc: info: service go2rtc-log: starting
s6-rc: info: service frigate-log: starting
s6-rc: info: service go2rtc-log successfully started
s6-rc: info: service go2rtc: starting
s6-rc: info: service nginx-log successfully started
s6-rc: info: service frigate-log successfully started
s6-rc: info: service go2rtc successfully started
s6-rc: info: service go2rtc-healthcheck: starting
s6-rc: info: service frigate: starting
s6-rc: info: service go2rtc-healthcheck successfully started
s6-rc: info: service frigate successfully started
s6-rc: info: service nginx: starting
s6-rc: info: service nginx successfully started
s6-rc: info: service legacy-services: starting
2024-02-08 20:22:05.792413536 [INFO] Starting NGINX...
2024-02-08 20:22:05.783400551 [INFO] Preparing Frigate...
s6-rc: info: service legacy-services successfully started
2024-02-08 20:22:07.337507006 [INFO] Preparing new go2rtc config...
2024-02-08 20:22:07.340391533 [INFO] Starting Frigate...
2024-02-08 20:22:07.611168440 [INFO] Got IP address from supervisor: 192.168.1.32
2024-02-08 20:22:07.754056041 [INFO] Got WebRTC port from supervisor: 8555
2024-02-08 20:22:10.728328309 [INFO] Starting go2rtc...
2024-02-08 20:22:10.983847922 21:22:10.982 INF go2rtc version 1.8.4 linux/arm64
2024-02-08 20:22:10.986016659 21:22:10.985 INF [rtsp] listen addr=:8554
2024-02-08 20:22:10.986031159 21:22:10.985 INF [api] listen addr=:1984
2024-02-08 20:22:10.987785234 21:22:10.987 INF [webrtc] listen addr=:8555
2024-02-08 20:22:15.796418617 [INFO] Starting go2rtc healthcheck service...
2024-02-08 20:22:18.306202827 [2024-02-08 21:22:18] frigate.app INFO : Starting Frigate (0.13.1-34fb1c2)
2024-02-08 20:22:18.307286742 [2024-02-08 21:22:18] frigate.app INFO : Creating directory: /tmp/cache
2024-02-08 20:22:18.599053234 [2024-02-08 21:22:18] peewee_migrate.logs INFO : Starting migrations
2024-02-08 20:22:18.667508443 [2024-02-08 21:22:18] peewee_migrate.logs INFO : There is nothing to migrate
2024-02-08 20:22:18.689727889 [2024-02-08 21:22:18] frigate.app INFO : Recording process started: 310
2024-02-08 20:22:18.702904740 [2024-02-08 21:22:18] frigate.app INFO : go2rtc process pid: 86
2024-02-08 20:22:18.857229041 [2024-02-08 21:22:18] detector.cpu INFO : Starting detection process: 320
2024-02-08 20:22:18.864465598 [2024-02-08 21:22:18] frigate.app INFO : Output process started: 322
2024-02-08 20:22:19.267635835 [2024-02-08 21:22:18] frigate.detectors WARNING : CPU detectors are not recommended and should only be used for testing or for trial purposes.
2024-02-08 20:22:19.379560242 [2024-02-08 21:22:19] frigate.app INFO : Camera processor started for cam_salon: 336
2024-02-08 20:22:19.402836641 [2024-02-08 21:22:19] frigate.app INFO : Camera processor started for cam_cuisine: 337
2024-02-08 20:22:19.449400086 [2024-02-08 21:22:19] frigate.app INFO : Capture process started for cam_salon: 338
2024-02-08 20:22:19.504237893 [2024-02-08 21:22:19] frigate.app INFO : Capture process started for cam_cuisine: 341
2024-02-08 20:22:50.135894480 21:22:50.135 ERR github.com/AlexxIT/go2rtc/internal/mjpeg/init.go:166 > error="streams: dial tcp 192.168.1.33:554: i/o timeout"
2024-02-08 20:22:58.267669099 172.30.32.1 - - [08/Feb/2024:21:22:58 +0100] "GET /api/config HTTP/1.1" 200 11880 "-" "HomeAssistant/2024.2.0 aiohttp/3.9.3 Python/3.12" "-"
2024-02-08 20:23:55.225054448 172.30.32.1 - - [08/Feb/2024:21:23:55 +0100] "GET /api/events/1707423753.686675-g0z91t/thumbnail.jpg?format=android HTTP/1.1" 200 7943 "-" "Home Assistant/2024.2.1-12168 (Android 13; ONEPLUS A5000)" "192.168.1.254"
2024-02-08 20:27:21.903245200 172.30.32.1 - - [08/Feb/2024:21:27:21 +0100] "GET /api/events/1707423758.705982-76t96d/thumbnail.jpg?format=android HTTP/1.1" 200 6064 "-" "Home Assistant/2024.2.1-12168 (Android 13; ONEPLUS A5000)" "192.168.1.254"
2024-02-08 20:27:21.939823662 172.30.32.1 - - [08/Feb/2024:21:27:21 +0100] "GET /api/events/1707423758.705982-76t96d/thumbnail.jpg?format=android HTTP/1.1" 200 6064 "-" "Home Assistant/2024.2.1-12168 (Android 13; ONEPLUS A5000)" "192.168.1.254"
2024-02-08 20:28:37.625662322 21:28:37.625 ERR github.com/AlexxIT/go2rtc/internal/mjpeg/init.go:166 > error="streams: dial tcp 192.168.1.33:554: i/o timeout"
2024-02-08 20:29:45.458684923 21:29:45.458 ERR github.com/AlexxIT/go2rtc/internal/mjpeg/init.go:166 > error="streams: dial tcp 192.168.1.33:554: i/o timeout"
2024-02-08 20:30:05.015490073 21:30:05.014 ERR github.com/AlexxIT/go2rtc/internal/mjpeg/init.go:166 > error="streams: dial tcp 192.168.1.33:554: i/o timeout"
2024-02-08 20:35:10.375314953 21:35:10.374 WRN github.com/AlexxIT/go2rtc/internal/streams/producer.go:171 > error="read tcp 172.30.33.10:55518->192.168.1.31:554: i/o timeout" url=rtsp://admin:L2F777F0@192.168.1.31:554/cam/realmonitor?channel=1&subtype=0
2024-02-08 20:35:39.018915774 [h264 @ 0x7f6c113430] cabac decode of qscale diff failed at 136 59
2024-02-08 20:35:39.019105457 [h264 @ 0x7f6c113430] error while decoding MB 136 59, bytestream 0
2024-02-08 20:35:39.675623729 [2024-02-08 21:35:39] watchdog.cam_salon INFO : No frames received from cam_salon in 20 seconds. Exiting ffmpeg...
2024-02-08 20:35:39.686248971 [2024-02-08 21:35:39] watchdog.cam_salon INFO : Waiting for ffmpeg to exit gracefully...
2024-02-08 20:35:39.796131802 [2024-02-08 21:35:39] frigate.video ERROR : cam_salon: Unable to read frames from ffmpeg process.
2024-02-08 20:35:39.800092742 [2024-02-08 21:35:39] frigate.video ERROR : cam_salon: ffmpeg process is not running. exiting capture thread...
2024-02-08 20:35:49.837123054 [2024-02-08 21:35:49] watchdog.cam_salon ERROR : Ffmpeg process crashed unexpectedly for cam_salon.
2024-02-08 20:35:49.837954897 [2024-02-08 21:35:49] watchdog.cam_salon ERROR : The following ffmpeg logs include the last 100 lines prior to exit.
2024-02-08 20:35:49.841017625 [2024-02-08 21:35:49] ffmpeg.cam_salon.detect ERROR : [h264 @ 0x559a7ae130] cabac decode of qscale diff failed at 136 59
2024-02-08 20:35:49.841629748 [2024-02-08 21:35:49] ffmpeg.cam_salon.detect ERROR : [h264 @ 0x559a7ae130] error while decoding MB 136 59, bytestream 0
2024-02-08 20:35:49.843501470 [2024-02-08 21:35:49] ffmpeg.cam_salon.detect ERROR : rtsp://*:*@192.168.1.31:554/cam/realmonitor?channel=1&subtype=0: corrupt decoded frame in stream 0
2024-02-08 20:35:49.848203051 [2024-02-08 21:35:49] ffmpeg.cam_salon.detect ERROR : [rtsp @ 0x559a73b290] CSeq 30 expected, 0 received.
2024-02-08 20:35:49.848228088 [2024-02-08 21:35:49] ffmpeg.cam_salon.detect ERROR : [segment @ 0x559a75b5b0] Timestamps are unset in a packet for stream 0. This is deprecated and will stop working in the future. Fix your code to set the timestamps properly
2024-02-08 20:39:27.732642234 172.30.32.1 - - [08/Feb/2024:21:39:27 +0100] "GET /api/events/1707423753.686675-g0z91t/thumbnail.jpg?format=android HTTP/1.1" 200 7631 "-" "Home Assistant/2024.2.1-12168 (Android 13; ONEPLUS A5000)" "192.168.1.254"
C’est un screenshot d’HA? Tu as le stream de tes caméras dans HA + dans frigate? Si c’est le cas il vaut mieux utiliser go2RTC et juste Frigate pour éviter d’avoir trop de connexions sur tes caméras. As-tu une intégration spécifique pour tes caméras?
Pour le démarrage et que ça tourne sans arrêt, le bouton démarrer c’est le même que celui dans les modules complémentaires. Et si ça tourne sans rien mettre il faut regarder les logs.
Tes logs ne disent pas que Frigate s’arrête mais qu’il y a des erreurs avec tes caméras.
Quand tu mets ça das VLC tu as bien le stream de ta caméra?
Salut
Alors en fait j’avais un bug de lads on frigate, il paraissait démarré, mais sur la dashboy il n’était pas démarré, j’ai débranché laissé 10 min éteint puis tout est rentré dans l’ordre
J ai voulu UP grader avec go2rtc, webtortc, un moment donné frigate ne voulais plus démarré car le port 8555 était utilisé ailleurs ( conflit avec go2rtc, car ça remarchait lorsque je désactivait go2)
Finalement j’ai installé frigate, réactiver gotoRTC et là tout a marché.
Voilà un petit backup !!!
Les caméras sont du coup beaucoup plus fluide
go2rtc est intégré dans Frigate, donc pas besoin d’en avoir un autre qui tourne à côté.
Pour le Raspberry Pi 4 tu peux utiliser Frigate mais pas la détection d’objet, ça va être trop intensif sur le CPU, pas un problème de RAM je pense. Par contre comme en temps que système de surveillance vidéo ça devrait aller.
Tu peux utiliser un Google Coral USB pour décharger le CPU de la détection.
Tu peux aussi aider Frigate à lire les flux avec le GPU intégré au Pi4 avec une ligne dans la config: