blakeblackshear / frigate

NVR with realtime local object detection for IP cameras
https://frigate.video
MIT License
18.46k stars 1.68k forks source link

[Config Support]: Help with setup #6289

Closed mmaaligema closed 1 year ago

mmaaligema commented 1 year ago

Describe the problem you are having

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 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-log successfully started 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 2023-04-27 15:20:47.617494179 [INFO] Preparing go2rtc config... 2023-04-27 15:20:47.624995309 [INFO] Starting NGINX... 2023-04-27 15:20:47.633683765 [INFO] Starting Frigate... s6-rc: info: service legacy-services successfully started 2023-04-27 15:20:47.825926723 [INFO] Got IP address from supervisor: 192.168.1.177 2023-04-27 15:20:48.020801065 [INFO] Got WebRTC port from supervisor: 8555 2023-04-27 15:20:49.014490183 [INFO] Starting go2rtc... 2023-04-27 15:20:49.268363283 17:20:49.267 INF go2rtc version 1.2.0 linux/arm64 2023-04-27 15:20:49.270193419 17:20:49.269 INF [api] listen addr=:1984 2023-04-27 15:20:49.271294027 17:20:49.270 INF [rtsp] listen addr=:8554 2023-04-27 15:20:49.272180605 17:20:49.271 INF [srtp] listen addr=:8443 2023-04-27 15:20:49.274572535 17:20:49.273 INF [webrtc] listen addr=:8555 2023-04-27 15:20:52.201812877 2023/04/27 17:20:52 [error] 136#136: *1 connect() failed (111: Connection refused) while connecting to upstream, client: 172.30.32.1, server: , request: "GET /api/stats HTTP/1.1", upstream: "http://127.0.0.1:5001/stats", host: "ccab4aaf-frigate:5000" 2023-04-27 15:20:52.202221955 172.30.32.1 - - [27/Apr/2023:17:20:52 +0200] "GET /api/stats HTTP/1.1" 502 157 "-" "HomeAssistant/2023.4.6 aiohttp/3.8.4 Python/3.10" "-" 2023-04-27 15:20:52.729073349 [2023-04-27 17:20:52] frigate.app INFO : Starting Frigate (0.12.0-da3e197) 2023-04-27 15:20:52.832061793 [2023-04-27 17:20:52] frigate.app INFO : Creating directory: /tmp/cache 2023-04-27 15:20:52.847420467 [2023-04-27 17:20:52] peewee_migrate INFO : Starting migrations 2023-04-27 15:20:52.861747365 [2023-04-27 17:20:52] peewee_migrate INFO : There is nothing to migrate 2023-04-27 15:20:52.953845970 [2023-04-27 17:20:52] detector.cpu INFO : Starting detection process: 299 2023-04-27 15:20:52.977789680 [2023-04-27 17:20:52] frigate.app INFO : Output process started: 301 2023-04-27 15:20:52.978054356 [2023-04-27 17:20:52] frigate.detectors WARNING : CPU detectors are not recommended and should only be used for testing or for trial purposes. 2023-04-27 15:20:53.003980363 [2023-04-27 17:20:52] frigate.app INFO : Camera processor started for olle: 304 2023-04-27 15:20:53.026293078 [2023-04-27 17:20:53] frigate.app INFO : Camera processor started for Innegarden: 306 2023-04-27 15:20:53.055943764 [2023-04-27 17:20:53] frigate.app INFO : Capture process started for olle: 307 2023-04-27 15:20:53.099535714 [2023-04-27 17:20:53] frigate.app INFO : Capture process started for Innegarden: 309 2023-04-27 15:20:57.590871526 [INFO] Starting go2rtc healthcheck service... 2023-04-27 15:21:00.804677489 172.30.32.1 - - [27/Apr/2023:17:21:00 +0200] "GET /api/stats HTTP/1.1" 200 2344 "-" "HomeAssistant/2023.4.6 aiohttp/3.8.4 Python/3.10" "-" 2023-04-27 15:21:08.843897625 172.30.32.1 - - [27/Apr/2023:17:21:08 +0200] "GET /api/stats HTTP/1.1" 200 2363 "-" "HomeAssistant/2023.4.6 aiohttp/3.8.4 Python/3.10" "-" 2023-04-27 15:21:16.782497670 172.30.32.1 - - [27/Apr/2023:17:21:16 +0200] "GET /api/stats HTTP/1.1" 200 2360 "-" "HomeAssistant/2023.4.6 aiohttp/3.8.4 Python/3.10" "-" 2023-04-27 15:21:24.952878641 172.30.32.1 - - [27/Apr/2023:17:21:24 +0200] "GET /api/stats HTTP/1.1" 200 2357 "-" "HomeAssistant/2023.4.6 aiohttp/3.8.4 Python/3.10" "-"

Version

Dont now

Frigate config file

mqtt:
  host: 192.168.1.xxx
  user: core-mosquitto
  password: password

cameras:
  olle:
    ffmpeg:
      output_args:
        record: -f segment -segment_time 10 -segment_format mp4 -reset_timestamps 1 -strftime 1 -c:v copy -tag:v hvc1 -bsf:v hevc_mp4toannexb -c:a aac
        rtmp: -c:v copy -c:a aac -f flv

      inputs:
        - path: rtsp://admin:Clarence4321@192.168.1.4:554/Streaming/Channels/101
          roles:
            - detect
            - record
            - clips
            - rtmp
    objects:
      track:
        - person
        - car
        - bicycle
        - cat
        - dog
  Innegarden:
    ffmpeg:
      output_args:
        record: -f segment -segment_time 10 -segment_format mp4 -reset_timestamps 1 -strftime 1 -c:v copy -tag:v hvc1 -bsf:v hevc_mp4toannexb -c:a aac
        rtmp: -c:v copy -c:a aac -f flv

      inputs:
        - path: rtsp://admin:Clarence1974?!8@192.168.1.147:554/h264Preview_01_main
          roles:
            - detect
            - record
            - clips
            - rtmp
    rtmp:
      enabled: False
    detect:
      width: 3840
      height: 2160
      fps: 1

    objects:
      track:
        - person
        - car
        - bicycle
        - cat
        - dog

    snapshots:
      enabled: True
      timestamp: false
      bounding_box: True
      retain:
        default: 2

Relevant log output

2023-04-27 15:24:34.159719558  [2023-04-27 17:24:34] ffmpeg.Innegarden.detect       ERROR   : [hevc @ 0x559bff6230] Error parsing NAL unit #6.
2023-04-27 15:24:34.159744557  [2023-04-27 17:24:34] ffmpeg.Innegarden.detect       ERROR   : Error while decoding stream #0:0: Invalid data found when processing input
2023-04-27 15:24:34.159753186  [2023-04-27 17:24:34] ffmpeg.Innegarden.detect       ERROR   : [hevc @ 0x559bffa750] Could not find ref with POC 7
2023-04-27 15:24:34.180337578  [2023-04-27 17:24:34] ffmpeg.Innegarden.detect       ERROR   : [hevc @ 0x559bffa750] Could not find ref with POC 10
2023-04-27 15:24:34.181025427  [2023-04-27 17:24:34] ffmpeg.Innegarden.detect       ERROR   : [hevc @ 0x559bff6230] Ignoring POC change between slices: 9 -> 10
2023-04-27 15:24:34.188464546  [2023-04-27 17:24:34] ffmpeg.Innegarden.detect       ERROR   :     Last message repeated 1 times
2023-04-27 15:24:34.190148253  [2023-04-27 17:24:34] ffmpeg.Innegarden.detect       ERROR   : [hevc @ 0x559bff6230] The cu_qp_delta -32 is outside the valid range [-26, 25].
2023-04-27 15:24:34.191735462  [2023-04-27 17:24:34] ffmpeg.Innegarden.detect       ERROR   : [hevc @ 0x559bff6230] The cu_qp_delta 30 is outside the valid range [-26, 25].
2023-04-27 15:24:34.193439409  [2023-04-27 17:24:34] ffmpeg.Innegarden.detect       ERROR   : [hevc @ 0x559bff6230] The cu_qp_delta -29 is outside the valid range [-26, 25].
2023-04-27 15:24:42.017713330  172.30.32.1 - - [27/Apr/2023:17:24:42 +0200] "GET /api/stats HTTP/1.1" 200 2359 "-" "HomeAssistant/2023.4.6 aiohttp/3.8.4 Python/3.10" "-"
2023-04-27 15:24:50.922082774  172.30.32.1 - - [27/Apr/2023:17:24:50 +0200] "GET /api/stats HTTP/1.1" 200 2361 "-" "HomeAssistant/2023.4.6 aiohttp/3.8.4 Python/3.10" "-"
2023-04-27 15:24:59.254811825  172.30.32.1 - - [27/Apr/2023:17:24:59 +0200] "GET /api/stats HTTP/1.1" 200 2392 "-" "HomeAssistant/2023.4.6 aiohttp/3.8.4 Python/3.10" "-"
2023-04-27 15:25:08.139274161  172.30.32.1 - - [27/Apr/2023:17:25:08 +0200] "GET /api/stats HTTP/1.1" 200 2358 "-" "HomeAssistant/2023.4.6 aiohttp/3.8.4 Python/3.10" "-"
2023-04-27 15:25:16.755440992  172.30.32.1 - - [27/Apr/2023:17:25:16 +0200] "GET /api/stats HTTP/1.1" 200 2389 "-" "HomeAssistant/2023.4.6 aiohttp/3.8.4 Python/3.10" "-"
2023-04-27 15:25:24.738641058  172.30.32.1 - - [27/Apr/2023:17:25:24 +0200] "GET /api/stats HTTP/1.1" 200 2344 "-" "HomeAssistant/2023.4.6 aiohttp/3.8.4 Python/3.10" "-"
2023-04-27 15:25:26.516234035  [2023-04-27 17:25:26] frigate.video                  ERROR   : Innegarden: Unable to read frames from ffmpeg process.
2023-04-27 15:25:26.517139304  [2023-04-27 17:25:26] frigate.video                  ERROR   : Innegarden: Unable to read frames from ffmpeg process.
2023-04-27 15:25:26.520702881  [2023-04-27 17:25:26] frigate.video                  ERROR   : Innegarden: Unable to read frames from ffmpeg process.
2023-04-27 15:25:26.522658711  [2023-04-27 17:25:26] frigate.video                  ERROR   : Innegarden: Unable to read frames from ffmpeg process.
2023-04-27 15:25:26.524005411  [2023-04-27 17:25:26] frigate.video                  ERROR   : Innegarden: ffmpeg process is not running. exiting capture thread...
2023-04-27 15:25:32.581523905  172.30.32.1 - - [27/Apr/2023:17:25:32 +0200] "GET /api/stats HTTP/1.1" 200 2312 "-" "HomeAssistant/2023.4.6 aiohttp/3.8.4 Python/3.10" "-"
2023-04-27 15:25:34.316648618  [2023-04-27 17:25:34] watchdog.Innegarden            ERROR   : Ffmpeg process crashed unexpectedly for Innegarden.
2023-04-27 15:25:34.323281214  [2023-04-27 17:25:34] watchdog.Innegarden            ERROR   : The following ffmpeg logs include the last 100 lines prior to exit.
2023-04-27 15:25:34.323840864  [2023-04-27 17:25:34] ffmpeg.Innegarden.detect       ERROR   : [hevc @ 0x558ae85170] The cu_qp_delta -40 is outside the valid range [-26, 25].
2023-04-27 15:25:34.326848347  [2023-04-27 17:25:34] ffmpeg.Innegarden.detect       ERROR   : [rtsp @ 0x558ae6e150] CSeq 7 expected, 0 received.
2023-04-27 15:25:40.887388072  172.30.32.1 - - [27/Apr/2023:17:25:40 +0200] "GET /api/stats HTTP/1.1" 200 2345 "-" "HomeAssistant/2023.4.6 aiohttp/3.8.4 Python/3.10" "-"
2023-04-27 15:25:48.915323252  172.30.32.1 - - [27/Apr/2023:17:25:48 +0200] "GET /api/stats HTTP/1.1" 200 2360 "-" "HomeAssistant/2023.4.6 aiohttp/3.8.4 Python/3.10" "-"
2023-04-27 15:25:50.430041632  172.30.32.2 - - [27/Apr/2023:17:25:50 +0200] "GET / HTTP/1.1" 200 6641 "-" "HomeAssistantSupervisor/2023.04.1 aiohttp/3.8.4 Python/3.10" "-"
2023-04-27 15:25:51.983641181  172.30.32.2 - - [27/Apr/2023:17:25:51 +0200] "GET /api/logs/go2rtc HTTP/1.1" 200 338 "http://192.168.1.177:8123/logs" "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/112.0.0.0 Safari/537.36" "192.168.1.206, 172.30.32.1"
2023-04-27 15:25:51.992081003  172.30.32.2 - - [27/Apr/2023:17:25:51 +0200] "GET /api/logs/nginx HTTP/1.1" 200 2027 "http://192.168.1.177:8123/logs" "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/112.0.0.0 Safari/537.36" "192.168.1.206, 172.30.32.1"
2023-04-27 15:25:52.022062995  172.30.32.2 - - [27/Apr/2023:17:25:52 +0200] "GET /api/logs/frigate HTTP/1.1" 200 1625 "http://192.168.1.177:8123/logs" "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/112.0.0.0 Safari/537.36" "192.168.1.206, 172.30.32.1"
2023-04-27 15:25:52.054417120  172.30.32.2 - - [27/Apr/2023:17:25:52 +0200] "GET /api/config HTTP/1.1" 200 7982 "http://192.168.1.177:8123/logs" "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/112.0.0.0 Safari/537.36" "192.168.1.206, 172.30.32.1"
2023-04-27 15:25:56.920643029  172.30.32.1 - - [27/Apr/2023:17:25:56 +0200] "GET /api/stats HTTP/1.1" 200 2359 "-" "HomeAssistant/2023.4.6 aiohttp/3.8.4 Python/3.10" "-"
2023-04-27 15:26:05.079554701  172.30.32.1 - - [27/Apr/2023:17:26:05 +0200] "GET /api/stats HTTP/1.1" 200 2360 "-" "HomeAssistant/2023.4.6 aiohttp/3.8.4 Python/3.10" "-"
2023-04-27 15:26:13.915604808  172.30.32.1 - - [27/Apr/2023:17:26:13 +0200] "GET /api/stats HTTP/1.1" 200 2360 "-" "HomeAssistant/2023.4.6 aiohttp/3.8.4 Python/3.10" "-"
2023-04-27 15:26:19.538576846  172.30.32.2 - - [27/Apr/2023:17:26:19 +0200] "GET /ws HTTP/1.1" 101 9269 "-" "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/112.0.0.0 Safari/537.36" "192.168.1.206, 172.30.32.1"
2023-04-27 15:26:21.835233104  172.30.32.1 - - [27/Apr/2023:17:26:21 +0200] "GET /api/stats HTTP/1.1" 200 2391 "-" "HomeAssistant/2023.4.6 aiohttp/3.8.4 Python/3.10" "-"
2023-04-27 15:26:29.679330808  172.30.32.1 - - [27/Apr/2023:17:26:29 +0200] "GET /api/stats HTTP/1.1" 200 2391 "-" "HomeAssistant/2023.4.6 aiohttp/3.8.4 Python/3.10" "-"
2023-04-27 15:26:33.444966728  [2023-04-27 17:26:33] frigate.video                  ERROR   : Innegarden: Unable to read frames from ffmpeg process.
2023-04-27 15:26:33.446854876  [2023-04-27 17:26:33] frigate.video                  ERROR   : Innegarden: Unable to read frames from ffmpeg process.
2023-04-27 15:26:33.449814697  [2023-04-27 17:26:33] frigate.video                  ERROR   : Innegarden: Unable to read frames from ffmpeg process.
2023-04-27 15:26:33.453171321  [2023-04-27 17:26:33] frigate.video                  ERROR   : Innegarden: ffmpeg process is not running. exiting capture thread...
2023-04-27 15:26:34.746370167  [2023-04-27 17:26:34] watchdog.Innegarden            ERROR   : Ffmpeg process crashed unexpectedly for Innegarden.
2023-04-27 15:26:34.757761964  [2023-04-27 17:26:34] watchdog.Innegarden            ERROR   : The following ffmpeg logs include the last 100 lines prior to exit.
2023-04-27 15:26:34.757777537  [2023-04-27 17:26:34] ffmpeg.Innegarden.detect       ERROR   : [hevc @ 0x558eb51230] CABAC_MAX_BIN : 7
2023-04-27 15:26:34.757927681  [2023-04-27 17:26:34] ffmpeg.Innegarden.detect       ERROR   : [hevc @ 0x558eb51230] The cu_qp_delta 1094995529 is outside the valid range [-26, 25].
2023-04-27 15:26:34.757934699  [2023-04-27 17:26:34] ffmpeg.Innegarden.detect       ERROR   : [hevc @ 0x558eb51230] The cu_qp_delta 26 is outside the valid range [-26, 25].
2023-04-27 15:26:34.757938718  [2023-04-27 17:26:34] ffmpeg.Innegarden.detect       ERROR   : [hevc @ 0x558eb51230] The cu_qp_delta 27 is outside the valid range [-26, 25].
2023-04-27 15:26:34.757942366  [2023-04-27 17:26:34] ffmpeg.Innegarden.detect       ERROR   : [hevc @ 0x558eb51230] The cu_qp_delta -42 is outside the valid range [-26, 25].
2023-04-27 15:26:37.894521462  172.30.32.1 - - [27/Apr/2023:17:26:37 +0200] "GET /api/stats HTTP/1.1" 200 2359 "-" "HomeAssistant/2023.4.6 aiohttp/3.8.4 Python/3.10" "-"
2023-04-27 15:26:45.802628901  172.30.32.1 - - [27/Apr/2023:17:26:45 +0200] "GET /api/stats HTTP/1.1" 200 2346 "-" "HomeAssistant/2023.4.6 aiohttp/3.8.4 Python/3.10" "-"
2023-04-27 15:26:53.835721947  172.30.32.1 - - [27/Apr/2023:17:26:53 +0200] "GET /api/stats HTTP/1.1" 200 2359 "-" "HomeAssistant/2023.4.6 aiohttp/3.8.4 Python/3.10" "-"
2023-04-27 15:27:01.806011056  172.30.32.1 - - [27/Apr/2023:17:27:01 +0200] "GET /api/stats HTTP/1.1" 200 2391 "-" "HomeAssistant/2023.4.6 aiohttp/3.8.4 Python/3.10" "-"
2023-04-27 15:27:10.231730906  172.30.32.1 - - [27/Apr/2023:17:27:10 +0200] "GET /api/stats HTTP/1.1" 200 2360 "-" "HomeAssistant/2023.4.6 aiohttp/3.8.4 Python/3.10" "-"
2023-04-27 15:27:19.127323625  172.30.32.1 - - [27/Apr/2023:17:27:19 +0200] "GET /api/stats HTTP/1.1" 200 2360 "-" "HomeAssistant/2023.4.6 aiohttp/3.8.4 Python/3.10" "-"
2023-04-27 15:27:27.579501752  172.30.32.1 - - [27/Apr/2023:17:27:27 +0200] "GET /api/stats HTTP/1.1" 200 2376 "-" "HomeAssistant/2023.4.6 aiohttp/3.8.4 Python/3.10" "-"
2023-04-27 15:27:35.389170965  [2023-04-27 17:27:35] frigate.video                  ERROR   : Innegarden: Unable to read frames from ffmpeg process.
2023-04-27 15:27:35.391605397  [2023-04-27 17:27:35] frigate.video                  ERROR   : Innegarden: ffmpeg process is not running. exiting capture thread...
2023-04-27 15:27:35.765395464  172.30.32.1 - - [27/Apr/2023:17:27:35 +0200] "GET /api/stats HTTP/1.1" 200 2360 "-" "HomeAssistant/2023.4.6 aiohttp/3.8.4 Python/3.10" "-"
2023-04-27 15:27:43.958277745  172.30.32.1 - - [27/Apr/2023:17:27:43 +0200] "GET /api/stats HTTP/1.1" 200 2327 "-" "HomeAssistant/2023.4.6 aiohttp/3.8.4 Python/3.10" "-"
2023-04-27 15:27:44.926028397  [2023-04-27 17:27:44] watchdog.Innegarden            ERROR   : Ffmpeg process crashed unexpectedly for Innegarden.
2023-04-27 15:27:44.933596702  [2023-04-27 17:27:44] watchdog.Innegarden            ERROR   : The following ffmpeg logs include the last 100 lines prior to exit.
2023-04-27 15:27:44.933620238  [2023-04-27 17:27:44] ffmpeg.Innegarden.detect       ERROR   : [hevc @ 0x55cc22d170] The cu_qp_delta -64 is outside the valid range [-26, 25].
2023-04-27 15:27:44.935217786  [2023-04-27 17:27:44] ffmpeg.Innegarden.detect       ERROR   : [hevc @ 0x55cc248750] The cu_qp_delta -29 is outside the valid range [-26, 25].
2023-04-27 15:27:44.935241470  [2023-04-27 17:27:44] ffmpeg.Innegarden.detect       ERROR   : [hevc @ 0x55cc248750] Ignoring POC change between slices: 5 -> 7
2023-04-27 15:27:44.936777464  [2023-04-27 17:27:44] ffmpeg.Innegarden.detect       ERROR   : [hevc @ 0x55cc22d170] Could not find ref with POC 7
2023-04-27 15:27:44.938183221  [2023-04-27 17:27:44] ffmpeg.Innegarden.detect       ERROR   : [hevc @ 0x55cc248750] Ignoring POC change between slices: 5 -> 7
2023-04-27 15:27:44.938896627  [2023-04-27 17:27:44] ffmpeg.Innegarden.detect       ERROR   : [hevc @ 0x55cc248750] Could not find ref with POC 11
2023-04-27 15:27:44.940662873  [2023-04-27 17:27:44] ffmpeg.Innegarden.detect       ERROR   : [hevc @ 0x55cc22d170] The cu_qp_delta -57 is outside the valid range [-26, 25].
2023-04-27 15:27:44.942834145  [2023-04-27 17:27:44] ffmpeg.Innegarden.detect       ERROR   : [hevc @ 0x55cc22d170] Ignoring POC change between slices: 10 -> 11
2023-04-27 15:27:44.947214429  [2023-04-27 17:27:44] ffmpeg.Innegarden.detect       ERROR   :     Last message repeated 1 times
2023-04-27 15:27:44.949964315  [2023-04-27 17:27:44] ffmpeg.Innegarden.detect       ERROR   : [hevc @ 0x55cc22d170] Could not find ref with POC 13
2023-04-27 15:27:44.964620587  [2023-04-27 17:27:44] ffmpeg.Innegarden.detect       ERROR   : [hevc @ 0x55cc22d170] Could not find ref with POC 19
2023-04-27 15:27:44.966793822  [2023-04-27 17:27:44] ffmpeg.Innegarden.detect       ERROR   : [hevc @ 0x55cc248750] CABAC_MAX_BIN : 7
2023-04-27 15:27:44.969076906  [2023-04-27 17:27:44] ffmpeg.Innegarden.detect       ERROR   : [hevc @ 0x55cc248750] The cu_qp_delta -1094995529 is outside the valid range [-26, 25].
2023-04-27 15:27:44.969228605  [2023-04-27 17:27:44] ffmpeg.Innegarden.detect       ERROR   : [hevc @ 0x55cc248750] Ignoring POC change between slices: 17 -> 19
2023-04-27 15:27:44.971778182  [2023-04-27 17:27:44] ffmpeg.Innegarden.detect       ERROR   : [hevc @ 0x55cc248750] Could not find ref with POC 25
2023-04-27 15:27:44.975649924  [2023-04-27 17:27:44] ffmpeg.Innegarden.detect       ERROR   : [hevc @ 0x55cc22d170] Ignoring POC change between slices: 24 -> 25
2023-04-27 15:27:44.976547825  [2023-04-27 17:27:44] ffmpeg.Innegarden.detect       ERROR   : [hevc @ 0x55cc22d170] Could not find ref with POC 2
2023-04-27 15:27:44.977377061  [2023-04-27 17:27:44] ffmpeg.Innegarden.detect       ERROR   : [hevc @ 0x55cc248750] The cu_qp_delta -44 is outside the valid range [-26, 25].
2023-04-27 15:27:44.978555139  [2023-04-27 17:27:44] ffmpeg.Innegarden.detect       ERROR   : [hevc @ 0x55cc248750] Ignoring POC change between slices: 0 -> 2
2023-04-27 15:27:44.990541208  [2023-04-27 17:27:44] ffmpeg.Innegarden.detect       ERROR   : [hevc @ 0x55cc248750] Non-matching NAL types of the VCL NALUs: 19 1
2023-04-27 15:27:44.991671176  [2023-04-27 17:27:44] ffmpeg.Innegarden.detect       ERROR   : [hevc @ 0x55cc248750] Error parsing NAL unit #6.
2023-04-27 15:27:44.999153762  [2023-04-27 17:27:44] ffmpeg.Innegarden.detect       ERROR   : Error while decoding stream #0:0: Invalid data found when processing input
2023-04-27 15:27:45.000550704  [2023-04-27 17:27:44] ffmpeg.Innegarden.detect       ERROR   : [hevc @ 0x55cc22d170] Ignoring POC change between slices: 7 -> 9
2023-04-27 15:27:45.001943109  [2023-04-27 17:27:44] ffmpeg.Innegarden.detect       ERROR   :     Last message repeated 1 times
2023-04-27 15:27:45.002805214  [2023-04-27 17:27:44] ffmpeg.Innegarden.detect       ERROR   : [hevc @ 0x55cc248750] The cu_qp_delta -46 is outside the valid range [-26, 25].
2023-04-27 15:27:45.003612692  [2023-04-27 17:27:44] ffmpeg.Innegarden.detect       ERROR   : [hevc @ 0x55cc22d170] Could not find ref with POC 16
2023-04-27 15:27:45.005346291  [2023-04-27 17:27:44] ffmpeg.Innegarden.detect       ERROR   : [hevc @ 0x55cc248750] The cu_qp_delta -34 is outside the valid range [-26, 25].
2023-04-27 15:27:50.438875660  172.30.32.2 - - [27/Apr/2023:17:27:50 +0200] "GET / HTTP/1.1" 200 6641 "-" "HomeAssistantSupervisor/2023.04.1 aiohttp/3.8.4 Python/3.10" "-"
2023-04-27 15:27:52.031331350  172.30.32.1 - - [27/Apr/2023:17:27:52 +0200] "GET /api/stats HTTP/1.1" 200 2360 "-" "HomeAssistant/2023.4.6 aiohttp/3.8.4 Python/3.10" "-"
2023-04-27 15:28:01.043692179  172.30.32.1 - - [27/Apr/2023:17:28:01 +0200] "GET /api/stats HTTP/1.1" 200 2392 "-" "HomeAssistant/2023.4.6 aiohttp/3.8.4 Python/3.10" "-"
2023-04-27 15:28:09.838499162  172.30.32.1 - - [27/Apr/2023:17:28:09 +0200] "GET /api/stats HTTP/1.1" 200 2360 "-" "HomeAssistant/2023.4.6 aiohttp/3.8.4 Python/3.10" "-"
2023-04-27 15:28:17.958979504  172.30.32.1 - - [27/Apr/2023:17:28:17 +0200] "GET /api/stats HTTP/1.1" 200 2358 "-" "HomeAssistant/2023.4.6 aiohttp/3.8.4 Python/3.10" "-"
2023-04-27 15:28:26.053614352  172.30.32.1 - - [27/Apr/2023:17:28:26 +0200] "GET /api/stats HTTP/1.1" 200 2391 "-" "HomeAssistant/2023.4.6 aiohttp/3.8.4 Python/3.10" "-"
2023-04-27 15:28:29.221685272  172.30.32.2 - - [27/Apr/2023:17:28:29 +0200] "GET /api/config HTTP/1.1" 200 7982 "http://192.168.1.177:8123/logs" "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/112.0.0.0 Safari/537.36" "192.168.1.206, 172.30.32.1"
2023-04-27 15:28:29.323516259  172.30.32.2 - - [27/Apr/2023:17:28:29 +0200] "GET /api/logs/frigate HTTP/1.1" 200 2203 "http://192.168.1.177:8123/logs" "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/112.0.0.0 Safari/537.36" "192.168.1.206, 172.30.32.1"
2023-04-27 15:28:29.327174121  172.30.32.2 - - [27/Apr/2023:17:28:29 +0200] "GET /api/logs/go2rtc HTTP/1.1" 200 338 "http://192.168.1.177:8123/logs" "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/112.0.0.0 Safari/537.36" "192.168.1.206, 172.30.32.1"
2023-04-27 15:28:29.332646359  172.30.32.2 - - [27/Apr/2023:17:28:29 +0200] "GET /api/logs/nginx HTTP/1.1" 200 2469 "http://192.168.1.177:8123/logs" "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/112.0.0.0 Safari/537.36" "192.168.1.206, 172.30.32.1"
2023-04-27 15:28:34.757006232  172.30.32.1 - - [27/Apr/2023:17:28:34 +0200] "GET /api/stats HTTP/1.1" 200 2359 "-" "HomeAssistant/2023.4.6 aiohttp/3.8.4 Python/3.10" "-"

Frigate stats

2023-04-27 15:20:47.633683765  [INFO] Starting Frigate...
2023-04-27 15:20:52.729073349  [2023-04-27 17:20:52] frigate.app                    INFO    : Starting Frigate (0.12.0-da3e197)
2023-04-27 15:20:52.832061793  [2023-04-27 17:20:52] frigate.app                    INFO    : Creating directory: /tmp/cache
2023-04-27 15:20:52.847420467  [2023-04-27 17:20:52] peewee_migrate                 INFO    : Starting migrations
2023-04-27 15:20:52.861747365  [2023-04-27 17:20:52] peewee_migrate                 INFO    : There is nothing to migrate
2023-04-27 15:20:52.953845970  [2023-04-27 17:20:52] detector.cpu                   INFO    : Starting detection process: 299
2023-04-27 15:20:52.977789680  [2023-04-27 17:20:52] frigate.app                    INFO    : Output process started: 301
2023-04-27 15:20:52.978054356  [2023-04-27 17:20:52] frigate.detectors              WARNING : CPU detectors are not recommended and should only be used for testing or for trial purposes.
2023-04-27 15:20:53.003980363  [2023-04-27 17:20:52] frigate.app                    INFO    : Camera processor started for olle: 304
2023-04-27 15:20:53.026293078  [2023-04-27 17:20:53] frigate.app                    INFO    : Camera processor started for Innegarden: 306
2023-04-27 15:20:53.055943764  [2023-04-27 17:20:53] frigate.app                    INFO    : Capture process started for olle: 307
2023-04-27 15:20:53.099535714  [2023-04-27 17:20:53] frigate.app                    INFO    : Capture process started for Innegarden: 309
2023-04-27 15:21:32.773460090  [2023-04-27 17:21:32] frigate.video                  ERROR   : Innegarden: Unable to read frames from ffmpeg process.
2023-04-27 15:21:32.775039775  [2023-04-27 17:21:32] frigate.video                  ERROR   : Innegarden: Unable to read frames from ffmpeg process.
2023-04-27 15:21:32.777831490  [2023-04-27 17:21:32] frigate.video                  ERROR   : Innegarden: ffmpeg process is not running. exiting capture thread...
2023-04-27 15:21:33.535070318  [2023-04-27 17:21:33] watchdog.Innegarden            ERROR   : Ffmpeg process crashed unexpectedly for Innegarden.
2023-04-27 15:21:33.535085595  [2023-04-27 17:21:33] watchdog.Innegarden            ERROR   : The following ffmpeg logs include the last 100 lines prior to exit.
2023-04-27 15:21:33.536976935  [2023-04-27 17:21:33] ffmpeg.Innegarden.detect       ERROR   : [rtsp @ 0x55a9544150] CSeq 6 expected, 0 received.
2023-04-27 15:21:33.537606580  [2023-04-27 17:21:33] ffmpeg.Innegarden.detect       ERROR   :     Last message repeated 4 times
2023-04-27 15:22:18.285670704  [2023-04-27 17:22:18] frigate.video                  ERROR   : Innegarden: Unable to read frames from ffmpeg process.
2023-04-27 15:22:18.288228560  [2023-04-27 17:22:18] frigate.video                  ERROR   : Innegarden: Unable to read frames from ffmpeg process.
2023-04-27 15:22:18.290265194  [2023-04-27 17:22:18] frigate.video                  ERROR   : Innegarden: Unable to read frames from ffmpeg process.
2023-04-27 15:22:18.292213386  [2023-04-27 17:22:18] frigate.video                  ERROR   : Innegarden: Unable to read frames from ffmpeg process.
2023-04-27 15:22:18.294736743  [2023-04-27 17:22:18] frigate.video                  ERROR   : Innegarden: ffmpeg process is not running. exiting capture thread...
2023-04-27 15:22:23.715035229  [2023-04-27 17:22:23] watchdog.Innegarden            ERROR   : Ffmpeg process crashed unexpectedly for Innegarden.
2023-04-27 15:22:23.715050951  [2023-04-27 17:22:23] watchdog.Innegarden            ERROR   : The following ffmpeg logs include the last 100 lines prior to exit.
2023-04-27 15:22:23.715054469  [2023-04-27 17:22:23] ffmpeg.Innegarden.detect       ERROR   : [rtsp @ 0x55b2a92150] CSeq 6 expected, 0 received.
2023-04-27 15:22:23.715070135  [2023-04-27 17:22:23] ffmpeg.Innegarden.detect       ERROR   : [hevc @ 0x55b2ac49d0] Ignoring POC change between slices: 3 -> 5
2023-04-27 15:22:23.715192057  [2023-04-27 17:22:23] ffmpeg.Innegarden.detect       ERROR   : [hevc @ 0x55b2ac0230] Could not find ref with POC 5
2023-04-27 15:22:23.715197890  [2023-04-27 17:22:23] ffmpeg.Innegarden.detect       ERROR   : [hevc @ 0x55b2ac49d0] Ignoring POC change between slices: 3 -> 5
2023-04-27 15:22:23.715312108  [2023-04-27 17:22:23] ffmpeg.Innegarden.detect       ERROR   : [hevc @ 0x55b2ac49d0] Could not find ref with POC 9
2023-04-27 15:22:23.715318090  [2023-04-27 17:22:23] ffmpeg.Innegarden.detect       ERROR   : [hevc @ 0x55b2ac0230] Ignoring POC change between slices: 8 -> 9
2023-04-27 15:22:23.716299315  [2023-04-27 17:22:23] ffmpeg.Innegarden.detect       ERROR   : [rtsp @ 0x55b2a92150] CSeq 6 expected, 0 received.
2023-04-27 15:22:23.716314444  [2023-04-27 17:22:23] ffmpeg.Innegarden.detect       ERROR   :     Last message repeated 6 times
2023-04-27 15:23:19.286315138  [2023-04-27 17:23:19] frigate.video                  ERROR   : Innegarden: Unable to read frames from ffmpeg process.
2023-04-27 15:23:19.286400431  [2023-04-27 17:23:19] frigate.video                  ERROR   : Innegarden: ffmpeg process is not running. exiting capture thread...
2023-04-27 15:23:23.960890369  [2023-04-27 17:23:23] watchdog.Innegarden            ERROR   : Ffmpeg process crashed unexpectedly for Innegarden.
2023-04-27 15:23:23.962214215  [2023-04-27 17:23:23] watchdog.Innegarden            ERROR   : The following ffmpeg logs include the last 100 lines prior to exit.
2023-04-27 15:23:23.963018133  [2023-04-27 17:23:23] ffmpeg.Innegarden.detect       ERROR   : [rtsp @ 0x55bea36150] CSeq 6 expected, 0 received.
2023-04-27 15:23:23.991418496  [2023-04-27 17:23:23] ffmpeg.Innegarden.detect       ERROR   :     Last message repeated 17 times
2023-04-27 15:23:24.006880321  [2023-04-27 17:23:23] ffmpeg.Innegarden.detect       ERROR   : [hevc @ 0x55bea4d170] The cu_qp_delta -52 is outside the valid range [-26, 25].

Operating system

Other Linux

Install method

HassOS Addon

Coral version

Other

Any other information that may be helpful

I want too install usb coral accelretor but i dont now how.

Instal on raspberry 4 on usb ssr hard drive

micke.naslund@live.se

NickM-27 commented 1 year ago

You need to describe what your issue is / what you're looking for help with. You just plug the USB accelerator in and frigate will detect it

mmaaligema commented 1 year ago

Ok i plug in the usb USB accelerator. Do i need too any thing more ? Why do i get this error ? No frames have been received check error log

blakeblackshear commented 1 year ago

Your errors indicate that the camera stream has bad data that ffmpeg can't recover from so the process exits and ffmpeg must be restarted. This happens with many inexpensive cameras, especially on wifi.

Here is the section of the documentation for using a Coral: https://docs.frigate.video/configuration/detectors#edge-tpu-detector

Let us know if you find it unclear and suggest how it could be improved.

github-actions[bot] commented 1 year ago

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.