Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Support]: > 0.11-Beta-2 FFmpeg crashes after connection lost #3237

Closed
elgorro opened this issue May 19, 2022 · 21 comments
Closed

[Support]: > 0.11-Beta-2 FFmpeg crashes after connection lost #3237

elgorro opened this issue May 19, 2022 · 21 comments

Comments

@elgorro
Copy link

elgorro commented May 19, 2022

Describe the problem you are having

After restarting network (but not the RPi4B) FFmpeg is chrashing and not fixing itself. First issue probably on "sunrise". See Logs.

Version

0.11.0-d2c3cdc

Frigate config file

mqtt:
  host: 192.168.178.106
  user: elgorro
  password: pa$$
  stats_interval: 60
birdseye:
  enabled: False
cameras:
  hof:
    ffmpeg:
      inputs:
        - path: rtsp://user:[email protected]:554/Streaming/Channels/1
          roles:
            - detect
            - record
detect:
  width: 1920
  height: 1080
  fps: 5
  max_disappeared: 25
  stationary:
    interval: 0
    threshold: 50
objects:
  track:
    - person
    - car
  mask: 0,0,577,0,1063,0,360,241,0,619
  filters:
    person:
      min_area: 800
      max_area: 100000
      min_score: 0.4
      threshold: 0.6
      mask: 928,227,993,211,965,97,892,112
    car:
      min_area: 5000
      max_area: 500000
      min_score: 0.4
      threshold: 0.65
      mask: 1920,0,1920,154,1608,122,1370,0
ffmpeg:
  hwaccel_args:
    - -c:v
    - h264_v4l2m2m
record:
  enabled: True
  expire_interval: 60
  retain:
    days: 0
    mode: all
  events:
    max_seconds: 600
    pre_capture: 5
    post_capture: 5
    retain:
      default: 1
      mode: motion
      objects:
        person: 3
snapshots:
  enabled: True
  timestamp: True
  bounding_box: True
  retain:
    default: 3
rtmp:
  enabled: False
motion:
  threshold: 35
logger:
  default: info
detectors:
  cpu:
    type: cpu
    num_threads: 2

Relevant log output

Logs:
> > frigate  | [2022-05-19 04:34:30] frigate.app                    INFO    : Starting Frigate (0.11.0-d2c3cdc)
> frigate  | Starting migrations
> frigate  | [2022-05-19 04:34:30] peewee_migrate                 INFO    : Starting migrations
> frigate  | There is nothing to migrate
> frigate  | [2022-05-19 04:34:30] peewee_migrate                 INFO    : There is nothing to migrate
> frigate  | [2022-05-19 04:34:32] frigate.app                    INFO    : Output process started: 217
> frigate  | [2022-05-19 04:34:32] frigate.app                    INFO    : Camera processor started for hof: 220
> frigate  | [2022-05-19 04:34:32] ws4py                          INFO    : Using epoll
> frigate  | [2022-05-19 04:34:32] frigate.app                    INFO    : Capture process started for hof: 223
> frigate  | [2022-05-19 04:34:32] detector.cpu                   INFO    : Starting detection process: 216
> frigate  | [2022-05-19 04:34:32] frigate.edgetpu                WARNING : CPU detectors are not recommended and should only be used for testing or for trial purposes.
> frigate  | [2022-05-19 04:34:32] ws4py                          INFO    : Using epoll
> frigate  | [2022-05-19 06:21:42] frigate.video                  ERROR   : hof: Unable to read frames from ffmpeg process.
> frigate  | [2022-05-19 06:21:42] frigate.video                  ERROR   : hof: ffmpeg process is not running. exiting capture thread...
> frigate  | [2022-05-19 06:21:42] watchdog.hof                   ERROR   : Ffmpeg process crashed unexpectedly for hof.
> frigate  | [2022-05-19 06:21:42] watchdog.hof                   ERROR   : The following ffmpeg logs include the last 100 lines prior to exit.
> frigate  | [2022-05-19 06:21:42] ffmpeg.hof.detect              ERROR   : [NULL @ 0x55884f8130] non-existing PPS 2 referenced
> frigate  | [2022-05-19 06:21:42] ffmpeg.hof.detect              ERROR   : [rtsp @ 0x55884f5240] Undefined type (31)
> frigate  | [2022-05-19 06:21:42] ffmpeg.hof.detect              ERROR   : [rtsp @ 0x55884f5240] RTP H.264 NAL unit type 29 is not implemented. Update your FFmpeg version to the newest one from Git. If the problem still occurs, it means that your file has a feature which has not been implemented.
> frigate  | [2022-05-19 06:21:42] ffmpeg.hof.detect              ERROR   : [rtsp @ 0x55884f5240] RTP H.264 NAL unit type 26 is not implemented. Update your FFmpeg version to the newest one from Git. If the problem still occurs, it means that your file has a feature which has not been implemented.
> frigate  | [2022-05-19 06:21:42] ffmpeg.hof.detect              ERROR   : [rtsp @ 0x55884f5240] RTP H.264 NAL unit type 29 is not implemented. Update your FFmpeg version to the newest one from Git. If the problem still occurs, it means that your file has a feature which has not been implemented.
> frigate  | [2022-05-19 06:21:42] ffmpeg.hof.detect              ERROR   : [NULL @ 0x55884f8130] sps_id 2 out of range
> frigate  | [2022-05-19 15:34:07] ws4py                          INFO    : Managing websocket [Local => 127.0.0.1:5002 | Remote => 127.0.0.1:50838]
> frigate  | [2022-05-19 15:35:59] frigate.video                  ERROR   : hof: Unable to read frames from ffmpeg process.
> frigate  | [2022-05-19 15:35:59] frigate.video                  ERROR   : hof: ffmpeg process is not running. exiting capture thread...
> frigate  | [2022-05-19 15:36:04] watchdog.hof                   ERROR   : Ffmpeg process crashed unexpectedly for hof.
> frigate  | [2022-05-19 15:36:04] watchdog.hof                   ERROR   : The following ffmpeg logs include the last 100 lines prior to exit.
> frigate  | [2022-05-19 15:36:04] ffmpeg.hof.detect              ERROR   : [rtsp @ 0x558ecac240] RTP H.264 NAL unit type 27 is not implemented. Update your FFmpeg version to the newest one from Git. If the problem still occurs, it means that your file has a feature which has not been implemented.
> frigate  | [2022-05-19 15:36:04] ffmpeg.hof.detect              ERROR   : [NULL @ 0x558ecaf130] SEI type 158 size 1560 truncated at 144
> frigate  | [2022-05-19 15:36:04] ffmpeg.hof.detect              ERROR   : [NULL @ 0x558ecaf130] SEI type 108 size 576 truncated at 400
> frigate  | [2022-05-19 15:36:04] ffmpeg.hof.detect              ERROR   : [NULL @ 0x558ecaf130] non-existing PPS 3 referenced
> frigate  | [2022-05-19 15:36:04] ffmpeg.hof.detect              ERROR   : [NULL @ 0x558ecaf130] SEI type 71 size 1576 truncated at 1016
> frigate  | [2022-05-19 15:36:04] ffmpeg.hof.detect              ERROR   : [rtsp @ 0x558ecac240] RTP: PT=60: bad cseq af8b expected=b10e
> frigate  | [2022-05-19 15:36:04] ffmpeg.hof.detect              ERROR   : [rtsp @ 0x558ecac240] Undefined type (31)
> frigate  | [2022-05-19 15:36:04] ffmpeg.hof.detect              ERROR   : [rtsp @ 0x558ecac240] nal size exceeds length: 10160 1425
> frigate  | [2022-05-19 15:36:04] ffmpeg.hof.detect              ERROR   : [rtsp @ 0x558ecac240] nal size exceeds length: 52652 1425
> frigate  | [2022-05-19 15:36:04] ffmpeg.hof.detect              ERROR   : [NULL @ 0x558ecaf130] sps_id 3 out of range
> frigate  | [2022-05-19 15:36:04] ffmpeg.hof.detect              ERROR   : [NULL @ 0x558ecaf130] illegal POC type 9
> frigate  | [2022-05-19 15:36:04] ffmpeg.hof.detect              ERROR   : [rtsp @ 0x558ecac240] nal size exceeds length: 18394 1425
> frigate  | [2022-05-19 15:36:04] ffmpeg.hof.detect              ERROR   : [rtsp @ 0x558ecac240] Undefined type (31)
> frigate  | [2022-05-19 15:36:04] ffmpeg.hof.detect              ERROR   : [rtsp @ 0x558ecac240] RTP: PT=60: bad cseq edec expected=ee9b
> frigate  | [2022-05-19 15:36:04] ffmpeg.hof.detect              ERROR   : [rtsp @ 0x558ecac240] RTP H.264 NAL unit type 29 is not implemented. Update your FFmpeg version to the newest one from Git. If the problem still occurs, it means that your file has a feature which has not been implemented.
> frigate  | [2022-05-19 15:36:04] ffmpeg.hof.detect              ERROR   : [rtsp @ 0x558ecac240] Undefined type (31)
> frigate  | [2022-05-19 15:36:04] ffmpeg.hof.detect              ERROR   : [rtsp @ 0x558ecac240] RTP: PT=60: bad cseq c7ba expected=c8b2
> frigate  | [2022-05-19 15:36:04] ffmpeg.hof.detect              ERROR   : [rtsp @ 0x558ecac240] nal size exceeds length: 5953 1425
> frigate  | [2022-05-19 15:36:04] ffmpeg.hof.detect              ERROR   : [rtsp @ 0x558ecac240] RTP: PT=60: bad cseq dca4 expected=de0b
> frigate  | [2022-05-19 15:36:04] ffmpeg.hof.detect              ERROR   : [rtsp @ 0x558ecac240] RTP: PT=60: bad cseq 88f5 expected=8a17
> frigate  | [2022-05-19 15:36:04] ffmpeg.hof.detect              ERROR   : [rtsp @ 0x558ecac240] RTP: PT=60: bad cseq 8b43 expected=8caf
> frigate  | [2022-05-19 15:36:10] frigate.video                  ERROR   : hof: Unable to read frames from ffmpeg process.
> frigate  | [2022-05-19 15:36:10] frigate.video                  ERROR   : hof: ffmpeg process is not running. exiting capture thread...
> frigate  | [2022-05-19 15:36:14] watchdog.hof                   ERROR   : Ffmpeg process crashed unexpectedly for hof.
> frigate  | [2022-05-19 15:36:14] watchdog.hof                   ERROR   : The following ffmpeg logs include the last 100 lines prior to exit.
> frigate  | [2022-05-19 15:36:14] ffmpeg.hof.detect              ERROR   : [tcp @ 0x556e49cf00] Connection to tcp://192.168.178.84:554?timeout=5000000 failed: Connection timed out
> frigate  | [2022-05-19 15:36:14] ffmpeg.hof.detect              ERROR   : rtsp://user:pa$$@192.168.178.84:554/Streaming/Channels/101: Connection timed out
> frigate  | [2022-05-19 15:36:15] frigate.video                  ERROR   : hof: Unable to read frames from ffmpeg process.
> frigate  | [2022-05-19 15:36:15] frigate.video                  ERROR   : hof: ffmpeg process is not running. exiting capture thread...
> frigate  | [2022-05-19 15:36:20] ws4py                          INFO    : Terminating websocket [Local => 127.0.0.1:5002 | Remote => 127.0.0.1:50838]
> frigate  | [2022-05-19 15:36:24] watchdog.hof                   ERROR   : Ffmpeg process crashed unexpectedly for hof.
> frigate  | [2022-05-19 15:36:24] watchdog.hof                   ERROR   : The following ffmpeg logs include the last 100 lines prior to exit.
> frigate  | [2022-05-19 15:36:24] ffmpeg.hof.detect              ERROR   : [tcp @ 0x55a359cf00] Connection to tcp://192.168.178.84:554?timeout=5000000 failed: Network is unreachable
> frigate  | [2022-05-19 15:36:24] ffmpeg.hof.detect              ERROR   : rtsp://user:pa$$@192.168.178.84:554/Streaming/Channels/101: Network is unreachable
> frigate  | [2022-05-19 15:36:25] frigate.video                  ERROR   : hof: Unable to read frames from ffmpeg process.
> frigate  | [2022-05-19 15:36:25] frigate.video                  ERROR   : hof: ffmpeg process is not running. exiting capture thread...
> frigate  | [2022-05-19 15:36:35] watchdog.hof                   ERROR   : Ffmpeg process crashed unexpectedly for hof.
> frigate  | [2022-05-19 15:36:35] watchdog.hof                   ERROR   : The following ffmpeg logs include the last 100 lines prior to exit.
> frigate  | [2022-05-19 15:36:35] ffmpeg.hof.detect              ERROR   : [tcp @ 0x559260bf00] Connection to tcp://192.168.178.84:554?timeout=5000000 failed: Network is unreachable
> frigate  | [2022-05-19 15:36:35] ffmpeg.hof.detect              ERROR   : rtsp://user:pa$$@192.168.178.84:554/Streaming/Channels/101: Network is unreachable
> frigate  | [2022-05-19 15:36:35] frigate.video                  ERROR   : hof: Unable to read frames from ffmpeg process.
> frigate  | [2022-05-19 15:36:35] frigate.video                  ERROR   : hof: ffmpeg process is not running. exiting capture thread...
> frigate  | [2022-05-19 15:36:45] watchdog.hof                   ERROR   : Ffmpeg process crashed unexpectedly for hof.
> frigate  | [2022-05-19 15:36:45] watchdog.hof                   ERROR   : The following ffmpeg logs include the last 100 lines prior to exit.
> frigate  | [2022-05-19 15:36:45] ffmpeg.hof.detect              ERROR   : [tcp @ 0x55a372ef00] Connection to tcp://192.168.178.84:554?timeout=5000000 failed: Network is unreachable
> frigate  | [2022-05-19 15:36:45] ffmpeg.hof.detect              ERROR   : rtsp://user:pa$$@192.168.178.84:554/Streaming/Channels/101: Network is unreachable
> frigate  | [2022-05-19 15:36:45] frigate.video                  ERROR   : hof: Unable to read frames from ffmpeg process.
> frigate  | [2022-05-19 15:36:45] frigate.video                  ERROR   : hof: ffmpeg process is not running. exiting capture thread...
> frigate  | [2022-05-19 15:36:55] watchdog.hof                   ERROR   : Ffmpeg process crashed unexpectedly for hof.
> frigate  | [2022-05-19 15:36:55] watchdog.hof                   ERROR   : The following ffmpeg logs include the last 100 lines prior to exit.
> frigate  | [2022-05-19 15:36:55] ffmpeg.hof.detect              ERROR   : [tcp @ 0x557f743f00] Connection to tcp://192.168.178.84:554?timeout=5000000 failed: Network is unreachable
> frigate  | [2022-05-19 15:36:55] ffmpeg.hof.detect              ERROR   : rtsp://user:pa$$@192.168.178.84:554/Streaming/Channels/101: Network is unreachable
> frigate  | [2022-05-19 15:36:58] frigate.video                  ERROR   : hof: Unable to read frames from ffmpeg process.
> frigate  | [2022-05-19 15:36:58] frigate.video                  ERROR   : hof: ffmpeg process is not running. exiting capture thread...
> frigate  | [2022-05-19 15:37:05] watchdog.hof                   ERROR   : Ffmpeg process crashed unexpectedly for hof.
> frigate  | [2022-05-19 15:37:05] watchdog.hof                   ERROR   : The following ffmpeg logs include the last 100 lines prior to exit.
> frigate  | [2022-05-19 15:37:05] ffmpeg.hof.detect              ERROR   : [tcp @ 0x5598187f00] Connection to tcp://192.168.178.84:554?timeout=5000000 failed: Network is unreachable
> frigate  | [2022-05-19 15:37:05] ffmpeg.hof.detect              ERROR   : rtsp://user:pa$$@192.168.178.84:554/Streaming/Channels/101: Network is unreachable
> frigate  | [2022-05-19 15:37:05] frigate.video                  ERROR   : hof: Unable to read frames from ffmpeg process.
> frigate  | [2022-05-19 15:37:05] frigate.video                  ERROR   : hof: ffmpeg process is not running. exiting capture thread...
> frigate  | [2022-05-19 15:37:15] watchdog.hof                   ERROR   : Ffmpeg process crashed unexpectedly for hof.
> frigate  | [2022-05-19 15:37:15] watchdog.hof                   ERROR   : The following ffmpeg logs include the last 100 lines prior to exit.
> frigate  | [2022-05-19 15:37:15] ffmpeg.hof.detect              ERROR   : [tcp @ 0x558d680f00] Connection to tcp://192.168.178.84:554?timeout=5000000 failed: Network is unreachable
> frigate  | [2022-05-19 15:37:15] ffmpeg.hof.detect              ERROR   : rtsp://user:pa$$@192.168.178.84:554/Streaming/Channels/101: Network is unreachable
> frigate  | [2022-05-19 15:37:15] frigate.video                  ERROR   : hof: Unable to read frames from ffmpeg process.
> frigate  | [2022-05-19 15:37:15] frigate.video                  ERROR   : hof: ffmpeg process is not running. exiting capture thread...
> frigate  | [2022-05-19 15:37:25] watchdog.hof                   ERROR   : Ffmpeg process crashed unexpectedly for hof.
> frigate  | [2022-05-19 15:37:25] watchdog.hof                   ERROR   : The following ffmpeg logs include the last 100 lines prior to exit.
> frigate  | [2022-05-19 15:37:25] ffmpeg.hof.detect              ERROR   : [tcp @ 0x55ad95af00] Connection to tcp://192.168.178.84:554?timeout=5000000 failed: Network is unreachable
> frigate  | [2022-05-19 15:37:25] ffmpeg.hof.detect              ERROR   : rtsp://user:pa$$@192.168.178.84:554/Streaming/Channels/101: Network is unreachable
> frigate  | [2022-05-19 15:37:25] frigate.video                  ERROR   : hof: Unable to read frames from ffmpeg process.
> frigate  | [2022-05-19 15:37:25] frigate.video                  ERROR   : hof: ffmpeg process is not running. exiting capture thread...
> frigate  | [2022-05-19 15:37:35] watchdog.hof                   ERROR   : Ffmpeg process crashed unexpectedly for hof.
> frigate  | [2022-05-19 15:37:35] watchdog.hof                   ERROR   : The following ffmpeg logs include the last 100 lines prior to exit.
> frigate  | [2022-05-19 15:37:35] ffmpeg.hof.detect              ERROR   : [tcp @ 0x55902f8f00] Connection to tcp://192.168.178.84:554?timeout=5000000 failed: Network is unreachable
> frigate  | [2022-05-19 15:37:35] ffmpeg.hof.detect              ERROR   : rtsp://admin:user:pa$$@192.168.178.84:554/Streaming/Channels/101: Network is unreachable
> frigate  | [2022-05-19 15:37:35] frigate.video                  ERROR   : hof: Unable to read frames from ffmpeg process.
> frigate  | [2022-05-19 15:37:35] frigate.video                  ERROR   : hof: ffmpeg process is not running. exiting capture thread...
> frigate  | [2022-05-19 15:37:45] watchdog.hof                   ERROR   : Ffmpeg process crashed unexpectedly for hof.
> frigate  | [2022-05-19 15:37:45] watchdog.hof                   ERROR   : The following ffmpeg logs include the last 100 lines prior to exit.
> frigate  | [2022-05-19 15:37:45] ffmpeg.hof.detect              ERROR   : [tcp @ 0x557c646f00] Connection to tcp://192.168.178.84:554?timeout=5000000 failed: Network is unreachable
> frigate  | [2022-05-19 15:37:45] ffmpeg.hof.detect              ERROR   : rtsp:/user:pa$$@192.168.178.84:554/Streaming/Channels/101: Network is unreachable
> frigate  | [2022-05-19 15:37:45] frigate.video                  ERROR   : hof: Unable to read frames from ffmpeg process.
> frigate  | [2022-05-19 15:37:45] frigate.video                  ERROR   : hof: ffmpeg process is not running. exiting capture thread...
> frigate  | [2022-05-19 15:37:55] watchdog.hof                   ERROR   : Ffmpeg process crashed unexpectedly for hof.
> frigate  | [2022-05-19 15:37:55] watchdog.hof                   ERROR   : The following ffmpeg logs include the last 100 lines prior to exit.
> frigate  | [2022-05-19 15:37:55] ffmpeg.hof.detect              ERROR   : [tcp @ 0x559e274f00] Connection to tcp://192.168.178.84:554?timeout=5000000 failed: Network is unreachable
> frigate  | [2022-05-19 15:37:55] ffmpeg.hof.detect              ERROR   : rtsp://user:pa$$@192.168.178.84:554/Streaming/Channels/101: Network is unreachableadmin:love.ispyU
> frigate  | [2022-05-19 15:42:55] ffmpeg.hof.detect              ERROR   : [tcp @ 0x55c19cdf00] Connection to tcp://192.168.178.84:554?timeout=5000000 failed: Network is unreachable
> frigate  | [2022-05-19 15:42:55] ffmpeg.hof.detect              ERROR   : rtsp://user:pa$$@192.168.178.84:554/Streaming/Channels/101: Network is unreachable
> frigate  | [2022-05-19 15:50:20] ws4py                          INFO    : Managing websocket [Local => 127.0.0.1:5002 | Remote => 127.0.0.1:50840]
> frigate  | [2022-05-19 15:54:24] ws4py                          INFO    : Terminating websocket [Local => 127.0.0.1:5002 | Remote => 127.0.0.1:50840]
> frigate  | [2022-05-19 18:45:22] frigate.video                  ERROR   : hof: Unable to read frames from ffmpeg process.
> frigate  | [2022-05-19 18:45:22] frigate.video                  ERROR   : hof: ffmpeg process is not running. exiting capture thread...
> frigate  | [2022-05-19 18:45:26] watchdog.hof                   ERROR   : Ffmpeg process crashed unexpectedly for hof.
> frigate  | [2022-05-19 18:45:26] watchdog.hof                   ERROR   : The following ffmpeg logs include the last 100 lines prior to exit.
> frigate  | [2022-05-19 18:45:26] ffmpeg.hof.detect              ERROR   : [rtsp @ 0x5577d67240] RTP: PT=60: bad cseq d8c7 expected=d9b2
> frigate  | [2022-05-19 18:45:26] ffmpeg.hof.detect              ERROR   : [rtsp @ 0x5577d67240] RTP: PT=60: bad cseq d1d8 expected=d3c8
> frigate  | [2022-05-19 18:45:26] ffmpeg.hof.detect              ERROR   : [rtsp @ 0x5577d67240] nal size exceeds length: 64031 1425
> frigate  | [2022-05-19 18:45:26] ffmpeg.hof.detect              ERROR   : [rtsp @ 0x5577d67240] RTP H.264 NAL unit type 26 is not implemented. Update your FFmpeg version to the newest one from Git. If the problem still occurs, it means that your file has a feature which has not been implemented.
> frigate  | [2022-05-19 18:45:26] ffmpeg.hof.detect              ERROR   : [rtsp @ 0x5577d67240] RTP: PT=60: bad cseq 1017 expected=1177
> frigate  | [2022-05-19 18:45:26] ffmpeg.hof.detect              ERROR   : [NULL @ 0x5577d6a130] missing picture in access unit with size 2858
> frigate  | [2022-05-19 18:45:26] ffmpeg.hof.detect              ERROR   : [NULL @ 0x5577d6a130] sps_id 1 out of range
> frigate  | [2022-05-19 18:45:26] ffmpeg.hof.detect              ERROR   : [rtsp @ 0x5577d67240] RTP: PT=60: bad cseq d633 expected=d72c
> frigate  | [2022-05-19 18:45:26] ffmpeg.hof.detect              ERROR   : [NULL @ 0x5577d6a130] SEI type 149 size 1320 truncated at 552
> frigate  | [2022-05-19 18:45:26] ffmpeg.hof.detect              ERROR   : [NULL @ 0x5577d6a130] missing picture in access unit with size 4290
> frigate  | [2022-05-19 18:45:26] ffmpeg.hof.detect              ERROR   : [rtsp @ 0x5577d67240] RTP: PT=60: bad cseq eb98 expected=eccf
> frigate  | [2022-05-19 18:45:26] ffmpeg.hof.detect              ERROR   : [rtsp @ 0x5577d67240] RTP: PT=60: bad cseq dfe6 expected=e169
> frigate  | [2022-05-19 18:45:26] ffmpeg.hof.detect              ERROR   : [rtsp @ 0x5577d67240] RTP: PT=60: bad cseq 0683 expected=0839
> frigate  | [2022-05-19 18:45:26] ffmpeg.hof.detect              ERROR   : [rtsp @ 0x5577d67240] RTP: PT=60: bad cseq 2ffa expected=31db
> frigate  | [2022-05-19 18:45:26] ffmpeg.hof.detect              ERROR   : [NULL @ 0x5577d6a130] log2_max_frame_num_minus4 out of range (0-12): 28
> frigate  | [2022-05-19 18:45:26] ffmpeg.hof.detect              ERROR   : [NULL @ 0x5577d6a130] non-existing PPS 2 referenced
> frigate  | [2022-05-19 18:45:26] ffmpeg.hof.detect              ERROR   : [rtsp @ 0x5577d67240] Undefined type (30)
> frigate  | [2022-05-19 18:45:26] ffmpeg.hof.detect              ERROR   : [rtsp @ 0x5577d67240] RTP: PT=60: bad cseq 0370 expected=0497
> frigate  | [2022-05-19 18:45:26] ffmpeg.hof.detect              ERROR   : [NULL @ 0x5577d6a130] non-existing PPS 3 referenced
> frigate  | [2022-05-19 18:45:26] ffmpeg.hof.detect              ERROR   : [segment @ 0x5577d87500] Non-monotonous DTS in output stream 0:0; previous: 72809048, current: 72809048; changing to 72809049. This may result in incorrect timestamps in the output file.
> frigate  | [2022-05-19 18:45:26] ffmpeg.hof.detect              ERROR   : [rtsp @ 0x5577d67240] Undefined type (30)
> frigate  | [2022-05-19 18:45:26] ffmpeg.hof.detect              ERROR   : [rtsp @ 0x5577d67240] nal size exceeds length: 6166 1425
> frigate  | [2022-05-19 22:49:38] ws4py                          INFO    : Managing websocket [Local => 127.0.0.1:5002 | Remote => 127.0.0.1:50842]
> frigate  | [2022-05-19 22:51:23] ws4py                          INFO    : Terminating websocket [Local => 127.0.0.1:5002 | Remote => 127.0.0.1:50842]
> frigate  | [2022-05-19 22:51:23] ws4py                          INFO    : Managing websocket [Local => 127.0.0.1:5002 | Remote => 127.0.0.1:50844]
>

FFprobe output from your camera

ffprobe version n5.0 Copyright (c) 2007-2022 the FFmpeg developers
  built with gcc 11.2.0 (GCC)
  configuration: --prefix=/usr --disable-debug --disable-static --disable-stripping --enable-amf --enable-avisynth --enable-cuda-llvm --enable-fontconfig --enable-gmp --enable-gnutls --enable-gpl --enable-ladspa --enable-libass --enable-libbluray --enable-libdav1d --enable-libdrm --enable-libfreetype --enable-libfribidi --enable-libgsm --enable-libiec61883 --enable-libjack --enable-libmodplug --enable-libmp3lame --enable-libopencore_amrnb --enable-libopencore_amrwb --enable-libopenjpeg --enable-libopus --enable-libpulse --enable-librsvg --enable-libsoxr --enable-libspeex --enable-libsrt --enable-libssh --enable-libtheora --enable-libv4l2 --enable-libvidstab --enable-libvorbis --enable-libvpx --enable-libwebp --enable-libx264 --enable-libx265 --enable-libxcb --enable-libxml2 --enable-libxvid --enable-libzimg --enable-shared --enable-version3 --host-cflags='"-fPIC"'
  libavutil      57. 17.100 / 57. 17.100
  libavcodec     59. 18.100 / 59. 18.100
  libavformat    59. 16.100 / 59. 16.100
  libavdevice    59.  4.100 / 59.  4.100
  libavfilter     8. 24.100 /  8. 24.100
  libswscale      6.  4.100 /  6.  4.100
  libswresample   4.  3.100 /  4.  3.100
  libpostproc    56.  3.100 / 56.  3.100
Input #0, rtsp, from 'rtsp://user:[email protected]:554/Streaming/Channels/1':
  Metadata:
    title           : Media Presentation
  Duration: N/A, start: 0.100000, bitrate: N/A
  Stream #0:0: Video: h264 (Baseline), yuv420p(progressive), 1920x1080, 10 fps, 10 tbr, 90k tbn

Frigate stats

No response

Operating system

Other

Install method

Docker Compose

Coral version

CPU (no coral)

Network connection

Wired

Camera make and model

HiLook IPC-D120

Any other information that may be helpful

Comlete Web-UI is "broken".

@NickM-27
Copy link
Collaborator

So restarting the Pi fixes this? ffmpeg complains of not being able to reach the camera which implies some sort of network / camera connection issue.

@elgorro
Copy link
Author

elgorro commented May 19, 2022

Not the Docker-Compose restart, but the RPi restart.

@NickM-27
Copy link
Collaborator

Okay, if docker compose restart doesn't fix it then that supports the idea that it is a network connection issue. Seems the rpi needs to get a fresh connection for some reason

@elgorro
Copy link
Author

elgorro commented May 27, 2022

Ummm.. I'm not into the code very far - just played a bit with config and ffmpeg parameters here and there. But I guess normally TCP is used and UDP has to be forced - so I guess in my case TCP has to re-establish or get (better) a new connection. A working UDP solution making much more sense in many cases I guess (May I find some time in the coming days to test).

@stale
Copy link

stale bot commented Jun 27, 2022

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.

@stale stale bot added the stale label Jun 27, 2022
@stale stale bot closed this as completed Jul 1, 2022
@elgorro
Copy link
Author

elgorro commented Jul 24, 2022

Now in 0.11-Beta7:

frigate | [2022-07-24 07:30:12] watchdog.hof INFO : No frames received from hof in 20 seconds. Exiting ffmpeg...
frigate | [2022-07-24 07:30:12] watchdog.hof INFO : Waiting for ffmpeg to exit gracefully...
frigate | [2022-07-24 07:30:42] watchdog.hof INFO : FFmpeg didnt exit. Force killing...
frigate | [2022-07-24 07:30:42] frigate.record WARNING : Discarding a corrupt recording segment: hof-20220724072942.mp4
frigate | [2022-07-24 07:30:51] frigate.video ERROR : hof: Unable to read frames from ffmpeg process.
frigate | [2022-07-24 07:30:51] frigate.video ERROR : hof: ffmpeg process is not running. exiting capture thread...
frigate | [2022-07-24 07:31:01] watchdog.hof ERROR : Ffmpeg process crashed unexpectedly for hof.
frigate | [2022-07-24 07:31:01] watchdog.hof ERROR : The following ffmpeg logs include the last 100 lines prior to exit.
frigate | [2022-07-24 07:31:01] ffmpeg.hof.detect ERROR : [segment @ 0x556a09a3a0] 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
frigate | [2022-07-24 07:31:01] ffmpeg.hof.detect ERROR : [segment @ 0x556a09a3a0] Non-monotonous DTS in output stream 0:0; previous: 0, current: 0; changing to 1. This may result in incorrect timestamps in the output file.
frigate | [2022-07-24 07:31:07] frigate.video ERROR : hof: Unable to read frames from ffmpeg process.
frigate | [2022-07-24 07:31:07] frigate.video ERROR : hof: ffmpeg process is not running. exiting capture thread...
frigate | [2022-07-24 07:31:11] watchdog.hof ERROR : Ffmpeg process crashed unexpectedly for hof.
frigate | [2022-07-24 07:31:11] watchdog.hof ERROR : The following ffmpeg logs include the last 100 lines prior to exit.
frigate | [2022-07-24 07:31:11] ffmpeg.hof.detect ERROR : [h264_v4l2m2m @ 0x559b5ae6a0] output VIDIOC_REQBUFS failed: Invalid argument
frigate | [2022-07-24 07:31:11] ffmpeg.hof.detect ERROR : [h264_v4l2m2m @ 0x559b5ae6a0] no v4l2 output context's buffers
frigate | [2022-07-24 07:31:11] ffmpeg.hof.detect ERROR : [h264_v4l2m2m @ 0x559b5ae6a0] can't configure decoder
frigate | [2022-07-24 07:31:11] ffmpeg.hof.detect ERROR : Error while opening decoder for input stream #0:0 : Inappropriate ioctl for device
frigate | [2022-07-24 07:31:17] frigate.video ERROR : hof: Unable to read frames from ffmpeg process.
frigate | [2022-07-24 07:31:17] frigate.video ERROR : hof: ffmpeg process is not running. exiting capture thread...
frigate | [2022-07-24 07:31:21] watchdog.hof ERROR : Ffmpeg process crashed unexpectedly for hof.
frigate | [2022-07-24 07:31:21] watchdog.hof ERROR : The following ffmpeg logs include the last 100 lines prior to exit.
frigate | [2022-07-24 07:31:21] ffmpeg.hof.detect ERROR : [h264_v4l2m2m @ 0x55851be0e0] output VIDIOC_REQBUFS failed: Invalid argument
frigate | [2022-07-24 07:31:21] ffmpeg.hof.detect ERROR : [h264_v4l2m2m @ 0x55851be0e0] no v4l2 output context's buffers
frigate | [2022-07-24 07:31:21] ffmpeg.hof.detect ERROR : [h264_v4l2m2m @ 0x55851be0e0] can't configure decoder

@NickM-27 Still something went wrong reinitialising, the last error-sequence looped endless

@NickM-27
Copy link
Collaborator

Not sure, I've not been able to reproduce this so it may also have to do with the camera as well. This shows it's not related to a specific ffmpeg version at least

@blakeblackshear
Copy link
Owner

It looks like the hardware decoder get stuck in a bad state and can't recover. If restarting frigate's docker container doesn't resolve it, then I am not sure what to do about this.

@stale stale bot removed the stale label Jul 24, 2022
@NickM-27
Copy link
Collaborator

Maybe check gpu memory config for the Pi?

@elgorro
Copy link
Author

elgorro commented Jul 24, 2022

Yea - same toughts here. Also there is no known reason why the input from the ip-cam (cable) is interrupted. I've the dtoverlay=rpivid-v4l2 enabled. Not sure if dtoverlay=vc4-kms-v3d or vc4-fkms-v3d is recommanded or something else is better? (specifics headless?). Disabled display_auto_detect=0 and max_framebuffers=0. gpu_mem=512 is absoluted.

@elgorro
Copy link
Author

elgorro commented Jul 26, 2022

IDK if it make sense in RC to upgrade FFmpeg, but there have been an update recently: https://ffmpeg.org/index.html#news to Version 5.1.

@BrodyStone21
Copy link

I had this exact same issue and it went away as soon as I disabled my hardware acceleration. I've been trying for three days now to get it working correctly. I'm on Ubuntu 21.04 LTS and the camera in question is a Raspberry Pi 4 running 32-bit Bullseye with the v2 camera module. I'm using libcamera, not the legacy option.

@NickM-27
Copy link
Collaborator

I had this exact same issue and it went away as soon as I disabled my hardware acceleration. I've been trying for three days now to get it working correctly. I'm on Ubuntu 21.04 LTS and the camera in question is a Raspberry Pi 4 running 32-bit Bullseye with the v2 camera module. I'm using libcamera, not the legacy option.

Are you running 0.11 as well?

@BrodyStone21
Copy link

mera

I'm on 0.11.0beta7

It is worth mentioning that my pi is running an mjpg stream, and I'm using Nvidia hardware acceleration.

The weird thing is, I had it working for a little bit. However, I can't get nvidia-smi to show that ffmpeg is running because it crashes immediately when using any hardware acceleration in my config.yml

@elgorro
Copy link
Author

elgorro commented Aug 3, 2022

@NickM-27 Since last error updated the config.txt. So you may can explain whats happening now. Sometimes the TPU gets dected sometimes not? I've a cron-job for autoupdate and restart daily at 2:30 AM.

frigate | [s6-init] making user provided files available at /var/run/s6/etc...exited 0.
frigate | [s6-init] ensuring user provided files have correct perms...exited 0.
frigate | [fix-attrs.d] applying ownership & permissions fixes...
frigate | [fix-attrs.d] done.
frigate | [cont-init.d] executing container initialization scripts...
frigate | [cont-init.d] done.
frigate | [services.d] starting services
frigate | [services.d] done.
frigate | [2022-07-24 12:11:44] frigate.app INFO : Starting Frigate (0.11.0-3c46a33)
frigate | Starting migrations
frigate | [2022-07-24 12:11:44] peewee_migrate INFO : Starting migrations
frigate | There is nothing to migrate
frigate | [2022-07-24 12:11:44] peewee_migrate INFO : There is nothing to migrate
frigate | [2022-07-24 12:11:44] frigate.app INFO : Output process started: 217
frigate | [2022-07-24 12:11:44] detector.coral INFO : Starting detection process: 215
frigate | [2022-07-24 12:11:44] frigate.edgetpu INFO : Attempting to load TPU as usb
frigate | [2022-07-24 12:11:44] ws4py INFO : Using epoll
frigate | [2022-07-24 12:11:44] frigate.app INFO : Camera processor started for hof: 219
frigate | [2022-07-24 12:11:44] frigate.app INFO : Capture process started for hof: 223
frigate | [2022-07-24 12:11:45] ws4py INFO : Using epoll
frigate | [2022-07-24 12:11:47] frigate.edgetpu INFO : TPU found
frigate | [2022-07-24 12:50:01] ws4py INFO : Managing websocket [Local => 127.0.0.1:5002 | Remote => 127.0.0.1:56078]
frigate | [2022-07-24 12:51:32] ws4py INFO : Terminating websocket [Local => 127.0.0.1:5002 | Remote => 127.0.0.1:56078]
frigate | [2022-07-24 13:02:55] frigate.watchdog INFO : Detection appears to be stuck. Restarting detection process...
frigate | [2022-07-24 13:02:55] root INFO : Waiting for detection process to exit gracefully...
frigate | [2022-07-24 13:03:25] root INFO : Detection process didnt exit. Force killing...
frigate | [2022-07-24 13:03:25] detector.coral INFO : Starting detection process: 681
frigate | [2022-07-24 13:03:25] frigate.edgetpu INFO : Attempting to load TPU as usb
frigate | [2022-07-24 13:03:28] frigate.edgetpu INFO : TPU found
frigate | [2022-07-24 15:07:04] ws4py INFO : Managing websocket [Local => 127.0.0.1:5002 | Remote => 127.0.0.1:35016]
frigate | [2022-07-24 15:09:09] ws4py INFO : Managing websocket [Local => 127.0.0.1:8082 | Remote => 127.0.0.1:45084]
frigate | [2022-07-24 15:09:15] ws4py INFO : Terminating websocket [Local => 127.0.0.1:5002 | Remote => 127.0.0.1:35016]
frigate | [2022-07-24 15:09:15] ws4py INFO : Terminating websocket [Local => 127.0.0.1:8082 | Remote => 127.0.0.1:45084]
frigate | [2022-07-24 15:16:07] ws4py INFO : Managing websocket [Local => 127.0.0.1:5002 | Remote => 127.0.0.1:54626]
frigate | [2022-07-24 15:16:15] ws4py INFO : Terminating websocket [Local => 127.0.0.1:5002 | Remote => 127.0.0.1:54626]
frigate | [2022-07-24 15:20:39] ws4py INFO : Managing websocket [Local => 127.0.0.1:5002 | Remote => 127.0.0.1:35892]
frigate | [2022-07-24 15:20:40] ws4py INFO : Managing websocket [Local => 127.0.0.1:8082 | Remote => 127.0.0.1:33314]
frigate | [2022-07-24 15:20:51] ws4py INFO : Terminating websocket [Local => 127.0.0.1:8082 | Remote => 127.0.0.1:33314]
frigate | [2022-07-24 15:20:51] ws4py INFO : Terminating websocket [Local => 127.0.0.1:5002 | Remote => 127.0.0.1:35892]
frigate | [2022-07-24 15:33:59] ws4py INFO : Managing websocket [Local => 127.0.0.1:5002 | Remote => 127.0.0.1:42098]
frigate | [2022-07-24 15:34:09] ws4py INFO : Managing websocket [Local => 127.0.0.1:8082 | Remote => 127.0.0.1:57970]
frigate | [2022-07-24 15:34:21] ws4py INFO : Terminating websocket [Local => 127.0.0.1:5002 | Remote => 127.0.0.1:42098]
frigate | [2022-07-24 15:34:21] ws4py INFO : Terminating websocket [Local => 127.0.0.1:8082 | Remote => 127.0.0.1:57970]
frigate | [2022-07-24 15:41:30] ws4py INFO : Managing websocket [Local => 127.0.0.1:5002 | Remote => 127.0.0.1:53132]
frigate | [2022-07-24 16:13:22] ws4py INFO : Managing websocket [Local => 127.0.0.1:5002 | Remote => 127.0.0.1:51954]
frigate | [2022-07-24 16:13:44] ws4py INFO : Terminating websocket [Local => 127.0.0.1:5002 | Remote => 127.0.0.1:51954]
frigate | [2022-07-24 16:38:59] ws4py INFO : Terminating websocket [Local => 127.0.0.1:5002 | Remote => 127.0.0.1:53132]
frigate | [2022-07-24 16:49:20] ws4py INFO : Managing websocket [Local => 127.0.0.1:5002 | Remote => 127.0.0.1:58296]
frigate | [2022-07-24 16:49:33] ws4py INFO : Terminating websocket [Local => 127.0.0.1:5002 | Remote => 127.0.0.1:58296]
frigate | [2022-07-24 17:20:12] frigate.object_processing WARNING : Unable to create jpg because frame 1658676012.118506 is not in the cache
frigate | [2022-07-24 17:21:33] frigate.object_processing WARNING : Unable to create jpg because frame 1658676092.22039 is not in the cache
frigate | [2022-07-24 17:48:04] frigate.object_processing WARNING : Unable to create jpg because frame 1658677683.425911 is not in the cache
frigate | [2022-07-24 18:54:16] ws4py INFO : Managing websocket [Local => 127.0.0.1:5002 | Remote => 127.0.0.1:52664]
frigate | [2022-07-24 18:54:18] ws4py INFO : Managing websocket [Local => 127.0.0.1:8082 | Remote => 127.0.0.1:44200]
frigate | [2022-07-24 18:54:20] ws4py INFO : Terminating websocket [Local => 127.0.0.1:8082 | Remote => 127.0.0.1:44200]
frigate | [2022-07-24 18:54:40] ws4py INFO : Terminating websocket [Local => 127.0.0.1:5002 | Remote => 127.0.0.1:52664]
frigate | [2022-07-24 18:59:15] ws4py INFO : Managing websocket [Local => 127.0.0.1:5002 | Remote => 127.0.0.1:48310]
frigate | [2022-07-24 18:59:30] ws4py INFO : Managing websocket [Local => 127.0.0.1:8082 | Remote => 127.0.0.1:37294]
frigate | [2022-07-24 19:00:45] ws4py INFO : Terminating websocket [Local => 127.0.0.1:8082 | Remote => 127.0.0.1:37294]
frigate | [2022-07-24 19:00:50] ws4py INFO : Terminating websocket [Local => 127.0.0.1:5002 | Remote => 127.0.0.1:48310]
frigate | [2022-07-24 19:05:42] ws4py INFO : Managing websocket [Local => 127.0.0.1:5002 | Remote => 127.0.0.1:34886]
frigate | [2022-07-24 19:05:44] ws4py INFO : Managing websocket [Local => 127.0.0.1:8082 | Remote => 127.0.0.1:52756]
frigate | [2022-07-24 19:07:01] ws4py INFO : Terminating websocket [Local => 127.0.0.1:5002 | Remote => 127.0.0.1:34886]
frigate | [2022-07-24 19:13:18] ws4py INFO : Terminating websocket [Local => 127.0.0.1:8082 | Remote => 127.0.0.1:52756]
frigate | [2022-07-24 22:24:41] ws4py INFO : Managing websocket [Local => 127.0.0.1:5002 | Remote => 127.0.0.1:58350]
frigate | [2022-07-24 22:34:03] ws4py INFO : Terminating websocket [Local => 127.0.0.1:5002 | Remote => 127.0.0.1:58350]
frigate | [2022-07-24 22:38:11] ws4py INFO : Managing websocket [Local => 127.0.0.1:8082 | Remote => 127.0.0.1:39874]
frigate | [2022-07-24 22:39:17] ws4py INFO : Terminating websocket [Local => 127.0.0.1:8082 | Remote => 127.0.0.1:39874]
frigate | [2022-07-25 00:34:09] frigate.watchdog INFO : Detection appears to be stuck. Restarting detection process...
frigate | [2022-07-25 00:34:09] root INFO : Waiting for detection process to exit gracefully...
frigate | [2022-07-25 00:34:39] root INFO : Detection process didnt exit. Force killing...
frigate | [2022-07-25 00:34:39] detector.coral INFO : Starting detection process: 5337
frigate | [2022-07-25 00:34:39] frigate.edgetpu INFO : Attempting to load TPU as usb
frigate | [2022-07-25 00:34:41] frigate.edgetpu INFO : TPU found
frigate | [cont-finish.d] executing container finish scripts...
frigate | [cont-finish.d] done.
frigate | [s6-finish] waiting for services.
frigate | [s6-finish] sending all processes the TERM signal.
frigate | [s6-finish] sending all processes the KILL signal and exiting.
frigate | [s6-init] making user provided files available at /var/run/s6/etc...exited 0.
frigate | [s6-init] ensuring user provided files have correct perms...exited 0.
frigate | [fix-attrs.d] applying ownership & permissions fixes...
frigate | [fix-attrs.d] done.
frigate | [cont-init.d] executing container initialization scripts...
frigate | [cont-init.d] done.
frigate | [services.d] starting services
frigate | [services.d] done.
frigate | [2022-07-25 02:32:05] frigate.app INFO : Starting Frigate (0.11.0-3c46a33)
frigate | Starting migrations
frigate | [2022-07-25 02:32:05] peewee_migrate INFO : Starting migrations
frigate | There is nothing to migrate
frigate | [2022-07-25 02:32:05] peewee_migrate INFO : There is nothing to migrate
frigate | [2022-07-25 02:32:05] frigate.app INFO : Output process started: 218
frigate | [2022-07-25 02:32:05] frigate.app INFO : Camera processor started for hof: 221
frigate | [2022-07-25 02:32:05] ws4py INFO : Using epoll
frigate | [2022-07-25 02:32:05] frigate.app INFO : Capture process started for hof: 224
frigate | [2022-07-25 02:32:05] detector.coral INFO : Starting detection process: 217
frigate | [2022-07-25 02:32:05] frigate.edgetpu INFO : Attempting to load TPU as usb
frigate | [2022-07-25 02:32:05] ws4py INFO : Using epoll
frigate | [2022-07-25 02:32:36] frigate.edgetpu ERROR : No EdgeTPU was detected. If you do not have a Coral device yet, you must configure CPU detectors.
frigate | Process detector:coral:
frigate | Traceback (most recent call last):
frigate | File "/usr/lib/python3/dist-packages/tflite_runtime/interpreter.py", line 160, in load_delegate
frigate | delegate = Delegate(library, options)
frigate | File "/usr/lib/python3/dist-packages/tflite_runtime/interpreter.py", line 119, in init
frigate | raise ValueError(capture.message)
frigate | ValueError
frigate |
frigate | During handling of the above exception, another exception occurred:
frigate |
frigate | Traceback (most recent call last):
frigate | File "/usr/lib/python3.9/multiprocessing/process.py", line 315, in _bootstrap
frigate | self.run()
frigate | File "/usr/lib/python3.9/multiprocessing/process.py", line 108, in run
frigate | self._target(*self._args, **self._kwargs)
frigate | File "/opt/frigate/frigate/edgetpu.py", line 135, in run_detector
frigate | object_detector = LocalObjectDetector(
frigate | File "/opt/frigate/frigate/edgetpu.py", line 43, in init
frigate | edge_tpu_delegate = load_delegate("libedgetpu.so.1.0", device_config)
frigate | File "/usr/lib/python3/dist-packages/tflite_runtime/interpreter.py", line 162, in load_delegate
frigate | raise ValueError('Failed to load delegate from {}\n{}'.format(
frigate | ValueError: Failed to load delegate from libedgetpu.so.1.0
frigate |
frigate | [2022-07-25 02:32:45] frigate.watchdog INFO : Detection appears to have stopped. Exiting frigate...
frigate | [cont-finish.d] executing container finish scripts...
frigate | [cont-finish.d] done.
frigate | [s6-finish] waiting for services.
frigate | [s6-finish] sending all processes the TERM signal.
frigate | [s6-finish] sending all processes the KILL signal and exiting.
frigate | [s6-init] making user provided files available at /var/run/s6/etc...exited 0.
frigate | [s6-init] ensuring user provided files have correct perms...exited 0.
frigate | [fix-attrs.d] applying ownership & permissions fixes...
frigate | [fix-attrs.d] done.
frigate | [cont-init.d] executing container initialization scripts...
frigate | [cont-init.d] done.
frigate | [services.d] starting services
frigate | [services.d] done.
frigate | [2022-07-25 02:32:54] frigate.app INFO : Starting Frigate (0.11.0-3c46a33)
frigate | Starting migrations
frigate | [2022-07-25 02:32:54] peewee_migrate INFO : Starting migrations
frigate | There is nothing to migrate
frigate | [2022-07-25 02:32:54] peewee_migrate INFO : There is nothing to migrate
frigate | [2022-07-25 02:32:54] frigate.app INFO : Output process started: 217
frigate | [2022-07-25 02:32:54] ws4py INFO : Using epoll
frigate | [2022-07-25 02:32:54] frigate.app INFO : Camera processor started for hof: 223
frigate | [2022-07-25 02:32:54] frigate.app INFO : Capture process started for hof: 225
frigate | [2022-07-25 02:32:55] ws4py INFO : Using epoll
frigate | [2022-07-25 02:32:54] detector.coral INFO : Starting detection process: 216
frigate | [2022-07-25 02:32:54] frigate.edgetpu INFO : Attempting to load TPU as usb
frigate | [2022-07-25 02:32:57] frigate.edgetpu INFO : TPU found
frigate | [2022-07-25 07:12:55] ws4py INFO : Managing websocket [Local => 127.0.0.1:5002 | Remote => 127.0.0.1:56112]
frigate | [2022-07-25 07:13:10] ws4py INFO : Terminating websocket [Local => 127.0.0.1:5002 | Remote => 127.0.0.1:56112]
frigate | [2022-07-25 09:16:46] ws4py INFO : Managing websocket [Local => 127.0.0.1:5002 | Remote => 127.0.0.1:34536]
frigate | [2022-07-25 09:20:07] ws4py INFO : Terminating websocket [Local => 127.0.0.1:5002 | Remote => 127.0.0.1:34536]
frigate | [2022-07-25 10:26:03] frigate.object_processing WARNING : Unable to create jpg because frame 1658737559.775039 is not in the cache
frigate | [2022-07-25 10:42:55] ws4py INFO : Managing websocket [Local => 127.0.0.1:5002 | Remote => 127.0.0.1:55212]
frigate | [2022-07-25 10:43:14] ws4py INFO : Managing websocket [Local => 127.0.0.1:8082 | Remote => 127.0.0.1:49360]
frigate | [2022-07-25 10:43:22] ws4py INFO : Terminating websocket [Local => 127.0.0.1:8082 | Remote => 127.0.0.1:49360]
frigate | [2022-07-25 10:43:22] ws4py INFO : Terminating websocket [Local => 127.0.0.1:5002 | Remote => 127.0.0.1:55212]
frigate | [2022-07-25 10:49:28] frigate.object_processing WARNING : Unable to create jpg because frame 1658738967.385931 is not in the cache
frigate | [2022-07-25 10:51:21] frigate.object_processing WARNING : Unable to create jpg because frame 1658739080.985052 is not in the cache
frigate | [2022-07-25 11:01:02] frigate.object_processing WARNING : Unable to create jpg because frame 1658739661.215947 is not in the cache
frigate | [2022-07-25 11:40:01] ws4py INFO : Managing websocket [Local => 127.0.0.1:5002 | Remote => 127.0.0.1:53130]
frigate | [2022-07-25 11:40:52] ws4py INFO : Terminating websocket [Local => 127.0.0.1:5002 | Remote => 127.0.0.1:53130]
frigate | [2022-07-25 11:56:07] ws4py INFO : Managing websocket [Local => 127.0.0.1:5002 | Remote => 127.0.0.1:48684]
frigate | [2022-07-25 11:56:07] ws4py INFO : Managing websocket [Local => 127.0.0.1:8082 | Remote => 127.0.0.1:53430]
frigate | [2022-07-25 11:56:09] ws4py INFO : Terminating websocket [Local => 127.0.0.1:8082 | Remote => 127.0.0.1:53430]
frigate | [2022-07-25 12:14:00] ws4py INFO : Terminating websocket [Local => 127.0.0.1:5002 | Remote => 127.0.0.1:48684]
frigate | [2022-07-25 12:22:05] frigate.object_processing WARNING : Unable to create jpg because frame 1658744524.272798 is not in the cache
frigate | [2022-07-25 12:44:57] frigate.object_processing WARNING : Unable to create jpg because frame 1658745893.443728 is not in the cache
frigate | [2022-07-25 12:46:48] frigate.object_processing WARNING : Unable to create jpg because frame 1658746004.957878 is not in the cache
frigate | [2022-07-25 12:47:27] frigate.object_processing WARNING : Unable to create jpg because frame 1658746044.769993 is not in the cache
frigate | [2022-07-25 12:48:02] frigate.object_processing WARNING : Unable to create jpg because frame 1658746081.065004 is not in the cache
frigate | [2022-07-25 14:06:17] ws4py INFO : Managing websocket [Local => 127.0.0.1:5002 | Remote => 127.0.0.1:41866]
frigate | [2022-07-25 14:07:02] ws4py INFO : Terminating websocket [Local => 127.0.0.1:5002 | Remote => 127.0.0.1:41866]
frigate | [2022-07-25 14:09:41] ws4py INFO : Managing websocket [Local => 127.0.0.1:5002 | Remote => 127.0.0.1:53002]
frigate | [2022-07-25 14:09:44] ws4py INFO : Managing websocket [Local => 127.0.0.1:8082 | Remote => 127.0.0.1:49648]
frigate | [2022-07-25 14:09:47] ws4py INFO : Terminating websocket [Local => 127.0.0.1:8082 | Remote => 127.0.0.1:49648]
frigate | [2022-07-25 14:10:39] ws4py INFO : Terminating websocket [Local => 127.0.0.1:5002 | Remote => 127.0.0.1:53002]
frigate | [2022-07-25 14:18:05] ws4py INFO : Managing websocket [Local => 127.0.0.1:5002 | Remote => 127.0.0.1:59076]
frigate | [2022-07-25 14:18:07] ws4py INFO : Managing websocket [Local => 127.0.0.1:8082 | Remote => 127.0.0.1:50426]
frigate | [2022-07-25 14:18:17] ws4py INFO : Terminating websocket [Local => 127.0.0.1:8082 | Remote => 127.0.0.1:50426]
frigate | [2022-07-25 14:18:27] ws4py INFO : Managing websocket [Local => 127.0.0.1:8082 | Remote => 127.0.0.1:55142]
frigate | [2022-07-25 14:22:14] ws4py INFO : Terminating websocket [Local => 127.0.0.1:8082 | Remote => 127.0.0.1:55142]
frigate | [2022-07-25 14:24:41] ws4py INFO : Terminating websocket [Local => 127.0.0.1:5002 | Remote => 127.0.0.1:59076]
frigate | [2022-07-25 14:24:46] ws4py INFO : Managing websocket [Local => 127.0.0.1:5002 | Remote => 127.0.0.1:51760]
frigate | [2022-07-25 14:24:49] ws4py INFO : Terminating websocket [Local => 127.0.0.1:5002 | Remote => 127.0.0.1:51760]
frigate | [2022-07-25 15:07:07] frigate.object_processing WARNING : Unable to create jpg because frame 1658754425.641957 is not in the cache
frigate | [2022-07-25 16:08:08] frigate.object_processing WARNING : Unable to create jpg because frame 1658758087.684192 is not in the cache
frigate | [2022-07-25 19:41:13] frigate.object_processing WARNING : Unable to create jpg because frame 1658770872.924353 is not in the cache
frigate | [2022-07-25 20:01:44] ws4py INFO : Managing websocket [Local => 127.0.0.1:5002 | Remote => 127.0.0.1:55640]
frigate | [2022-07-25 20:02:16] ws4py INFO : Terminating websocket [Local => 127.0.0.1:5002 | Remote => 127.0.0.1:55640]
frigate | [2022-07-25 20:09:31] ws4py INFO : Managing websocket [Local => 127.0.0.1:5002 | Remote => 127.0.0.1:52236]
frigate | [2022-07-25 20:27:01] ws4py INFO : Terminating websocket [Local => 127.0.0.1:5002 | Remote => 127.0.0.1:52236]
frigate | [2022-07-25 21:50:04] ws4py INFO : Managing websocket [Local => 127.0.0.1:5002 | Remote => 127.0.0.1:39058]
frigate | [2022-07-25 21:51:39] ws4py INFO : Terminating websocket [Local => 127.0.0.1:5002 | Remote => 127.0.0.1:39058]
frigate | [2022-07-26 00:05:30] frigate.watchdog INFO : Detection appears to be stuck. Restarting detection process...
frigate | [2022-07-26 00:05:30] root INFO : Waiting for detection process to exit gracefully...
frigate | [2022-07-26 00:06:00] root INFO : Detection process didnt exit. Force killing...
frigate | [2022-07-26 00:06:00] detector.coral INFO : Starting detection process: 8572
frigate | [2022-07-26 00:06:00] frigate.edgetpu INFO : Attempting to load TPU as usb
frigate | [2022-07-26 00:06:03] frigate.edgetpu INFO : TPU found
frigate | [2022-07-26 00:23:20] frigate.watchdog INFO : Detection appears to be stuck. Restarting detection process...
frigate | [2022-07-26 00:23:20] root INFO : Waiting for detection process to exit gracefully...
frigate | [2022-07-26 00:23:51] root INFO : Detection process didnt exit. Force killing...
frigate | [2022-07-26 00:23:51] detector.coral INFO : Starting detection process: 8689
frigate | [2022-07-26 00:23:51] frigate.edgetpu INFO : Attempting to load TPU as usb
frigate | [2022-07-26 00:23:53] frigate.edgetpu INFO : TPU found
frigate | [2022-07-26 00:36:21] frigate.watchdog INFO : Detection appears to be stuck. Restarting detection process...
frigate | [2022-07-26 00:36:21] root INFO : Waiting for detection process to exit gracefully...
frigate | [2022-07-26 00:36:51] root INFO : Detection process didnt exit. Force killing...
frigate | [2022-07-26 00:36:51] detector.coral INFO : Starting detection process: 8778
frigate | [2022-07-26 00:36:51] frigate.edgetpu INFO : Attempting to load TPU as usb
frigate | [2022-07-26 00:36:53] frigate.edgetpu INFO : TPU found
frigate | [cont-finish.d] executing container finish scripts...
frigate | [cont-finish.d] done.
frigate | [s6-finish] waiting for services.
frigate | [s6-finish] sending all processes the TERM signal.
frigate | [s6-finish] sending all processes the KILL signal and exiting.
frigate | [s6-init] making user provided files available at /var/run/s6/etc...exited 0.
frigate | [s6-init] ensuring user provided files have correct perms...exited 0.
frigate | [fix-attrs.d] applying ownership & permissions fixes...
frigate | [fix-attrs.d] done.
frigate | [cont-init.d] executing container initialization scripts...
frigate | [cont-init.d] done.
frigate | [services.d] starting services
frigate | [services.d] done.
frigate | [2022-07-26 02:33:53] frigate.app INFO : Starting Frigate (0.11.0-3c46a33)
frigate | Starting migrations
frigate | [2022-07-26 02:33:53] peewee_migrate INFO : Starting migrations
frigate | There is nothing to migrate
frigate | [2022-07-26 02:33:53] peewee_migrate INFO : There is nothing to migrate
frigate | [2022-07-26 02:33:54] frigate.app INFO : Output process started: 217
frigate | [2022-07-26 02:33:54] frigate.app INFO : Camera processor started for hof: 220
frigate | [2022-07-26 02:33:54] ws4py INFO : Using epoll
frigate | [2022-07-26 02:33:54] frigate.app INFO : Capture process started for hof: 223
frigate | [2022-07-26 02:33:54] detector.coral INFO : Starting detection process: 216
frigate | [2022-07-26 02:33:54] frigate.edgetpu INFO : Attempting to load TPU as usb
frigate | [2022-07-26 02:33:54] ws4py INFO : Using epoll
frigate | [2022-07-26 02:34:22] frigate.edgetpu ERROR : No EdgeTPU was detected. If you do not have a Coral device yet, you must configure CPU detectors.
frigate | Process detector:coral:
frigate | Traceback (most recent call last):
frigate | File "/usr/lib/python3/dist-packages/tflite_runtime/interpreter.py", line 160, in load_delegate
frigate | delegate = Delegate(library, options)
frigate | File "/usr/lib/python3/dist-packages/tflite_runtime/interpreter.py", line 119, in init
frigate | raise ValueError(capture.message)
frigate | ValueError
frigate |
frigate | During handling of the above exception, another exception occurred:
frigate |
frigate | Traceback (most recent call last):
frigate | File "/usr/lib/python3.9/multiprocessing/process.py", line 315, in _bootstrap
frigate | self.run()
frigate | File "/usr/lib/python3.9/multiprocessing/process.py", line 108, in run
frigate | self._target(*self._args, **self._kwargs)
frigate | File "/opt/frigate/frigate/edgetpu.py", line 135, in run_detector
frigate | object_detector = LocalObjectDetector(
frigate | File "/opt/frigate/frigate/edgetpu.py", line 43, in init
frigate | edge_tpu_delegate = load_delegate("libedgetpu.so.1.0", device_config)
frigate | File "/usr/lib/python3/dist-packages/tflite_runtime/interpreter.py", line 162, in load_delegate
frigate | raise ValueError('Failed to load delegate from {}\n{}'.format(
frigate | ValueError: Failed to load delegate from libedgetpu.so.1.0
frigate |
frigate | [2022-07-26 02:34:24] frigate.watchdog INFO : Detection appears to have stopped. Exiting frigate...
frigate | [cont-finish.d] executing container finish scripts...
frigate | [cont-finish.d] done.
frigate | [s6-finish] waiting for services.
frigate | [s6-finish] sending all processes the TERM signal.
frigate | [s6-finish] sending all processes the KILL signal and exiting.
frigate | [s6-init] making user provided files available at /var/run/s6/etc...exited 0.
frigate | [s6-init] ensuring user provided files have correct perms...exited 0.
frigate | [fix-attrs.d] applying ownership & permissions fixes...
frigate | [fix-attrs.d] done.
frigate | [cont-init.d] executing container initialization scripts...
frigate | [cont-init.d] done.
frigate | [services.d] starting services
frigate | [services.d] done.
frigate | [2022-07-26 02:34:33] frigate.app INFO : Starting Frigate (0.11.0-3c46a33)
frigate | Starting migrations
frigate | [2022-07-26 02:34:33] peewee_migrate INFO : Starting migrations
frigate | There is nothing to migrate
frigate | [2022-07-26 02:34:33] peewee_migrate INFO : There is nothing to migrate
frigate | [2022-07-26 02:34:33] frigate.app INFO : Output process started: 217
frigate | [2022-07-26 02:34:33] ws4py INFO : Using epoll
frigate | [2022-07-26 02:34:33] frigate.app INFO : Camera processor started for hof: 223
frigate | [2022-07-26 02:34:33] frigate.app INFO : Capture process started for hof: 225
frigate | [2022-07-26 02:34:34] ws4py INFO : Using epoll
frigate | [2022-07-26 02:34:33] detector.coral INFO : Starting detection process: 216
frigate | [2022-07-26 02:34:33] frigate.edgetpu INFO : Attempting to load TPU as usb
frigate | [2022-07-26 02:34:36] frigate.edgetpu INFO : TPU found
frigate | [2022-07-26 04:40:02] ws4py INFO : Managing websocket [Local => 127.0.0.1:5002 | Remote => 127.0.0.1:39582]
frigate | [2022-07-26 04:40:22] ws4py INFO : Terminating websocket [Local => 127.0.0.1:5002 | Remote => 127.0.0.1:39582]
frigate | [2022-07-26 09:29:30] ws4py INFO : Managing websocket [Local => 127.0.0.1:5002 | Remote => 127.0.0.1:37886]
frigate | [2022-07-26 09:30:10] ws4py INFO : Terminating websocket [Local => 127.0.0.1:5002 | Remote => 127.0.0.1:37886]
frigate | [2022-07-26 12:09:56] frigate.object_processing WARNING : Unable to create jpg because frame 1658830195.699206 is not in the cache
frigate | [2022-07-26 12:55:05] ws4py INFO : Managing websocket [Local => 127.0.0.1:5002 | Remote => 127.0.0.1:52934]
frigate | [2022-07-26 12:55:48] ws4py INFO : Terminating websocket [Local => 127.0.0.1:5002 | Remote => 127.0.0.1:52934]
frigate | [2022-07-26 13:29:05] frigate.object_processing WARNING : Unable to create jpg because frame 1658834944.609306 is not in the cache
frigate | [2022-07-26 14:56:11] frigate.object_processing WARNING : Unable to create jpg because frame 1658840170.341585 is not in the cache
frigate | [2022-07-26 15:32:50] frigate.object_processing WARNING : Unable to create jpg because frame 1658842368.038224 is not in the cache
frigate | [2022-07-26 16:10:14] ws4py INFO : Managing websocket [Local => 127.0.0.1:5002 | Remote => 127.0.0.1:46068]
frigate | [2022-07-26 16:10:21] ws4py INFO : Terminating websocket [Local => 127.0.0.1:5002 | Remote => 127.0.0.1:46068]
frigate | [2022-07-26 16:10:21] ws4py INFO : Managing websocket [Local => 127.0.0.1:5002 | Remote => 127.0.0.1:46078]
frigate | [2022-07-26 16:15:52] ws4py INFO : Terminating websocket [Local => 127.0.0.1:5002 | Remote => 127.0.0.1:46078]
frigate | [2022-07-26 16:22:48] ws4py INFO : Managing websocket [Local => 127.0.0.1:5002 | Remote => 127.0.0.1:35060]
frigate | [2022-07-26 16:23:17] ws4py INFO : Terminating websocket [Local => 127.0.0.1:5002 | Remote => 127.0.0.1:35060]
frigate | [2022-07-26 16:43:07] frigate.object_processing WARNING : Unable to create jpg because frame 1658846587.005202 is not in the cache
frigate | [2022-07-26 17:42:02] frigate.object_processing WARNING : Unable to create jpg because frame 1658850121.136402 is not in the cache
frigate | [2022-07-26 19:52:52] ws4py INFO : Managing websocket [Local => 127.0.0.1:5002 | Remote => 127.0.0.1:46354]
frigate | [2022-07-26 19:56:58] ws4py INFO : Managing websocket [Local => 127.0.0.1:8082 | Remote => 127.0.0.1:46452]
frigate | [2022-07-26 19:57:29] ws4py INFO : Terminating websocket [Local => 127.0.0.1:8082 | Remote => 127.0.0.1:46452]
frigate | [2022-07-26 19:58:57] ws4py INFO : Terminating websocket [Local => 127.0.0.1:5002 | Remote => 127.0.0.1:46354]
frigate | [2022-07-26 20:16:59] ws4py INFO : Managing websocket [Local => 127.0.0.1:5002 | Remote => 127.0.0.1:37550]
frigate | [2022-07-26 20:17:27] ws4py INFO : Terminating websocket [Local => 127.0.0.1:5002 | Remote => 127.0.0.1:37550]
frigate | [2022-07-26 20:30:30] frigate.watchdog INFO : Detection appears to be stuck. Restarting detection process...
frigate | [2022-07-26 20:30:30] root INFO : Waiting for detection process to exit gracefully...
frigate | [2022-07-26 20:31:00] root INFO : Detection process didnt exit. Force killing...
frigate | [2022-07-26 20:31:00] detector.coral INFO : Starting detection process: 7470
frigate | [2022-07-26 20:31:00] frigate.edgetpu INFO : Attempting to load TPU as usb
frigate | [2022-07-26 20:31:03] frigate.edgetpu INFO : TPU found
frigate | [2022-07-26 20:49:30] frigate.watchdog INFO : Detection appears to be stuck. Restarting detection process...
frigate | [2022-07-26 20:49:30] root INFO : Waiting for detection process to exit gracefully...
frigate | [2022-07-26 20:50:00] root INFO : Detection process didnt exit. Force killing...
frigate | [2022-07-26 20:50:00] detector.coral INFO : Starting detection process: 7595
frigate | [2022-07-26 20:50:00] frigate.edgetpu INFO : Attempting to load TPU as usb
frigate | [2022-07-26 20:50:03] frigate.edgetpu INFO : TPU found
frigate | [2022-07-26 23:03:21] frigate.watchdog INFO : Detection appears to be stuck. Restarting detection process...
frigate | [2022-07-26 23:03:21] root INFO : Waiting for detection process to exit gracefully...
frigate | [2022-07-26 23:03:51] root INFO : Detection process didnt exit. Force killing...
frigate | [2022-07-26 23:03:51] detector.coral INFO : Starting detection process: 8409
frigate | [2022-07-26 23:03:51] frigate.edgetpu INFO : Attempting to load TPU as usb
frigate | [2022-07-26 23:03:54] frigate.edgetpu INFO : TPU found
frigate | [cont-finish.d] executing container finish scripts...
frigate | [cont-finish.d] done.
frigate | [s6-finish] waiting for services.
frigate | [s6-finish] sending all processes the TERM signal.
frigate | [s6-finish] sending all processes the KILL signal and exiting.
frigate | [s6-init] making user provided files available at /var/run/s6/etc...exited 0.
frigate | [s6-init] ensuring user provided files have correct perms...exited 0.
frigate | [fix-attrs.d] applying ownership & permissions fixes...
frigate | [fix-attrs.d] done.
frigate | [cont-init.d] executing container initialization scripts...
frigate | [cont-init.d] done.
frigate | [services.d] starting services
frigate | [services.d] done.
frigate | [2022-07-27 02:32:22] frigate.app INFO : Starting Frigate (0.11.0-3c46a33)
frigate | Starting migrations
frigate | [2022-07-27 02:32:22] peewee_migrate INFO : Starting migrations
frigate | There is nothing to migrate
frigate | [2022-07-27 02:32:22] peewee_migrate INFO : There is nothing to migrate
frigate | [2022-07-27 02:32:22] frigate.app INFO : Output process started: 217
frigate | [2022-07-27 02:32:22] frigate.app INFO : Camera processor started for hof: 220
frigate | [2022-07-27 02:32:22] ws4py INFO : Using epoll
frigate | [2022-07-27 02:32:22] frigate.app INFO : Capture process started for hof: 223
frigate | [2022-07-27 02:32:22] detector.coral INFO : Starting detection process: 216
frigate | [2022-07-27 02:32:22] frigate.edgetpu INFO : Attempting to load TPU as usb
frigate | [2022-07-27 02:32:23] ws4py INFO : Using epoll
frigate | [2022-07-27 02:32:54] frigate.edgetpu ERROR : No EdgeTPU was detected. If you do not have a Coral device yet, you must configure CPU detectors.
frigate | Process detector:coral:
frigate | Traceback (most recent call last):
frigate | File "/usr/lib/python3/dist-packages/tflite_runtime/interpreter.py", line 160, in load_delegate
frigate | delegate = Delegate(library, options)
frigate | File "/usr/lib/python3/dist-packages/tflite_runtime/interpreter.py", line 119, in init
frigate | raise ValueError(capture.message)
frigate | ValueError
frigate |
frigate | During handling of the above exception, another exception occurred:
frigate |
frigate | Traceback (most recent call last):
frigate | File "/usr/lib/python3.9/multiprocessing/process.py", line 315, in _bootstrap
frigate | self.run()
frigate | File "/usr/lib/python3.9/multiprocessing/process.py", line 108, in run
frigate | self._target(*self._args, **self._kwargs)
frigate | File "/opt/frigate/frigate/edgetpu.py", line 135, in run_detector
frigate | object_detector = LocalObjectDetector(
frigate | File "/opt/frigate/frigate/edgetpu.py", line 43, in init
frigate | edge_tpu_delegate = load_delegate("libedgetpu.so.1.0", device_config)
frigate | File "/usr/lib/python3/dist-packages/tflite_runtime/interpreter.py", line 162, in load_delegate
frigate | raise ValueError('Failed to load delegate from {}\n{}'.format(
frigate | ValueError: Failed to load delegate from libedgetpu.so.1.0
frigate |
frigate | [2022-07-27 02:33:03] frigate.watchdog INFO : Detection appears to have stopped. Exiting frigate...
frigate | [cont-finish.d] executing container finish scripts...
frigate | [cont-finish.d] done.
frigate | [s6-finish] waiting for services.
frigate | [s6-finish] sending all processes the TERM signal.
frigate | [s6-finish] sending all processes the KILL signal and exiting.
frigate | [s6-init] making user provided files available at /var/run/s6/etc...exited 0.
frigate | [s6-init] ensuring user provided files have correct perms...exited 0.
frigate | [fix-attrs.d] applying ownership & permissions fixes...
frigate | [fix-attrs.d] done.
frigate | [cont-init.d] executing container initialization scripts...
frigate | [cont-init.d] done.
frigate | [services.d] starting services
frigate | [services.d] done.
frigate | [2022-07-27 02:33:12] frigate.app INFO : Starting Frigate (0.11.0-3c46a33)
frigate | Starting migrations
frigate | [2022-07-27 02:33:12] peewee_migrate INFO : Starting migrations
frigate | There is nothing to migrate
frigate | [2022-07-27 02:33:12] peewee_migrate INFO : There is nothing to migrate
frigate | [2022-07-27 02:33:12] detector.coral INFO : Starting detection process: 216
frigate | [2022-07-27 02:33:12] frigate.edgetpu INFO : Attempting to load TPU as usb
frigate | [2022-07-27 02:33:12] frigate.app INFO : Output process started: 218
frigate | [2022-07-27 02:33:12] ws4py INFO : Using epoll
frigate | [2022-07-27 02:33:12] frigate.app INFO : Camera processor started for hof: 223
frigate | [2022-07-27 02:33:12] frigate.app INFO : Capture process started for hof: 225
frigate | [2022-07-27 02:33:12] ws4py INFO : Using epoll
frigate | [2022-07-27 02:33:15] frigate.edgetpu INFO : TPU found
frigate | [2022-07-27 05:56:12] ws4py INFO : Managing websocket [Local => 127.0.0.1:5002 | Remote => 127.0.0.1:35098]
frigate | [2022-07-27 05:57:35] ws4py INFO : Terminating websocket [Local => 127.0.0.1:5002 | Remote => 127.0.0.1:35098]
frigate | [2022-07-27 06:42:23] frigate.watchdog INFO : Detection appears to be stuck. Restarting detection process...
frigate | [2022-07-27 06:42:23] root INFO : Waiting for detection process to exit gracefully...
frigate | [2022-07-27 06:42:53] root INFO : Detection process didnt exit. Force killing...
frigate | [2022-07-27 06:42:53] detector.coral INFO : Starting detection process: 1823
frigate | [2022-07-27 06:42:54] frigate.edgetpu INFO : Attempting to load TPU as usb
frigate | [2022-07-27 06:42:56] frigate.edgetpu INFO : TPU found
frigate | [2022-07-27 06:50:09] ws4py INFO : Managing websocket [Local => 127.0.0.1:5002 | Remote => 127.0.0.1:42300]
frigate | [2022-07-27 06:50:30] ws4py INFO : Terminating websocket [Local => 127.0.0.1:5002 | Remote => 127.0.0.1:42300]
frigate | [2022-07-27 10:59:50] ws4py INFO : Managing websocket [Local => 127.0.0.1:5002 | Remote => 127.0.0.1:41188]
frigate | [2022-07-27 11:00:02] ws4py INFO : Terminating websocket [Local => 127.0.0.1:5002 | Remote => 127.0.0.1:41188]
frigate | [2022-07-27 11:00:02] ws4py INFO : Managing websocket [Local => 127.0.0.1:5002 | Remote => 127.0.0.1:52548]
frigate | [2022-07-27 11:00:03] ws4py INFO : Terminating websocket [Local => 127.0.0.1:5002 | Remote => 127.0.0.1:52548]
frigate | [2022-07-27 11:00:04] ws4py INFO : Managing websocket [Local => 127.0.0.1:5002 | Remote => 127.0.0.1:52552]
frigate | [2022-07-27 11:00:25] ws4py INFO : Terminating websocket [Local => 127.0.0.1:5002 | Remote => 127.0.0.1:52552]
frigate | [2022-07-27 11:37:15] frigate.watchdog INFO : Detection appears to be stuck. Restarting detection process...
frigate | [2022-07-27 11:37:15] root INFO : Waiting for detection process to exit gracefully...
frigate | [2022-07-27 11:37:45] root INFO : Detection process didnt exit. Force killing...
frigate | [2022-07-27 11:37:45] detector.coral INFO : Starting detection process: 3711
frigate | [2022-07-27 11:37:45] frigate.edgetpu INFO : Attempting to load TPU as usb
frigate | [2022-07-27 11:37:48] frigate.edgetpu INFO : TPU found
frigate | [2022-07-27 14:34:04] ws4py INFO : Managing websocket [Local => 127.0.0.1:5002 | Remote => 127.0.0.1:59166]
frigate | [2022-07-27 14:35:39] ws4py INFO : Terminating websocket [Local => 127.0.0.1:5002 | Remote => 127.0.0.1:59166]
frigate | [2022-07-27 14:35:41] ws4py INFO : Managing websocket [Local => 127.0.0.1:5002 | Remote => 127.0.0.1:43912]
frigate | [2022-07-27 14:44:57] ws4py INFO : Terminating websocket [Local => 127.0.0.1:5002 | Remote => 127.0.0.1:43912]
frigate | [2022-07-27 15:57:02] frigate.object_processing WARNING : Unable to create jpg because frame 1658930221.877508 is not in the cache
frigate | [2022-07-27 16:06:26] frigate.object_processing WARNING : Unable to create jpg because frame 1658930782.631491 is not in the cache
frigate | [2022-07-27 16:26:44] frigate.object_processing WARNING : Unable to create jpg because frame 1658931999.890054 is not in the cache
frigate | [2022-07-27 16:26:45] frigate.object_processing WARNING : Unable to create jpg because frame 1658931999.890054 is not in the cache
frigate | [2022-07-27 16:26:45] frigate.object_processing WARNING : Unable to save snapshot for 1658931847.29981-pgshp0.
frigate | [2022-07-27 16:26:45] frigate.object_processing WARNING : Unable to create clean png because frame 1658931999.890054 is not in the cache
frigate | [2022-07-27 16:26:45] frigate.object_processing WARNING : Unable to save clean snapshot for 1658931847.29981-pgshp0.
frigate | [2022-07-27 16:26:45] frigate.object_processing WARNING : Unable to create jpg because frame 1658931999.890054 is not in the cache
frigate | [2022-07-27 16:26:45] frigate.object_processing WARNING : Unable to create jpg because frame 1658931999.890054 is not in the cache
frigate | [2022-07-27 16:26:45] frigate.object_processing WARNING : Unable to send mqtt snapshot for 1658931847.29981-pgshp0.
frigate | [2022-07-27 16:28:40] frigate.object_processing WARNING : Unable to create jpg because frame 1658932119.208833 is not in the cache
frigate | [2022-07-27 16:29:41] frigate.object_processing WARNING : Unable to create jpg because frame 1658932179.916082 is not in the cache
frigate | [2022-07-27 16:29:46] frigate.object_processing WARNING : Unable to create jpg because frame 1658932179.916082 is not in the cache
frigate | [2022-07-27 16:29:46] frigate.object_processing WARNING : Unable to save snapshot for 1658932130.803436-50xnfz.
frigate | [2022-07-27 16:29:46] frigate.object_processing WARNING : Unable to create clean png because frame 1658932179.916082 is not in the cache
frigate | [2022-07-27 16:29:46] frigate.object_processing WARNING : Unable to save clean snapshot for 1658932130.803436-50xnfz.
frigate | [2022-07-27 16:29:46] frigate.object_processing WARNING : Unable to create jpg because frame 1658932179.916082 is not in the cache
frigate | [2022-07-27 16:35:37] ws4py INFO : Managing websocket [Local => 127.0.0.1:5002 | Remote => 127.0.0.1:58330]
frigate | [2022-07-27 16:36:16] ws4py INFO : Terminating websocket [Local => 127.0.0.1:5002 | Remote => 127.0.0.1:58330]
frigate | [2022-07-27 16:40:43] frigate.object_processing WARNING : Unable to create jpg because frame 1658932841.994676 is not in the cache
frigate | [2022-07-27 18:04:45] frigate.object_processing WARNING : Unable to create jpg because frame 1658937884.251513 is not in the cache
frigate | [2022-07-27 18:26:21] frigate.object_processing WARNING : Unable to create jpg because frame 1658939180.483943 is not in the cache
frigate | [2022-07-27 18:26:38] frigate.object_processing WARNING : Unable to create jpg because frame 1658939180.483943 is not in the cache
frigate | [2022-07-27 18:26:38] frigate.object_processing WARNING : Unable to save snapshot for 1658939169.788538-wymb01.
frigate | [2022-07-27 18:26:38] frigate.object_processing WARNING : Unable to create clean png because frame 1658939180.483943 is not in the cache
frigate | [2022-07-27 18:26:38] frigate.object_processing WARNING : Unable to save clean snapshot for 1658939169.788538-wymb01.
frigate | [2022-07-27 18:26:38] frigate.object_processing WARNING : Unable to create jpg because frame 1658939180.483943 is not in the cache
frigate | [2022-07-27 18:26:38] frigate.object_processing WARNING : Unable to create jpg because frame 1658939180.483943 is not in the cache
frigate | [2022-07-27 18:26:38] frigate.object_processing WARNING : Unable to send mqtt snapshot for 1658939169.788538-wymb01.
frigate | [2022-07-27 18:40:19] ws4py INFO : Managing websocket [Local => 127.0.0.1:5002 | Remote => 127.0.0.1:42984]
frigate | [2022-07-27 18:42:35] ws4py INFO : Terminating websocket [Local => 127.0.0.1:5002 | Remote => 127.0.0.1:42984]
frigate | [2022-07-27 18:45:34] ws4py INFO : Managing websocket [Local => 127.0.0.1:5002 | Remote => 127.0.0.1:34718]
frigate | [2022-07-27 18:46:22] ws4py INFO : Terminating websocket [Local => 127.0.0.1:5002 | Remote => 127.0.0.1:34718]
frigate | [2022-07-27 18:51:08] ws4py INFO : Managing websocket [Local => 127.0.0.1:5002 | Remote => 127.0.0.1:51954]
frigate | [2022-07-27 18:51:15] ws4py INFO : Terminating websocket [Local => 127.0.0.1:5002 | Remote => 127.0.0.1:51954]
frigate | [2022-07-27 19:18:03] frigate.object_processing WARNING : Unable to create jpg because frame 1658942281.621232 is not in the cache
frigate | [2022-07-27 19:25:20] frigate.object_processing WARNING : Unable to create jpg because frame 1658942719.753819 is not in the cache
frigate | [2022-07-27 19:25:20] frigate.object_processing WARNING : Unable to create jpg because frame 1658942719.329628 is not in the cache
frigate | [2022-07-27 19:25:25] frigate.object_processing WARNING : Unable to create jpg because frame 1658942719.329628 is not in the cache
frigate | [2022-07-27 19:25:25] frigate.object_processing WARNING : Unable to save snapshot for 1658942534.097723-xp887l.
frigate | [2022-07-27 19:25:25] frigate.object_processing WARNING : Unable to create clean png because frame 1658942719.329628 is not in the cache
frigate | [2022-07-27 19:25:25] frigate.object_processing WARNING : Unable to save clean snapshot for 1658942534.097723-xp887l.
frigate | [2022-07-27 19:25:25] frigate.object_processing WARNING : Unable to create jpg because frame 1658942719.329628 is not in the cache
frigate | [2022-07-27 21:15:50] ws4py INFO : Managing websocket [Local => 127.0.0.1:5002 | Remote => 127.0.0.1:37522]
frigate | [2022-07-27 21:15:59] ws4py INFO : Terminating websocket [Local => 127.0.0.1:5002 | Remote => 127.0.0.1:37522]
frigate | [2022-07-27 21:19:26] ws4py INFO : Managing websocket [Local => 127.0.0.1:5002 | Remote => 127.0.0.1:42136]
frigate | [2022-07-27 21:20:34] ws4py INFO : Terminating websocket [Local => 127.0.0.1:5002 | Remote => 127.0.0.1:42136]
frigate | [2022-07-27 21:20:35] ws4py INFO : Managing websocket [Local => 127.0.0.1:5002 | Remote => 127.0.0.1:38044]
frigate | [2022-07-27 21:26:09] frigate.watchdog INFO : Detection appears to be stuck. Restarting detection process...
frigate | [2022-07-27 21:26:09] root INFO : Waiting for detection process to exit gracefully...
frigate | [2022-07-27 21:26:39] root INFO : Detection process didnt exit. Force killing...
frigate | [2022-07-27 21:26:39] detector.coral INFO : Starting detection process: 7617
frigate | [2022-07-27 21:26:39] frigate.edgetpu INFO : Attempting to load TPU as usb
frigate | [2022-07-27 21:26:42] frigate.edgetpu INFO : TPU found
frigate | [2022-07-27 21:28:30] ws4py INFO : Terminating websocket [Local => 127.0.0.1:5002 | Remote => 127.0.0.1:38044]
frigate | [2022-07-27 22:19:56] ws4py INFO : Managing websocket [Local => 127.0.0.1:5002 | Remote => 127.0.0.1:56960]
frigate | [2022-07-27 22:21:38] ws4py INFO : Terminating websocket [Local => 127.0.0.1:5002 | Remote => 127.0.0.1:56960]
frigate | [cont-finish.d] executing container finish scripts...
frigate | [cont-finish.d] done.
frigate | [s6-finish] waiting for services.
frigate | [s6-finish] sending all processes the TERM signal.
frigate | [s6-finish] sending all processes the KILL signal and exiting.
frigate | [s6-init] making user provided files available at /var/run/s6/etc...exited 0.
frigate | [s6-init] ensuring user provided files have correct perms...exited 0.
frigate | [fix-attrs.d] applying ownership & permissions fixes...
frigate | [fix-attrs.d] done.
frigate | [cont-init.d] executing container initialization scripts...
frigate | [cont-init.d] done.
frigate | [services.d] starting services
frigate | [services.d] done.
frigate | [2022-07-28 02:37:04] frigate.app INFO : Starting Frigate (0.11.0-3c46a33)
frigate | Starting migrations
frigate | [2022-07-28 02:37:05] peewee_migrate INFO : Starting migrations
frigate | There is nothing to migrate
frigate | [2022-07-28 02:37:05] peewee_migrate INFO : There is nothing to migrate
frigate | [2022-07-28 02:37:05] frigate.app INFO : Output process started: 217
frigate | [2022-07-28 02:37:05] frigate.app INFO : Camera processor started for hof: 220
frigate | [2022-07-28 02:37:05] ws4py INFO : Using epoll
frigate | [2022-07-28 02:37:05] frigate.app INFO : Capture process started for hof: 223
frigate | [2022-07-28 02:37:05] detector.coral INFO : Starting detection process: 216
frigate | [2022-07-28 02:37:05] frigate.edgetpu INFO : Attempting to load TPU as usb
frigate | [2022-07-28 02:37:05] ws4py INFO : Using epoll
frigate | [2022-07-28 02:37:36] frigate.edgetpu ERROR : No EdgeTPU was detected. If you do not have a Coral device yet, you must configure CPU detectors.
frigate | Process detector:coral:
frigate | Traceback (most recent call last):
frigate | File "/usr/lib/python3/dist-packages/tflite_runtime/interpreter.py", line 160, in load_delegate
frigate | delegate = Delegate(library, options)
frigate | File "/usr/lib/python3/dist-packages/tflite_runtime/interpreter.py", line 119, in init
frigate | raise ValueError(capture.message)
frigate | ValueError
frigate |
frigate | During handling of the above exception, another exception occurred:
frigate |
frigate | Traceback (most recent call last):
frigate | File "/usr/lib/python3.9/multiprocessing/process.py", line 315, in _bootstrap
frigate | self.run()
frigate | File "/usr/lib/python3.9/multiprocessing/process.py", line 108, in run
frigate | self._target(*self._args, **self._kwargs)
frigate | File "/opt/frigate/frigate/edgetpu.py", line 135, in run_detector
frigate | object_detector = LocalObjectDetector(
frigate | File "/opt/frigate/frigate/edgetpu.py", line 43, in init
frigate | edge_tpu_delegate = load_delegate("libedgetpu.so.1.0", device_config)
frigate | File "/usr/lib/python3/dist-packages/tflite_runtime/interpreter.py", line 162, in load_delegate
frigate | raise ValueError('Failed to load delegate from {}\n{}'.format(
frigate | ValueError: Failed to load delegate from libedgetpu.so.1.0
frigate |
frigate | [2022-07-28 02:37:45] frigate.watchdog INFO : Detection appears to have stopped. Exiting frigate...
frigate | [cont-finish.d] executing container finish scripts...
frigate | [cont-finish.d] done.
frigate | [s6-finish] waiting for services.
frigate | [s6-finish] sending all processes the TERM signal.
frigate | [s6-finish] sending all processes the KILL signal and exiting.
frigate | [s6-init] making user provided files available at /var/run/s6/etc...exited 0.
frigate | [s6-init] ensuring user provided files have correct perms...exited 0.
frigate | [fix-attrs.d] applying ownership & permissions fixes...
frigate | [fix-attrs.d] done.
frigate | [cont-init.d] executing container initialization scripts...
frigate | [cont-init.d] done.
frigate | [services.d] starting services
frigate | [services.d] done.
frigate | [2022-07-28 02:37:54] frigate.app INFO : Starting Frigate (0.11.0-3c46a33)
frigate | Starting migrations
frigate | [2022-07-28 02:37:54] peewee_migrate INFO : Starting migrations
frigate | There is nothing to migrate
frigate | [2022-07-28 02:37:54] peewee_migrate INFO : There is nothing to migrate
frigate | [2022-07-28 02:37:54] frigate.app INFO : Output process started: 218
frigate | [2022-07-28 02:37:54] detector.coral INFO : Starting detection process: 216
frigate | [2022-07-28 02:37:54] frigate.edgetpu INFO : Attempting to load TPU as usb
frigate | [2022-07-28 02:37:55] frigate.app INFO : Camera processor started for hof: 220
frigate | [2022-07-28 02:37:55] frigate.app INFO : Capture process started for hof: 222
frigate | [2022-07-28 02:37:55] ws4py INFO : Using epoll
frigate | [2022-07-28 02:37:55] ws4py INFO : Using epoll
frigate | [2022-07-28 02:37:57] frigate.edgetpu INFO : TPU found
frigate | [2022-07-28 03:51:35] frigate.watchdog INFO : Detection appears to be stuck. Restarting detection process...
frigate | [2022-07-28 03:51:35] root INFO : Waiting for detection process to exit gracefully...
frigate | [2022-07-28 03:52:05] root INFO : Detection process didnt exit. Force killing...
frigate | [2022-07-28 03:52:05] detector.coral INFO : Starting detection process: 711
frigate | [2022-07-28 03:52:05] frigate.edgetpu INFO : Attempting to load TPU as usb
frigate | [2022-07-28 03:52:08] frigate.edgetpu INFO : TPU found
frigate | [2022-07-28 06:37:46] frigate.watchdog INFO : Detection appears to be stuck. Restarting detection process...
frigate | [2022-07-28 06:37:46] root INFO : Waiting for detection process to exit gracefully...
frigate | [2022-07-28 06:38:16] root INFO : Detection process didnt exit. Force killing...
frigate | [2022-07-28 06:38:16] detector.coral INFO : Starting detection process: 1723
frigate | [2022-07-28 06:38:16] frigate.edgetpu INFO : Attempting to load TPU as usb
frigate | [2022-07-28 06:38:19] frigate.edgetpu INFO : TPU found
frigate | [2022-07-28 06:43:33] frigate.object_processing WARNING : Unable to create jpg because frame 1658983411.808079 is not in the cache
frigate | [2022-07-28 06:43:41] frigate.object_processing WARNING : Unable to create jpg because frame 1658983411.808079 is not in the cache
frigate | [2022-07-28 06:43:41] frigate.object_processing WARNING : Unable to save snapshot for 1658983320.769779-8l3ia0.
frigate | [2022-07-28 06:43:41] frigate.object_processing WARNING : Unable to create clean png because frame 1658983411.808079 is not in the cache
frigate | [2022-07-28 06:43:41] frigate.object_processing WARNING : Unable to save clean snapshot for 1658983320.769779-8l3ia0.
frigate | [2022-07-28 06:43:41] frigate.object_processing WARNING : Unable to create jpg because frame 1658983411.808079 is not in the cache
frigate | [2022-07-28 07:49:58] frigate.object_processing WARNING : Unable to create jpg because frame 1658987394.235146 is not in the cache
frigate | [2022-07-28 07:55:37] ws4py INFO : Managing websocket [Local => 127.0.0.1:5002 | Remote => 127.0.0.1:57180]
frigate | [2022-07-28 08:01:37] ws4py INFO : Terminating websocket [Local => 127.0.0.1:5002 | Remote => 127.0.0.1:57180]
frigate | [2022-07-28 08:30:41] ws4py INFO : Managing websocket [Local => 127.0.0.1:5002 | Remote => 127.0.0.1:45936]
frigate | [2022-07-28 08:31:02] ws4py INFO : Terminating websocket [Local => 127.0.0.1:5002 | Remote => 127.0.0.1:45936]
frigate | [2022-07-28 09:09:58] frigate.object_processing WARNING : Unable to create jpg because frame 1658992197.101327 is not in the cache
frigate | [2022-07-28 09:09:59] frigate.object_processing WARNING : Unable to create jpg because frame 1658992197.101327 is not in the cache
frigate | [2022-07-28 09:50:08] frigate.object_processing WARNING : Unable to create jpg because frame 1658994607.910778 is not in the cache
frigate | [2022-07-28 10:28:26] frigate.object_processing WARNING : Unable to create jpg because frame 1658996905.818646 is not in the cache
frigate | [2022-07-28 18:21:51] ws4py INFO : Managing websocket [Local => 127.0.0.1:5002 | Remote => 127.0.0.1:37526]
frigate | [2022-07-28 18:23:44] ws4py INFO : Terminating websocket [Local => 127.0.0.1:5002 | Remote => 127.0.0.1:37526]
frigate | [2022-07-28 19:49:11] frigate.object_processing WARNING : Unable to create jpg because frame 1659030550.078507 is not in the cache
frigate | [2022-07-28 19:49:23] frigate.object_processing WARNING : Unable to create jpg because frame 1659030562.888986 is not in the cache
frigate | [2022-07-28 20:27:49] frigate.object_processing WARNING : Unable to create jpg because frame 1659032865.891588 is not in the cache
frigate | [2022-07-28 20:27:51] frigate.object_processing WARNING : Unable to create jpg because frame 1659032865.891588 is not in the cache
frigate | [2022-07-28 20:27:51] frigate.object_processing WARNING : Unable to save snapshot for 1659032224.32604-rjrqgd.
frigate | [2022-07-28 20:27:51] frigate.object_processing WARNING : Unable to create clean png because frame 1659032865.891588 is not in the cache
frigate | [2022-07-28 20:27:51] frigate.object_processing WARNING : Unable to save clean snapshot for 1659032224.32604-rjrqgd.
frigate | [2022-07-28 20:27:51] frigate.object_processing WARNING : Unable to create jpg because frame 1659032865.891588 is not in the cache
frigate | [2022-07-28 20:49:16] frigate.object_processing WARNING : Unable to create jpg because frame 1659034156.097581 is not in the cache
frigate | [2022-07-28 20:49:23] frigate.object_processing WARNING : Unable to create jpg because frame 1659034156.097581 is not in the cache
frigate | [2022-07-28 20:49:23] frigate.object_processing WARNING : Unable to save snapshot for 1659033623.888343-as27nv.
frigate | [2022-07-28 20:49:23] frigate.object_processing WARNING : Unable to create clean png because frame 1659034156.097581 is not in the cache
frigate | [2022-07-28 20:49:23] frigate.object_processing WARNING : Unable to save clean snapshot for 1659033623.888343-as27nv.
frigate | [2022-07-28 20:49:23] frigate.object_processing WARNING : Unable to create jpg because frame 1659034156.097581 is not in the cache
frigate | [2022-07-28 20:49:23] frigate.object_processing WARNING : Unable to create jpg because frame 1659034156.097581 is not in the cache
frigate | [2022-07-28 20:49:23] frigate.object_processing WARNING : Unable to send mqtt snapshot for 1659033623.888343-as27nv.
frigate | [2022-07-28 20:52:03] frigate.watchdog INFO : Detection appears to be stuck. Restarting detection process...
frigate | [2022-07-28 20:52:03] root INFO : Waiting for detection process to exit gracefully...
frigate | [2022-07-28 20:52:33] root INFO : Detection process didnt exit. Force killing...
frigate | [2022-07-28 20:52:33] detector.coral INFO : Starting detection process: 7009
frigate | [2022-07-28 20:52:33] frigate.edgetpu INFO : Attempting to load TPU as usb
frigate | [2022-07-28 20:52:36] frigate.edgetpu INFO : TPU found
frigate | [cont-finish.d] executing container finish scripts...
frigate | [cont-finish.d] done.
frigate | [s6-finish] waiting for services.
frigate | [s6-finish] sending all processes the TERM signal.
frigate | [s6-finish] sending all processes the KILL signal and exiting.
frigate | [s6-init] making user provided files available at /var/run/s6/etc...exited 0.
frigate | [s6-init] ensuring user provided files have correct perms...exited 0.
frigate | [fix-attrs.d] applying ownership & permissions fixes...
frigate | [fix-attrs.d] done.
frigate | [cont-init.d] executing container initialization scripts...
frigate | [cont-init.d] done.
frigate | [services.d] starting services
frigate | [services.d] done.
frigate | [2022-07-29 02:32:15] frigate.app INFO : Starting Frigate (0.11.0-3c46a33)
frigate | Starting migrations
frigate | [2022-07-29 02:32:15] peewee_migrate INFO : Starting migrations
frigate | There is nothing to migrate
frigate | [2022-07-29 02:32:15] peewee_migrate INFO : There is nothing to migrate
frigate | [2022-07-29 02:32:15] frigate.app INFO : Output process started: 217
frigate | [2022-07-29 02:32:15] frigate.app INFO : Camera processor started for hof: 220
frigate | [2022-07-29 02:32:15] ws4py INFO : Using epoll
frigate | [2022-07-29 02:32:15] frigate.app INFO : Capture process started for hof: 223
frigate | [2022-07-29 02:32:15] detector.coral INFO : Starting detection process: 216
frigate | [2022-07-29 02:32:15] frigate.edgetpu INFO : Attempting to load TPU as usb
frigate | [2022-07-29 02:32:16] ws4py INFO : Using epoll
frigate | [2022-07-29 02:32:47] frigate.edgetpu ERROR : No EdgeTPU was detected. If you do not have a Coral device yet, you must configure CPU detectors.
frigate | Process detector:coral:
frigate | Traceback (most recent call last):
frigate | File "/usr/lib/python3/dist-packages/tflite_runtime/interpreter.py", line 160, in load_delegate
frigate | delegate = Delegate(library, options)
frigate | File "/usr/lib/python3/dist-packages/tflite_runtime/interpreter.py", line 119, in init
frigate | raise ValueError(capture.message)
frigate | ValueError
frigate |
frigate | During handling of the above exception, another exception occurred:
frigate |
frigate | Traceback (most recent call last):
frigate | File "/usr/lib/python3.9/multiprocessing/process.py", line 315, in _bootstrap
frigate | self.run()
frigate | File "/usr/lib/python3.9/multiprocessing/process.py", line 108, in run
frigate | self._target(*self._args, **self._kwargs)
frigate | File "/opt/frigate/frigate/edgetpu.py", line 135, in run_detector
frigate | object_detector = LocalObjectDetector(
frigate | File "/opt/frigate/frigate/edgetpu.py", line 43, in init
frigate | edge_tpu_delegate = load_delegate("libedgetpu.so.1.0", device_config)
frigate | File "/usr/lib/python3/dist-packages/tflite_runtime/interpreter.py", line 162, in load_delegate
frigate | raise ValueError('Failed to load delegate from {}\n{}'.format(
frigate | ValueError: Failed to load delegate from libedgetpu.so.1.0
frigate |
frigate | [2022-07-29 02:32:56] frigate.watchdog INFO : Detection appears to have stopped. Exiting frigate...
frigate | [cont-finish.d] executing container finish scripts...
frigate | [cont-finish.d] done.
frigate | [s6-finish] waiting for services.
frigate | [s6-finish] sending all processes the TERM signal.
frigate | [s6-finish] sending all processes the KILL signal and exiting.
frigate | [s6-init] making user provided files available at /var/run/s6/etc...exited 0.
frigate | [s6-init] ensuring user provided files have correct perms...exited 0.
frigate | [fix-attrs.d] applying ownership & permissions fixes...
frigate | [fix-attrs.d] done.
frigate | [cont-init.d] executing container initialization scripts...
frigate | [cont-init.d] done.
frigate | [services.d] starting services
frigate | [services.d] done.
frigate | [2022-07-29 02:33:05] frigate.app INFO : Starting Frigate (0.11.0-3c46a33)
frigate | Starting migrations
frigate | [2022-07-29 02:33:05] peewee_migrate INFO : Starting migrations
frigate | There is nothing to migrate
frigate | [2022-07-29 02:33:05] peewee_migrate INFO : There is nothing to migrate
frigate | [2022-07-29 02:33:05] frigate.app INFO : Output process started: 217
frigate | [2022-07-29 02:33:05] detector.coral INFO : Starting detection process: 216
frigate | [2022-07-29 02:33:05] frigate.edgetpu INFO : Attempting to load TPU as usb
frigate | [2022-07-29 02:33:05] ws4py INFO : Using epoll
frigate | [2022-07-29 02:33:05] frigate.app INFO : Camera processor started for hof: 221
frigate | [2022-07-29 02:33:05] frigate.app INFO : Capture process started for hof: 225
frigate | [2022-07-29 02:33:05] ws4py INFO : Using epoll
frigate | [2022-07-29 02:33:08] frigate.edgetpu INFO : TPU found
frigate | [2022-07-29 07:58:25] frigate.object_processing WARNING : Unable to create jpg because frame 1659074305.430033 is not in the cache
frigate | [2022-07-29 07:58:30] frigate.object_processing WARNING : Unable to create jpg because frame 1659074305.430033 is not in the cache
frigate | [2022-07-29 07:58:30] frigate.object_processing WARNING : Unable to save snapshot for 1659071556.303911-au14d3.
frigate | [2022-07-29 07:58:30] frigate.object_processing WARNING : Unable to create clean png because frame 1659074305.430033 is not in the cache
frigate | [2022-07-29 07:58:30] frigate.object_processing WARNING : Unable to save clean snapshot for 1659071556.303911-au14d3.
frigate | [2022-07-29 07:58:30] frigate.object_processing WARNING : Unable to create jpg because frame 1659074305.430033 is not in the cache
frigate | [2022-07-29 11:30:09] frigate.object_processing WARNING : Unable to create jpg because frame 1659087007.025643 is not in the cache
frigate | [2022-07-29 11:30:13] frigate.object_processing WARNING : Unable to create jpg because frame 1659087007.025643 is not in the cache
frigate | [2022-07-29 11:30:13] frigate.object_processing WARNING : Unable to save snapshot for 1659086994.712915-9yfwqs.
frigate | [2022-07-29 11:30:13] frigate.object_processing WARNING : Unable to create clean png because frame 1659087007.025643 is not in the cache
frigate | [2022-07-29 11:30:13] frigate.object_processing WARNING : Unable to save clean snapshot for 1659086994.712915-9yfwqs.
frigate | [2022-07-29 11:30:13] frigate.object_processing WARNING : Unable to create jpg because frame 1659087007.025643 is not in the cache
frigate | [2022-07-29 14:27:12] frigate.object_processing WARNING : Unable to create jpg because frame 1659097630.946365 is not in the cache
frigate | [2022-07-29 14:27:25] frigate.object_processing WARNING : Unable to create jpg because frame 1659097630.946365 is not in the cache
frigate | [2022-07-29 14:27:25] frigate.object_processing WARNING : Unable to save snapshot for 1659097620.600164-eapqx8.
frigate | [2022-07-29 14:27:25] frigate.object_processing WARNING : Unable to create clean png because frame 1659097630.946365 is not in the cache
frigate | [2022-07-29 14:27:25] frigate.object_processing WARNING : Unable to save clean snapshot for 1659097620.600164-eapqx8.
frigate | [2022-07-29 14:27:25] frigate.object_processing WARNING : Unable to create jpg because frame 1659097630.946365 is not in the cache
frigate | [2022-07-29 16:38:27] frigate.object_processing WARNING : Unable to create jpg because frame 1659105506.409459 is not in the cache
frigate | [2022-07-29 23:09:02] frigate.watchdog INFO : Detection appears to be stuck. Restarting detection process...
frigate | [2022-07-29 23:09:02] root INFO : Waiting for detection process to exit gracefully...
frigate | [2022-07-29 23:09:32] root INFO : Detection process didnt exit. Force killing...
frigate | [2022-07-29 23:09:32] detector.coral INFO : Starting detection process: 7707
frigate | [2022-07-29 23:09:32] frigate.edgetpu INFO : Attempting to load TPU as usb
frigate | [2022-07-29 23:09:35] frigate.edgetpu INFO : TPU found
frigate | [2022-07-30 00:24:42] frigate.watchdog INFO : Detection appears to be stuck. Restarting detection process...
frigate | [2022-07-30 00:24:42] root INFO : Waiting for detection process to exit gracefully...
frigate | [2022-07-30 00:25:12] root INFO : Detection process didnt exit. Force killing...
frigate | [2022-07-30 00:25:12] detector.coral INFO : Starting detection process: 8172
frigate | [2022-07-30 00:25:12] frigate.edgetpu INFO : Attempting to load TPU as usb
frigate | [2022-07-30 00:25:15] frigate.edgetpu INFO : TPU found
frigate | [2022-07-30 00:25:32] frigate.watchdog INFO : Detection appears to be stuck. Restarting detection process...
frigate | [2022-07-30 00:25:32] root INFO : Waiting for detection process to exit gracefully...
frigate | [2022-07-30 00:26:02] root INFO : Detection process didnt exit. Force killing...
frigate | [2022-07-30 00:26:02] detector.coral INFO : Starting detection process: 8187
frigate | [2022-07-30 00:26:02] frigate.edgetpu INFO : Attempting to load TPU as usb
frigate | [2022-07-30 00:26:05] frigate.edgetpu INFO : TPU found
frigate | [2022-07-30 01:00:32] frigate.watchdog INFO : Detection appears to be stuck. Restarting detection process...
frigate | [2022-07-30 01:00:32] root INFO : Waiting for detection process to exit gracefully...
frigate | [2022-07-30 01:01:02] root INFO : Detection process didnt exit. Force killing...
frigate | [2022-07-30 01:01:03] detector.coral INFO : Starting detection process: 8408
frigate | [2022-07-30 01:01:03] frigate.edgetpu INFO : Attempting to load TPU as usb
frigate | [2022-07-30 01:01:05] frigate.edgetpu INFO : TPU found
frigate | [cont-finish.d] executing container finish scripts...
frigate | [cont-finish.d] done.
frigate | [s6-finish] waiting for services.
frigate | [s6-finish] sending all processes the TERM signal.
frigate | [s6-finish] sending all processes the KILL signal and exiting.
frigate | [s6-init] making user provided files available at /var/run/s6/etc...exited 0.
frigate | [s6-init] ensuring user provided files have correct perms...exited 0.
frigate | [fix-attrs.d] applying ownership & permissions fixes...
frigate | [fix-attrs.d] done.
frigate | [cont-init.d] executing container initialization scripts...
frigate | [cont-init.d] done.
frigate | [services.d] starting services
frigate | [services.d] done.
frigate | [2022-07-30 02:32:40] frigate.app INFO : Starting Frigate (0.11.0-3c46a33)
frigate | Starting migrations
frigate | [2022-07-30 02:32:40] peewee_migrate INFO : Starting migrations
frigate | There is nothing to migrate
frigate | [2022-07-30 02:32:40] peewee_migrate INFO : There is nothing to migrate
frigate | [2022-07-30 02:32:40] frigate.app INFO : Output process started: 216
frigate | [2022-07-30 02:32:40] frigate.app INFO : Camera processor started for hof: 219
frigate | [2022-07-30 02:32:40] ws4py INFO : Using epoll
frigate | [2022-07-30 02:32:40] frigate.app INFO : Capture process started for hof: 222
frigate | [2022-07-30 02:32:40] detector.coral INFO : Starting detection process: 215
frigate | [2022-07-30 02:32:40] frigate.edgetpu INFO : Attempting to load TPU as usb
frigate | [2022-07-30 02:32:41] ws4py INFO : Using epoll
frigate | [2022-07-30 02:33:12] frigate.edgetpu ERROR : No EdgeTPU was detected. If you do not have a Coral device yet, you must configure CPU detectors.
frigate | Process detector:coral:
frigate | Traceback (most recent call last):
frigate | File "/usr/lib/python3/dist-packages/tflite_runtime/interpreter.py", line 160, in load_delegate
frigate | delegate = Delegate(library, options)
frigate | File "/usr/lib/python3/dist-packages/tflite_runtime/interpreter.py", line 119, in init
frigate | raise ValueError(capture.message)
frigate | ValueError
frigate |
frigate | During handling of the above exception, another exception occurred:
frigate |
frigate | Traceback (most recent call last):
frigate | File "/usr/lib/python3.9/multiprocessing/process.py", line 315, in _bootstrap
frigate | self.run()
frigate | File "/usr/lib/python3.9/multiprocessing/process.py", line 108, in run
frigate | self._target(*self._args, **self._kwargs)
frigate | File "/opt/frigate/frigate/edgetpu.py", line 135, in run_detector
frigate | object_detector = LocalObjectDetector(
frigate | File "/opt/frigate/frigate/edgetpu.py", line 43, in init
frigate | edge_tpu_delegate = load_delegate("libedgetpu.so.1.0", device_config)
frigate | File "/usr/lib/python3/dist-packages/tflite_runtime/interpreter.py", line 162, in load_delegate
frigate | raise ValueError('Failed to load delegate from {}\n{}'.format(
frigate | ValueError: Failed to load delegate from libedgetpu.so.1.0
frigate |
frigate | [2022-07-30 02:33:21] frigate.watchdog INFO : Detection appears to have stopped. Exiting frigate...
frigate | [cont-finish.d] executing container finish scripts...
frigate | [cont-finish.d] done.
frigate | [s6-finish] waiting for services.
frigate | [s6-finish] sending all processes the TERM signal.
frigate | [s6-finish] sending all processes the KILL signal and exiting.
frigate | [s6-init] making user provided files available at /var/run/s6/etc...exited 0.
frigate | [s6-init] ensuring user provided files have correct perms...exited 0.
frigate | [fix-attrs.d] applying ownership & permissions fixes...
frigate | [fix-attrs.d] done.
frigate | [cont-init.d] executing container initialization scripts...
frigate | [cont-init.d] done.
frigate | [services.d] starting services
frigate | [services.d] done.
frigate | [2022-07-30 02:33:30] frigate.app INFO : Starting Frigate (0.11.0-3c46a33)
frigate | Starting migrations
frigate | [2022-07-30 02:33:30] peewee_migrate INFO : Starting migrations
frigate | There is nothing to migrate
frigate | [2022-07-30 02:33:30] peewee_migrate INFO : There is nothing to migrate
frigate | [2022-07-30 02:33:30] detector.coral INFO : Starting detection process: 216
frigate | [2022-07-30 02:33:30] frigate.edgetpu INFO : Attempting to load TPU as usb
frigate | [2022-07-30 02:33:30] frigate.app INFO : Output process started: 218
frigate | [2022-07-30 02:33:30] frigate.app INFO : Camera processor started for hof: 223
frigate | [2022-07-30 02:33:30] frigate.app INFO : Capture process started for hof: 225
frigate | [2022-07-30 02:33:30] ws4py INFO : Using epoll
frigate | [2022-07-30 02:33:30] ws4py INFO : Using epoll
frigate | [2022-07-30 02:33:33] frigate.edgetpu INFO : TPU found
frigate | [2022-07-30 02:59:00] frigate.watchdog INFO : Detection appears to be stuck. Restarting detection process...
frigate | [2022-07-30 02:59:00] root INFO : Waiting for detection process to exit gracefully...
frigate | [2022-07-30 02:59:30] root INFO : Detection process didnt exit. Force killing...
frigate | [2022-07-30 02:59:30] detector.coral INFO : Starting detection process: 421
frigate | [2022-07-30 02:59:30] frigate.edgetpu INFO : Attempting to load TPU as usb
frigate | [2022-07-30 02:59:33] frigate.edgetpu INFO : TPU found
frigate | [2022-07-30 07:07:31] frigate.watchdog INFO : Detection appears to be stuck. Restarting detection process...
frigate | [2022-07-30 07:07:31] root INFO : Waiting for detection process to exit gracefully...
frigate | [2022-07-30 07:08:01] root INFO : Detection process didnt exit. Force killing...
frigate | [2022-07-30 07:08:02] detector.coral INFO : Starting detection process: 1930
frigate | [2022-07-30 07:08:02] frigate.edgetpu INFO : Attempting to load TPU as usb
frigate | [2022-07-30 07:08:04] frigate.edgetpu INFO : TPU found
frigate | [2022-07-30 09:39:53] frigate.object_processing WARNING : Unable to create jpg because frame 1659166792.357445 is not in the cache
frigate | [2022-07-30 10:12:33] frigate.watchdog INFO : Detection appears to be stuck. Restarting detection process...
frigate | [2022-07-30 10:12:33] root INFO : Waiting for detection process to exit gracefully...
frigate | [2022-07-30 10:13:03] root INFO : Detection process didnt exit. Force killing...
frigate | [2022-07-30 10:13:03] detector.coral INFO : Starting detection process: 3053
frigate | [2022-07-30 10:13:03] frigate.edgetpu INFO : Attempting to load TPU as usb
frigate | [2022-07-30 10:13:05] frigate.edgetpu INFO : TPU found
frigate | [2022-07-30 13:54:49] frigate.object_processing WARNING : Unable to create jpg because frame 1659182087.818493 is not in the cache
frigate | [2022-07-30 14:32:31] frigate.object_processing WARNING : Unable to create jpg because frame 1659184350.69349 is not in the cache
frigate | [2022-07-30 15:21:08] frigate.object_processing WARNING : Unable to create jpg because frame 1659187267.593272 is not in the cache
frigate | [cont-finish.d] executing container finish scripts...
frigate | [cont-finish.d] done.
frigate | [s6-finish] waiting for services.
frigate | [s6-finish] sending all processes the TERM signal.
frigate | [s6-finish] sending all processes the KILL signal and exiting.
frigate | [s6-init] making user provided files available at /var/run/s6/etc...exited 0.
frigate | [s6-init] ensuring user provided files have correct perms...exited 0.
frigate | [fix-attrs.d] applying ownership & permissions fixes...
frigate | [fix-attrs.d] done.
frigate | [cont-init.d] executing container initialization scripts...
frigate | [cont-init.d] done.
frigate | [services.d] starting services
frigate | [services.d] done.
frigate | [2022-07-31 02:31:56] frigate.app INFO : Starting Frigate (0.11.0-3c46a33)
frigate | Starting migrations
frigate | [2022-07-31 02:31:57] peewee_migrate INFO : Starting migrations
frigate | There is nothing to migrate
frigate | [2022-07-31 02:31:57] peewee_migrate INFO : There is nothing to migrate
frigate | [2022-07-31 02:31:57] frigate.app INFO : Output process started: 217
frigate | [2022-07-31 02:31:57] detector.coral INFO : Starting detection process: 216
frigate | [2022-07-31 02:31:57] frigate.app INFO : Camera processor started for hof: 220
frigate | [2022-07-31 02:31:57] frigate.app INFO : Capture process started for hof: 223
frigate | [2022-07-31 02:31:57] frigate.edgetpu INFO : Attempting to load TPU as usb
frigate | [2022-07-31 02:31:57] ws4py INFO : Using epoll
frigate | Process detector:coral:
frigate | [2022-07-31 02:32:25] frigate.edgetpu ERROR : No EdgeTPU was detected. If you do not have a Coral device yet, you must configure CPU detectors.
frigate | [2022-07-31 02:31:57] ws4py INFO : Using epoll
frigate | Traceback (most recent call last):
frigate | File "/usr/lib/python3/dist-packages/tflite_runtime/interpreter.py", line 160, in load_delegate
frigate | delegate = Delegate(library, options)
frigate | File "/usr/lib/python3/dist-packages/tflite_runtime/interpreter.py", line 119, in init
frigate | raise ValueError(capture.message)
frigate | ValueError
frigate |
frigate | During handling of the above exception, another exception occurred:
frigate |
frigate | Traceback (most recent call last):
frigate | File "/usr/lib/python3.9/multiprocessing/process.py", line 315, in _bootstrap
frigate | self.run()
frigate | File "/usr/lib/python3.9/multiprocessing/process.py", line 108, in run
frigate | self._target(*self._args, **self._kwargs)
frigate | File "/opt/frigate/frigate/edgetpu.py", line 135, in run_detector
frigate | object_detector = LocalObjectDetector(
frigate | File "/opt/frigate/frigate/edgetpu.py", line 43, in init
frigate | edge_tpu_delegate = load_delegate("libedgetpu.so.1.0", device_config)
frigate | File "/usr/lib/python3/dist-packages/tflite_runtime/interpreter.py", line 162, in load_delegate
frigate | raise ValueError('Failed to load delegate from {}\n{}'.format(
frigate | ValueError: Failed to load delegate from libedgetpu.so.1.0
frigate |
frigate | [2022-07-31 02:32:27] frigate.watchdog INFO : Detection appears to have stopped. Exiting frigate...
frigate | [cont-finish.d] executing container finish scripts...
frigate | [cont-finish.d] done.
frigate | [s6-finish] waiting for services.
frigate | [s6-finish] sending all processes the TERM signal.
frigate | [s6-finish] sending all processes the KILL signal and exiting.
frigate | [s6-init] making user provided files available at /var/run/s6/etc...exited 0.
frigate | [s6-init] ensuring user provided files have correct perms...exited 0.
frigate | [fix-attrs.d] applying ownership & permissions fixes...
frigate | [fix-attrs.d] done.
frigate | [cont-init.d] executing container initialization scripts...
frigate | [cont-init.d] done.
frigate | [services.d] starting services
frigate | [services.d] done.
frigate | [2022-07-31 02:32:36] frigate.app INFO : Starting Frigate (0.11.0-3c46a33)
frigate | Starting migrations
frigate | [2022-07-31 02:32:36] peewee_migrate INFO : Starting migrations
frigate | There is nothing to migrate
frigate | [2022-07-31 02:32:36] peewee_migrate INFO : There is nothing to migrate
frigate | [2022-07-31 02:32:36] frigate.app INFO : Output process started: 218
frigate | [2022-07-31 02:32:36] detector.coral INFO : Starting detection process: 216
frigate | [2022-07-31 02:32:36] frigate.app INFO : Camera processor started for hof: 220
frigate | [2022-07-31 02:32:36] frigate.app INFO : Capture process started for hof: 223
frigate | [2022-07-31 02:32:36] ws4py INFO : Using epoll
frigate | [2022-07-31 02:32:37] ws4py INFO : Using epoll
frigate | [2022-07-31 02:32:36] frigate.edgetpu INFO : Attempting to load TPU as usb
frigate | [2022-07-31 02:32:39] frigate.edgetpu INFO : TPU found
frigate | [2022-07-31 09:02:47] frigate.object_processing WARNING : Unable to create jpg because frame 1659250966.845771 is not in the cache
frigate | [2022-07-31 09:02:52] frigate.object_processing WARNING : Unable to create jpg because frame 1659250966.845771 is not in the cache
frigate | [2022-07-31 09:02:52] frigate.object_processing WARNING : Unable to save snapshot for 1659250709.700998-x05nhg.
frigate | [2022-07-31 09:02:52] frigate.object_processing WARNING : Unable to create clean png because frame 1659250966.845771 is not in the cache
frigate | [2022-07-31 09:02:52] frigate.object_processing WARNING : Unable to save clean snapshot for 1659250709.700998-x05nhg.
frigate | [2022-07-31 09:02:52] frigate.object_processing WARNING : Unable to create jpg because frame 1659250966.845771 is not in the cache
frigate | [2022-07-31 09:02:52] frigate.object_processing WARNING : Unable to create jpg because frame 1659250966.845771 is not in the cache
frigate | [2022-07-31 09:02:52] frigate.object_processing WARNING : Unable to send mqtt snapshot for 1659250709.700998-x05nhg.
frigate | [2022-07-31 09:13:07] frigate.object_processing WARNING : Unable to create jpg because frame 1659251587.326819 is not in the cache
frigate | [2022-07-31 09:13:18] frigate.object_processing WARNING : Unable to create jpg because frame 1659251587.326819 is not in the cache
frigate | [2022-07-31 09:13:18] frigate.object_processing WARNING : Unable to save snapshot for 1659250967.904699-vgfd66.
frigate | [2022-07-31 09:13:18] frigate.object_processing WARNING : Unable to create clean png because frame 1659251587.326819 is not in the cache
frigate | [2022-07-31 09:13:18] frigate.object_processing WARNING : Unable to save clean snapshot for 1659250967.904699-vgfd66.
frigate | [2022-07-31 09:13:18] frigate.object_processing WARNING : Unable to create jpg because frame 1659251587.326819 is not in the cache
frigate | [2022-07-31 09:25:48] frigate.watchdog INFO : Detection appears to be stuck. Restarting detection process...
frigate | [2022-07-31 09:25:48] root INFO : Waiting for detection process to exit gracefully...
frigate | [2022-07-31 09:26:18] root INFO : Detection process didnt exit. Force killing...
frigate | [2022-07-31 09:26:18] detector.coral INFO : Starting detection process: 2756
frigate | [2022-07-31 09:26:18] frigate.edgetpu INFO : Attempting to load TPU as usb
frigate | [2022-07-31 09:26:21] frigate.edgetpu INFO : TPU found
frigate | [2022-07-31 17:05:51] frigate.object_processing WARNING : Unable to create jpg because frame 1659279949.871616 is not in the cache
frigate | [2022-07-31 18:21:56] frigate.object_processing WARNING : Unable to create jpg because frame 1659284514.439215 is not in the cache
frigate | [2022-07-31 23:29:32] frigate.watchdog INFO : Detection appears to be stuck. Restarting detection process...
frigate | [2022-07-31 23:29:32] root INFO : Waiting for detection process to exit gracefully...
frigate | [2022-07-31 23:30:02] root INFO : Detection process didnt exit. Force killing...
frigate | [2022-07-31 23:30:02] detector.coral INFO : Starting detection process: 7842
frigate | [2022-07-31 23:30:02] frigate.edgetpu INFO : Attempting to load TPU as usb
frigate | [2022-07-31 23:30:05] frigate.edgetpu INFO : TPU found
frigate | [cont-finish.d] executing container finish scripts...
frigate | [cont-finish.d] done.
frigate | [s6-finish] waiting for services.
frigate | [s6-finish] sending all processes the TERM signal.
frigate | [s6-finish] sending all processes the KILL signal and exiting.
frigate | [s6-init] making user provided files available at /var/run/s6/etc...exited 0.
frigate | [s6-init] ensuring user provided files have correct perms...exited 0.
frigate | [fix-attrs.d] applying ownership & permissions fixes...
frigate | [fix-attrs.d] done.
frigate | [cont-init.d] executing container initialization scripts...
frigate | [cont-init.d] done.
frigate | [services.d] starting services
frigate | [services.d] done.
frigate | [2022-08-01 02:32:08] frigate.app INFO : Starting Frigate (0.11.0-3c46a33)
frigate | Starting migrations
frigate | [2022-08-01 02:32:08] peewee_migrate INFO : Starting migrations
frigate | There is nothing to migrate
frigate | [2022-08-01 02:32:08] peewee_migrate INFO : There is nothing to migrate
frigate | [2022-08-01 02:32:09] frigate.app INFO : Output process started: 217
frigate | [2022-08-01 02:32:09] frigate.app INFO : Camera processor started for hof: 220
frigate | [2022-08-01 02:32:09] ws4py INFO : Using epoll
frigate | [2022-08-01 02:32:09] frigate.app INFO : Capture process started for hof: 223
frigate | [2022-08-01 02:32:09] detector.coral INFO : Starting detection process: 216
frigate | [2022-08-01 02:32:09] frigate.edgetpu INFO : Attempting to load TPU as usb
frigate | [2022-08-01 02:32:09] ws4py INFO : Using epoll
frigate | Process detector:coral:
frigate | [2022-08-01 02:32:40] frigate.edgetpu ERROR : No EdgeTPU was detected. If you do not have a Coral device yet, you must configure CPU detectors.
frigate | Traceback (most recent call last):
frigate | File "/usr/lib/python3/dist-packages/tflite_runtime/interpreter.py", line 160, in load_delegate
frigate | delegate = Delegate(library, options)
frigate | File "/usr/lib/python3/dist-packages/tflite_runtime/interpreter.py", line 119, in init
frigate | raise ValueError(capture.message)
frigate | ValueError
frigate |
frigate | During handling of the above exception, another exception occurred:
frigate |
frigate | Traceback (most recent call last):
frigate | File "/usr/lib/python3.9/multiprocessing/process.py", line 315, in _bootstrap
frigate | self.run()
frigate | File "/usr/lib/python3.9/multiprocessing/process.py", line 108, in run
frigate | self._target(*self._args, **self._kwargs)
frigate | File "/opt/frigate/frigate/edgetpu.py", line 135, in run_detector
frigate | object_detector = LocalObjectDetector(
frigate | File "/opt/frigate/frigate/edgetpu.py", line 43, in init
frigate | edge_tpu_delegate = load_delegate("libedgetpu.so.1.0", device_config)
frigate | File "/usr/lib/python3/dist-packages/tflite_runtime/interpreter.py", line 162, in load_delegate
frigate | raise ValueError('Failed to load delegate from {}\n{}'.format(
frigate | ValueError: Failed to load delegate from libedgetpu.so.1.0
frigate |
frigate | [2022-08-01 02:32:49] frigate.watchdog INFO : Detection appears to have stopped. Exiting frigate...
frigate | [cont-finish.d] executing container finish scripts...
frigate | [cont-finish.d] done.
frigate | [s6-finish] waiting for services.
frigate | [s6-finish] sending all processes the TERM signal.
frigate | [s6-finish] sending all processes the KILL signal and exiting.
frigate | [s6-init] making user provided files available at /var/run/s6/etc...exited 0.
frigate | [s6-init] ensuring user provided files have correct perms...exited 0.
frigate | [fix-attrs.d] applying ownership & permissions fixes...
frigate | [fix-attrs.d] done.
frigate | [cont-init.d] executing container initialization scripts...
frigate | [cont-init.d] done.
frigate | [services.d] starting services
frigate | [services.d] done.
frigate | [2022-08-01 02:32:58] frigate.app INFO : Starting Frigate (0.11.0-3c46a33)
frigate | Starting migrations
frigate | [2022-08-01 02:32:58] peewee_migrate INFO : Starting migrations
frigate | There is nothing to migrate
frigate | [2022-08-01 02:32:58] peewee_migrate INFO : There is nothing to migrate
frigate | [2022-08-01 02:32:58] frigate.app INFO : Output process started: 217
frigate | [2022-08-01 02:32:58] ws4py INFO : Using epoll
frigate | [2022-08-01 02:32:58] frigate.app INFO : Camera processor started for hof: 223
frigate | [2022-08-01 02:32:58] frigate.app INFO : Capture process started for hof: 225
frigate | [2022-08-01 02:32:59] ws4py INFO : Using epoll
frigate | [2022-08-01 02:32:58] detector.coral INFO : Starting detection process: 216
frigate | [2022-08-01 02:32:58] frigate.edgetpu INFO : Attempting to load TPU as usb
frigate | [2022-08-01 02:33:01] frigate.edgetpu INFO : TPU found
frigate | [2022-08-01 03:03:39] frigate.watchdog INFO : Detection appears to be stuck. Restarting detection process...
frigate | [2022-08-01 03:03:39] root INFO : Waiting for detection process to exit gracefully...
frigate | [2022-08-01 03:04:09] root INFO : Detection process didnt exit. Force killing...
frigate | [2022-08-01 03:04:09] detector.coral INFO : Starting detection process: 452
frigate | [2022-08-01 03:04:09] frigate.edgetpu INFO : Attempting to load TPU as usb
frigate | [2022-08-01 03:04:12] frigate.edgetpu INFO : TPU found
frigate | [2022-08-01 06:28:30] frigate.watchdog INFO : Detection appears to be stuck. Restarting detection process...
frigate | [2022-08-01 06:28:30] root INFO : Waiting for detection process to exit gracefully...
frigate | [2022-08-01 06:29:00] root INFO : Detection process didnt exit. Force killing...
frigate | [2022-08-01 06:29:00] detector.coral INFO : Starting detection process: 1698
frigate | [2022-08-01 06:29:00] frigate.edgetpu INFO : Attempting to load TPU as usb
frigate | [2022-08-01 06:29:03] frigate.edgetpu INFO : TPU found
frigate | [2022-08-01 11:54:27] frigate.object_processing WARNING : Unable to create jpg because frame 1659347667.045616 is not in the cache
frigate | [2022-08-01 12:32:45] frigate.object_processing WARNING : Unable to create jpg because frame 1659349964.500478 is not in the cache
frigate | [2022-08-01 13:14:46] frigate.object_processing WARNING : Unable to create jpg because frame 1659352486.038006 is not in the cache
frigate | [2022-08-01 13:14:51] frigate.object_processing WARNING : Unable to create jpg because frame 1659352486.038006 is not in the cache
frigate | [2022-08-01 13:14:51] frigate.object_processing WARNING : Unable to save snapshot for 1659351869.878845-mogo56.
frigate | [2022-08-01 13:14:51] frigate.object_processing WARNING : Unable to create clean png because frame 1659352486.038006 is not in the cache
frigate | [2022-08-01 13:14:51] frigate.object_processing WARNING : Unable to save clean snapshot for 1659351869.878845-mogo56.
frigate | [2022-08-01 13:14:51] frigate.object_processing WARNING : Unable to create jpg because frame 1659352486.038006 is not in the cache
frigate | [2022-08-02 00:58:05] frigate.watchdog INFO : Detection appears to be stuck. Restarting detection process...
frigate | [2022-08-02 00:58:05] root INFO : Waiting for detection process to exit gracefully...
frigate | [2022-08-02 00:58:35] root INFO : Detection process didnt exit. Force killing...
frigate | [2022-08-02 00:58:35] detector.coral INFO : Starting detection process: 8384
frigate | [2022-08-02 00:58:35] frigate.edgetpu INFO : Attempting to load TPU as usb
frigate | [2022-08-02 00:58:37] frigate.edgetpu INFO : TPU found
frigate | [2022-08-02 01:46:25] frigate.watchdog INFO : Detection appears to be stuck. Restarting detection process...
frigate | [2022-08-02 01:46:25] root INFO : Waiting for detection process to exit gracefully...
frigate | [2022-08-02 01:46:55] root INFO : Detection process didnt exit. Force killing...
frigate | [2022-08-02 01:46:55] detector.coral INFO : Starting detection process: 8685
frigate | [2022-08-02 01:46:55] frigate.edgetpu INFO : Attempting to load TPU as usb
frigate | [2022-08-02 01:46:58] frigate.edgetpu INFO : TPU found
frigate | [cont-finish.d] executing container finish scripts...
frigate | [cont-finish.d] done.
frigate | [s6-finish] waiting for services.
frigate | [s6-finish] sending all processes the TERM signal.
frigate | [s6-finish] sending all processes the KILL signal and exiting.
frigate | [s6-init] making user provided files available at /var/run/s6/etc...exited 0.
frigate | [s6-init] ensuring user provided files have correct perms...exited 0.
frigate | [fix-attrs.d] applying ownership & permissions fixes...
frigate | [fix-attrs.d] done.
frigate | [cont-init.d] executing container initialization scripts...
frigate | [cont-init.d] done.
frigate | [services.d] starting services
frigate | [services.d] done.
frigate | [2022-08-02 02:32:07] frigate.app INFO : Starting Frigate (0.11.0-3c46a33)
frigate | Starting migrations
frigate | [2022-08-02 02:32:07] peewee_migrate INFO : Starting migrations
frigate | There is nothing to migrate
frigate | [2022-08-02 02:32:07] peewee_migrate INFO : There is nothing to migrate
frigate | [2022-08-02 02:32:07] frigate.app INFO : Output process started: 217
frigate | [2022-08-02 02:32:07] detector.coral INFO : Starting detection process: 216
frigate | [2022-08-02 02:32:07] ws4py INFO : Using epoll
frigate | [2022-08-02 02:32:07] frigate.app INFO : Camera processor started for hof: 220
frigate | [2022-08-02 02:32:07] frigate.app INFO : Capture process started for hof: 223
frigate | [2022-08-02 02:32:07] frigate.edgetpu INFO : Attempting to load TPU as usb
frigate | [2022-08-02 02:32:08] ws4py INFO : Using epoll
frigate | [2022-08-02 02:32:39] frigate.edgetpu ERROR : No EdgeTPU was detected. If you do not have a Coral device yet, you must configure CPU detectors.
frigate | Process detector:coral:
frigate | Traceback (most recent call last):
frigate | File "/usr/lib/python3/dist-packages/tflite_runtime/interpreter.py", line 160, in load_delegate
frigate | delegate = Delegate(library, options)
frigate | File "/usr/lib/python3/dist-packages/tflite_runtime/interpreter.py", line 119, in init
frigate | raise ValueError(capture.message)
frigate | ValueError
frigate |
frigate | During handling of the above exception, another exception occurred:
frigate |
frigate | Traceback (most recent call last):
frigate | File "/usr/lib/python3.9/multiprocessing/process.py", line 315, in _bootstrap
frigate | self.run()
frigate | File "/usr/lib/python3.9/multiprocessing/process.py", line 108, in run
frigate | self._target(*self._args, **self._kwargs)
frigate | File "/opt/frigate/frigate/edgetpu.py", line 135, in run_detector
frigate | object_detector = LocalObjectDetector(
frigate | File "/opt/frigate/frigate/edgetpu.py", line 43, in init
frigate | edge_tpu_delegate = load_delegate("libedgetpu.so.1.0", device_config)
frigate | File "/usr/lib/python3/dist-packages/tflite_runtime/interpreter.py", line 162, in load_delegate
frigate | raise ValueError('Failed to load delegate from {}\n{}'.format(
frigate | ValueError: Failed to load delegate from libedgetpu.so.1.0
frigate |
frigate | [2022-08-02 02:32:48] frigate.watchdog INFO : Detection appears to have stopped. Exiting frigate...
frigate | [cont-finish.d] executing container finish scripts...
frigate | [cont-finish.d] done.
frigate | [s6-finish] waiting for services.
frigate | [s6-finish] sending all processes the TERM signal.
frigate | [s6-finish] sending all processes the KILL signal and exiting.
frigate | [s6-init] making user provided files available at /var/run/s6/etc...exited 0.
frigate | [s6-init] ensuring user provided files have correct perms...exited 0.
frigate | [fix-attrs.d] applying ownership & permissions fixes...
frigate | [fix-attrs.d] done.
frigate | [cont-init.d] executing container initialization scripts...
frigate | [cont-init.d] done.
frigate | [services.d] starting services
frigate | [services.d] done.
frigate | [2022-08-02 02:32:57] frigate.app INFO : Starting Frigate (0.11.0-3c46a33)
frigate | Starting migrations
frigate | [2022-08-02 02:32:57] peewee_migrate INFO : Starting migrations
frigate | There is nothing to migrate
frigate | [2022-08-02 02:32:57] peewee_migrate INFO : There is nothing to migrate
frigate | [2022-08-02 02:32:57] frigate.app INFO : Output process started: 217
frigate | [2022-08-02 02:32:57] ws4py INFO : Using epoll
frigate | [2022-08-02 02:32:57] frigate.app INFO : Camera processor started for hof: 223
frigate | [2022-08-02 02:32:57] frigate.app INFO : Capture process started for hof: 225
frigate | [2022-08-02 02:32:57] ws4py INFO : Using epoll
frigate | [2022-08-02 02:32:57] detector.coral INFO : Starting detection process: 216
frigate | [2022-08-02 02:32:57] frigate.edgetpu INFO : Attempting to load TPU as usb
frigate | [2022-08-02 02:33:00] frigate.edgetpu INFO : TPU found
frigate | [2022-08-02 08:35:29] frigate.watchdog INFO : Detection appears to be stuck. Restarting detection process...
frigate | [2022-08-02 08:35:29] root INFO : Waiting for detection process to exit gracefully...
frigate | [2022-08-02 08:35:59] root INFO : Detection process didnt exit. Force killing...
frigate | [2022-08-02 08:35:59] detector.coral INFO : Starting detection process: 2453
frigate | [2022-08-02 08:35:59] frigate.edgetpu INFO : Attempting to load TPU as usb
frigate | [2022-08-02 08:36:02] frigate.edgetpu INFO : TPU found
frigate | [2022-08-02 10:00:10] frigate.watchdog INFO : Detection appears to be stuck. Restarting detection process...
frigate | [2022-08-02 10:00:10] root INFO : Waiting for detection process to exit gracefully...
frigate | [2022-08-02 10:00:40] root INFO : Detection process didnt exit. Force killing...
frigate | [2022-08-02 10:00:40] detector.coral INFO : Starting detection process: 2971
frigate | [2022-08-02 10:00:40] frigate.edgetpu INFO : Attempting to load TPU as usb
frigate | [2022-08-02 10:00:42] frigate.edgetpu INFO : TPU found
frigate | [2022-08-02 13:20:36] frigate.object_processing WARNING : Unable to create jpg because frame 1659439235.8409 is not in the cache
frigate | [2022-08-02 13:20:44] frigate.object_processing WARNING : Unable to create jpg because frame 1659439235.8409 is not in the cache
frigate | [2022-08-02 13:20:44] frigate.object_processing WARNING : Unable to save snapshot for 1659438968.577316-hjk300.
frigate | [2022-08-02 13:20:44] frigate.object_processing WARNING : Unable to create clean png because frame 1659439235.8409 is not in the cache
frigate | [2022-08-02 13:20:44] frigate.object_processing WARNING : Unable to save clean snapshot for 1659438968.577316-hjk300.
frigate | [2022-08-02 13:20:44] frigate.object_processing WARNING : Unable to create jpg because frame 1659439235.8409 is not in the cache
frigate | [2022-08-02 13:24:43] frigate.object_processing WARNING : Unable to create jpg because frame 1659439482.482575 is not in the cache
frigate | [2022-08-02 13:26:34] frigate.object_processing WARNING : Unable to create jpg because frame 1659439594.195716 is not in the cache
frigate | [2022-08-02 14:26:21] frigate.object_processing WARNING : Unable to create jpg because frame 1659443180.09342 is not in the cache
frigate | [2022-08-02 14:56:27] frigate.object_processing WARNING : Unable to create jpg because frame 1659444986.854597 is not in the cache
frigate | [2022-08-02 16:08:32] frigate.object_processing WARNING : Unable to create jpg because frame 1659449311.716964 is not in the cache
frigate | [2022-08-02 16:10:24] frigate.object_processing WARNING : Unable to create jpg because frame 1659449423.987837 is not in the cache
frigate | [2022-08-02 16:10:33] frigate.object_processing WARNING : Unable to create jpg because frame 1659449423.987837 is not in the cache
frigate | [2022-08-02 16:10:33] frigate.object_processing WARNING : Unable to save snapshot for 1659449367.347737-6zxv5x.
frigate | [2022-08-02 16:10:33] frigate.object_processing WARNING : Unable to create clean png because frame 1659449423.987837 is not in the cache
frigate | [2022-08-02 16:10:33] frigate.object_processing WARNING : Unable to save clean snapshot for 1659449367.347737-6zxv5x.
frigate | [2022-08-02 16:10:33] frigate.object_processing WARNING : Unable to create jpg because frame 1659449423.987837 is not in the cache
frigate | [2022-08-02 19:40:03] ws4py INFO : Managing websocket [Local => 127.0.0.1:5002 | Remote => 127.0.0.1:58714]
frigate | [2022-08-02 19:40:09] ws4py INFO : Managing websocket [Local => 127.0.0.1:8082 | Remote => 127.0.0.1:58286]
frigate | [2022-08-02 19:40:12] ws4py INFO : Terminating websocket [Local => 127.0.0.1:8082 | Remote => 127.0.0.1:58286]
frigate | [2022-08-02 19:49:03] ws4py INFO : Terminating websocket [Local => 127.0.0.1:5002 | Remote => 127.0.0.1:58714]
frigate | [2022-08-02 23:53:04] frigate.watchdog INFO : Detection appears to be stuck. Restarting detection process...
frigate | [2022-08-02 23:53:04] root INFO : Waiting for detection process to exit gracefully...
frigate | [2022-08-02 23:53:34] root INFO : Detection process didnt exit. Force killing...
frigate | [2022-08-02 23:53:34] detector.coral INFO : Starting detection process: 8164
frigate | [2022-08-02 23:53:34] frigate.edgetpu INFO : Attempting to load TPU as usb
frigate | [2022-08-02 23:53:37] frigate.edgetpu INFO : TPU found
frigate | [2022-08-03 02:31:55] frigate.watchdog INFO : Detection appears to be stuck. Restarting detection process...
frigate | [2022-08-03 02:31:55] root INFO : Waiting for detection process to exit gracefully...
frigate | [2022-08-03 02:32:25] root INFO : Detection process didnt exit. Force killing...
frigate | [2022-08-03 02:32:25] detector.coral INFO : Starting detection process: 9129
frigate | [2022-08-03 02:32:25] frigate.edgetpu INFO : Attempting to load TPU as usb
frigate | [2022-08-03 02:32:28] frigate.edgetpu INFO : TPU found
frigate | [cont-finish.d] executing container finish scripts...
frigate | [cont-finish.d] done.
frigate | [s6-finish] waiting for services.
frigate | [s6-finish] sending all processes the TERM signal.
frigate | [s6-finish] sending all processes the KILL signal and exiting.
frigate | [s6-init] making user provided files available at /var/run/s6/etc...exited 0.
frigate | [s6-init] ensuring user provided files have correct perms...exited 0.
frigate | [fix-attrs.d] applying ownership & permissions fixes...
frigate | [fix-attrs.d] done.
frigate | [cont-init.d] executing container initialization scripts...
frigate | [cont-init.d] done.
frigate | [services.d] starting services
frigate | [services.d] done.
frigate | [2022-08-03 02:33:42] frigate.app INFO : Starting Frigate (0.11.0-3c46a33)
frigate | Starting migrations
frigate | [2022-08-03 02:33:42] peewee_migrate INFO : Starting migrations
frigate | There is nothing to migrate
frigate | [2022-08-03 02:33:42] peewee_migrate INFO : There is nothing to migrate
frigate | [2022-08-03 02:33:42] frigate.app INFO : Output process started: 217
frigate | [2022-08-03 02:33:42] frigate.app INFO : Camera processor started for hof: 220
frigate | [2022-08-03 02:33:42] ws4py INFO : Using epoll
frigate | [2022-08-03 02:33:42] frigate.app INFO : Capture process started for hof: 223
frigate | [2022-08-03 02:33:42] detector.coral INFO : Starting detection process: 216
frigate | [2022-08-03 02:33:42] frigate.edgetpu INFO : Attempting to load TPU as usb
frigate | [2022-08-03 02:33:43] ws4py INFO : Using epoll
frigate | [2022-08-03 02:34:14] frigate.edgetpu ERROR : No EdgeTPU was detected. If you do not have a Coral device yet, you must configure CPU detectors.
frigate | Process detector:coral:
frigate | Traceback (most recent call last):
frigate | File "/usr/lib/python3/dist-packages/tflite_runtime/interpreter.py", line 160, in load_delegate
frigate | delegate = Delegate(library, options)
frigate | File "/usr/lib/python3/dist-packages/tflite_runtime/interpreter.py", line 119, in init
frigate | raise ValueError(capture.message)
frigate | ValueError
frigate |
frigate | During handling of the above exception, another exception occurred:
frigate |
frigate | Traceback (most recent call last):
frigate | File "/usr/lib/python3.9/multiprocessing/process.py", line 315, in _bootstrap
frigate | self.run()
frigate | File "/usr/lib/python3.9/multiprocessing/process.py", line 108, in run
frigate | self._target(*self._args, **self._kwargs)
frigate | File "/opt/frigate/frigate/edgetpu.py", line 135, in run_detector
frigate | object_detector = LocalObjectDetector(
frigate | File "/opt/frigate/frigate/edgetpu.py", line 43, in init
frigate | edge_tpu_delegate = load_delegate("libedgetpu.so.1.0", device_config)
frigate | File "/usr/lib/python3/dist-packages/tflite_runtime/interpreter.py", line 162, in load_delegate
frigate | raise ValueError('Failed to load delegate from {}\n{}'.format(
frigate | ValueError: Failed to load delegate from libedgetpu.so.1.0
frigate |
frigate | [2022-08-03 02:34:23] frigate.watchdog INFO : Detection appears to have stopped. Exiting frigate...
frigate | [cont-finish.d] executing container finish scripts...
frigate | [cont-finish.d] done.
frigate | [s6-finish] waiting for services.
frigate | [s6-finish] sending all processes the TERM signal.
frigate | [s6-finish] sending all processes the KILL signal and exiting.
frigate | [s6-init] making user provided files available at /var/run/s6/etc...exited 0.
frigate | [s6-init] ensuring user provided files have correct perms...exited 0.
frigate | [fix-attrs.d] applying ownership & permissions fixes...
frigate | [fix-attrs.d] done.
frigate | [cont-init.d] executing container initialization scripts...
frigate | [cont-init.d] done.
frigate | [services.d] starting services
frigate | [services.d] done.
frigate | [2022-08-03 02:34:32] frigate.app INFO : Starting Frigate (0.11.0-3c46a33)
frigate | Starting migrations
frigate | [2022-08-03 02:34:32] peewee_migrate INFO : Starting migrations
frigate | There is nothing to migrate
frigate | [2022-08-03 02:34:32] peewee_migrate INFO : There is nothing to migrate
frigate | [2022-08-03 02:34:32] frigate.app INFO : Output process started: 218
frigate | [2022-08-03 02:34:32] frigate.app INFO : Camera processor started for hof: 223
frigate | [2022-08-03 02:34:32] ws4py INFO : Using epoll
frigate | [2022-08-03 02:34:32] frigate.app INFO : Capture process started for hof: 225
frigate | [2022-08-03 02:34:32] ws4py INFO : Using epoll
frigate | [2022-08-03 02:34:32] detector.coral INFO : Starting detection process: 217
frigate | [2022-08-03 02:34:32] frigate.edgetpu INFO : Attempting to load TPU as usb
frigate | [2022-08-03 02:34:35] frigate.edgetpu INFO : TPU found
frigate | [2022-08-03 04:35:51] ws4py INFO : Managing websocket [Local => 127.0.0.1:5002 | Remote => 127.0.0.1:58218]
frigate | [2022-08-03 04:39:40] ws4py INFO : Terminating websocket [Local => 127.0.0.1:5002 | Remote => 127.0.0.1:58218]
frigate | [2022-08-03 04:46:27] ws4py INFO : Managing websocket [Local => 127.0.0.1:5002 | Remote => 127.0.0.1:55182]
frigate | [2022-08-03 04:46:31] ws4py INFO : Terminating websocket [Local => 127.0.0.1:5002 | Remote => 127.0.0.1:55182]
frigate | [2022-08-03 06:03:53] frigate.watchdog INFO : Detection appears to be stuck. Restarting detection process...
frigate | [2022-08-03 06:03:53] root INFO : Waiting for detection process to exit gracefully...
frigate | [2022-08-03 06:04:23] root INFO : Detection process didnt exit. Force killing...
frigate | [2022-08-03 06:04:23] detector.coral INFO : Starting detection process: 1593
frigate | [2022-08-03 06:04:23] frigate.edgetpu INFO : Attempting to load TPU as usb
frigate | [2022-08-03 06:04:26] frigate.edgetpu INFO : TPU found
frigate | [2022-08-03 07:45:04] frigate.watchdog INFO : Detection appears to be stuck. Restarting detection process...
frigate | [2022-08-03 07:45:04] root INFO : Waiting for detection process to exit gracefully...
frigate | [2022-08-03 07:45:34] root INFO : Detection process didnt exit. Force killing...
frigate | [2022-08-03 07:45:34] detector.coral INFO : Starting detection process: 2213
frigate | [2022-08-03 07:45:34] frigate.edgetpu INFO : Attempting to load TPU as usb
frigate | [2022-08-03 07:45:36] frigate.edgetpu INFO : TPU found
frigate | [2022-08-03 10:16:27] frigate.object_processing WARNING : Unable to create jpg because frame 1659514582.983529 is not in the cache
frigate | [2022-08-03 10:16:31] frigate.object_processing WARNING : Unable to create jpg because frame 1659514582.983529 is not in the cache
frigate | [2022-08-03 10:16:31] frigate.object_processing WARNING : Unable to save snapshot for 1659514568.641078-idxf5u.
frigate | [2022-08-03 10:16:31] frigate.object_processing WARNING : Unable to create clean png because frame 1659514582.983529 is not in the cache
frigate | [2022-08-03 10:16:31] frigate.object_processing WARNING : Unable to save clean snapshot for 1659514568.641078-idxf5u.
frigate | [2022-08-03 10:16:31] frigate.object_processing WARNING : Unable to create jpg because frame 1659514582.983529 is not in the cache
frigate | [2022-08-03 10:16:31] frigate.object_processing WARNING : Unable to create jpg because frame 1659514582.983529 is not in the cache
frigate | [2022-08-03 10:16:31] frigate.object_processing WARNING : Unable to send mqtt snapshot for 1659514568.641078-idxf5u.
frigate | [2022-08-03 12:13:03] frigate.object_processing WARNING : Unable to create jpg because frame 1659521583.01199 is not in the cache
frigate | [2022-08-03 13:10:54] frigate.object_processing WARNING : Unable to create jpg because frame 1659525052.898679 is not in the cache
frigate | [2022-08-03 13:25:40] frigate.object_processing WARNING : Unable to create jpg because frame 1659525938.386013 is not in the cache
frigate | [2022-08-03 13:25:40] frigate.object_processing WARNING : Unable to create jpg because frame 1659525937.208829 is not in the cache
frigate | [2022-08-03 13:25:50] frigate.object_processing WARNING : Unable to create jpg because frame 1659525937.208829 is not in the cache
frigate | [2022-08-03 15:51:30] ws4py INFO : Managing websocket [Local => 127.0.0.1:5002 | Remote => 127.0.0.1:34184]
frigate | [2022-08-03 15:52:11] ws4py INFO : Terminating websocket [Local => 127.0.0.1:5002 | Remote => 127.0.0.1:34184]
frigate | [2022-08-03 17:23:12] frigate.object_processing WARNING : Unable to create jpg because frame 1659540190.373471 is not in the cache
frigate | [2022-08-03 17:23:20] frigate.object_processing WARNING : Unable to create jpg because frame 1659540190.373471 is not in the cache
frigate | [2022-08-03 17:23:20] frigate.object_processing WARNING : Unable to save snapshot for 1659540167.354393-kzy62y.
frigate | [2022-08-03 17:23:20] frigate.object_processing WARNING : Unable to create clean png because frame 1659540190.373471 is not in the cache
frigate | [2022-08-03 17:23:20] frigate.object_processing WARNING : Unable to save clean snapshot for 1659540167.354393-kzy62y.
frigate | [2022-08-03 17:23:20] frigate.object_processing WARNING : Unable to create jpg because frame 1659540190.373471 is not in the cache
frigate | [2022-08-03 17:23:20] frigate.object_processing WARNING : Unable to create jpg because frame 1659540190.373471 is not in the cache
frigate | [2022-08-03 17:23:20] frigate.object_processing WARNING : Unable to send mqtt snapshot for 1659540167.354393-kzy62y.
frigate | [2022-08-03 18:24:39] ws4py INFO : Managing websocket [Local => 127.0.0.1:5002 | Remote => 127.0.0.1:50396]
frigate | [2022-08-03 18:25:55] ws4py INFO : Terminating websocket [Local => 127.0.0.1:5002 | Remote => 127.0.0.1:50396]
frigate | [2022-08-03 18:33:02] ws4py INFO : Managing websocket [Local => 127.0.0.1:5002 | Remote => 127.0.0.1:56882]
frigate | [2022-08-03 18:33:07] ws4py INFO : Terminating websocket [Local => 127.0.0.1:5002 | Remote => 127.0.0.1:56882]
frigate | [2022-08-03 19:08:50] ws4py INFO : Managing websocket [Local => 127.0.0.1:5002 | Remote => 127.0.0.1:38494]
frigate | [2022-08-03 19:09:31] ws4py INFO : Terminating websocket [Local => 127.0.0.1:5002 | Remote => 127.0.0.1:38494]
frigate | [2022-08-03 19:22:08] frigate.watchdog INFO : Detection appears to be stuck. Restarting detection process...
frigate | [2022-08-03 19:22:08] root INFO : Waiting for detection process to exit gracefully...
frigate | [2022-08-03 19:22:38] root INFO : Detection process didnt exit. Force killing...
frigate | [2022-08-03 19:22:38] detector.coral INFO : Starting detection process: 6647
frigate | [2022-08-03 19:22:38] frigate.edgetpu INFO : Attempting to load TPU as usb
frigate | [2022-08-03 19:22:41] frigate.edgetpu INFO : TPU found
frigate | [2022-08-03 19:50:08] frigate.watchdog INFO : Detection appears to be stuck. Restarting detection process...
frigate | [2022-08-03 19:50:08] root INFO : Waiting for detection process to exit gracefully...
frigate | [2022-08-03 19:50:38] root INFO : Detection process didnt exit. Force killing...
frigate | [2022-08-03 19:50:38] detector.coral INFO : Starting detection process: 6826
frigate | [2022-08-03 19:50:38] frigate.edgetpu INFO : Attempting to load TPU as usb
frigate | [2022-08-03 19:50:41] frigate.edgetpu INFO : TPU found
frigate | [2022-08-03 20:47:17] ws4py INFO : Managing websocket [Local => 127.0.0.1:5002 | Remote => 127.0.0.1:55012]
frigate | [2022-08-03 20:47:31] ws4py INFO : Terminating websocket [Local => 127.0.0.1:5002 | Remote => 127.0.0.1:550

@NickM-27
Copy link
Collaborator

NickM-27 commented Aug 3, 2022

So you may can explain whats happening now. Sometimes the TPU gets dected sometimes not? I've a cron-job for autoupdate and restart daily at 2:30 AM.

If you restart your host and you have the USB coral, it takes some time once booted for it to initialize its internal driver and report as the Google TPU (vs generic device). Typically when I restarted my system with the USB coral the first time frigate would fail due to no TPU and then wait 1 minute and try again it would work as expected and continue to work.

@elgorro
Copy link
Author

elgorro commented Aug 3, 2022

Yes - but there also without restarting (random) issues/errors: detection appears to be stuck? Thanks for that info - but thats not the problem I guess. I mean I can test gracefull stop and start, if u think it can help.

@elgorro
Copy link
Author

elgorro commented Aug 9, 2022

So I gathered more error logs: Seems it's Ffmpeg specific - but it's just easy said.

So what I've gathered in the container:

ffmpeg started on 2022-08-09 at 05:16:43
Report written to "/opt/frigate/ffreport.log"
Log level: 48
Command line:
ffmpeg -hide_banner -loglevel debug -c:v h264_v4l2m2m -avoid_negative_ts make_zero -fflags +genpts+discardcorrupt -rtsp_transport tcp -timeout 5000000 -use_wallclock_as_timestamps 1 -i rtsp://user:[email protected]:554/Streaming/Channels/101 -f segment -segment_time 10 -segment_format mp4 -reset_timestamps 1 -strftime 1 -c copy -an "/tmp/cache/hof-%Y%m%d%H%M%S.mp4" -r 10 -s 1920x1080 -f rawvideo -pix_fmt yuv420p pipe:
Splitting the commandline.
Reading option '-hide_banner' ... matched as option 'hide_banner' (do not show program banner) with argument '1'.
Reading option '-loglevel' ... matched as option 'loglevel' (set logging level) with argument 'debug'.
Reading option '-c:v' ... matched as option 'c' (codec name) with argument 'h264_v4l2m2m'.
Reading option '-avoid_negative_ts' ... matched as AVOption 'avoid_negative_ts' with argument 'make_zero'.
Reading option '-fflags' ... matched as AVOption 'fflags' with argument '+genpts+discardcorrupt'.
Reading option '-rtsp_transport' ... matched as AVOption 'rtsp_transport' with argument 'tcp'.
Reading option '-timeout' ... matched as AVOption 'timeout' with argument '5000000'.
Reading option '-use_wallclock_as_timestamps' ... matched as AVOption 'use_wallclock_as_timestamps' with argument '1'.
Reading option '-i' ... matched as input url with argument 'rtsp://user:[email protected]:554/Streaming/Channels/101'.
Reading option '-f' ... matched as option 'f' (force format) with argument 'segment'.
Reading option '-segment_time' ... matched as AVOption 'segment_time' with argument '10'.
Reading option '-segment_format' ... matched as AVOption 'segment_format' with argument 'mp4'.
Reading option '-reset_timestamps' ... matched as AVOption 'reset_timestamps' with argument '1'.
Reading option '-strftime' ... matched as AVOption 'strftime' with argument '1'.
Reading option '-c' ... matched as option 'c' (codec name) with argument 'copy'.
Reading option '-an' ... matched as option 'an' (disable audio) with argument '1'.
Reading option '/tmp/cache/hof-%Y%m%d%H%M%S.mp4' ... matched as output url.
Reading option '-r' ... matched as option 'r' (set frame rate (Hz value, fraction or abbreviation)) with argument '10'.
Reading option '-s' ... matched as option 's' (set frame size (WxH or abbreviation)) with argument '1920x1080'.
Reading option '-f' ... matched as option 'f' (force format) with argument 'rawvideo'.
Reading option '-pix_fmt' ... matched as option 'pix_fmt' (set pixel format) with argument 'yuv420p'.
Reading option 'pipe:' ... matched as output url.
Finished splitting the commandline.
Parsing a group of options: global .
Applying option hide_banner (do not show program banner) with argument 1.
Applying option loglevel (set logging level) with argument debug.
Successfully parsed a group of options.
Parsing a group of options: input url rtsp://user:[email protected]:554/Streaming/Channels/101.
Applying option c:v (codec name) with argument h264_v4l2m2m.
Successfully parsed a group of options.
Opening an input file: rtsp://user:[email protected]:554/Streaming/Channels/101.
[tcp @ 0x5599b11400] No default whitelist set
[tcp @ 0x5599b11400] Original list of addresses:
[tcp @ 0x5599b11400] Address 192.168.178.20 port 554
[tcp @ 0x5599b11400] Interleaved list of addresses:
[tcp @ 0x5599b11400] Address 192.168.178.20 port 554
[tcp @ 0x5599b11400] Starting connection attempt to 192.168.178.20 port 554
[tcp @ 0x5599b11400] Successfully connected to 192.168.178.20 port 554
[rtsp @ 0x5599b333c0] SDP:
v=0
o=- 1660018602325793 1660018602325793 IN IP4 192.168.178.84
s=Media Presentation
e=NONE
b=AS:5050
t=0 0
a=control:rtsp://192.168.178.20:554/Streaming/Channels/101/
m=video 0 RTP/AVP 96
c=IN IP4 0.0.0.0
b=AS:5000
a=recvonly
a=x-dimensions:1920,1080
a=control:rtsp://192.168.178.20:554/Streaming/Channels/101/trackID=1
a=rtpmap:96 H264/90000
a=fmtp:96 profile-level-id=420029; packetization-mode=1; sprop-parameter-sets=Z00AKY2NQDwBE/LCAAAjKAACvyAI,aO44gA==
a=Media_header:MEDIAINFO=494D4B48010200000400000100000000000000000000000000000000000000000000000000000000;
a=appversion:1.0

[rtsp @ 0x5599b333c0] video codec set to: h264
[rtsp @ 0x5599b333c0] RTP Profile IDC: 42 Profile IOP: 0 Level: 29
[rtsp @ 0x5599b333c0] RTP Packetization Mode: 1
[rtsp @ 0x5599b333c0] Extradata set to 0x5599b378e0 (size: 33)
[rtsp @ 0x5599b333c0] setting jitter buffer size to 0
[rtsp @ 0x5599b333c0] hello state=0
[h264 @ 0x5599b37540] nal_unit_type: 7(SPS), nal_ref_idc: 3
[h264 @ 0x5599b37540] nal_unit_type: 8(PPS), nal_ref_idc: 3
[h264 @ 0x5599b37540] nal_unit_type: 7(SPS), nal_ref_idc: 3
[h264 @ 0x5599b37540] nal_unit_type: 8(PPS), nal_ref_idc: 3
[h264 @ 0x5599b37540] nal_unit_type: 7(SPS), nal_ref_idc: 3
[h264 @ 0x5599b37540] nal_unit_type: 8(PPS), nal_ref_idc: 3
[h264 @ 0x5599b37540] nal_unit_type: 5(IDR), nal_ref_idc: 3
[h264 @ 0x5599b37540] Format yuv420p chosen by get_format().
[h264 @ 0x5599b37540] Reinit context to 1920x1088, pix_fmt: yuv420p
[h264 @ 0x5599b37540] nal_unit_type: 7(SPS), nal_ref_idc: 3
[h264 @ 0x5599b37540] nal_unit_type: 8(PPS), nal_ref_idc: 3
[h264 @ 0x5599b37540] nal_unit_type: 5(IDR), nal_ref_idc: 3
[rtsp @ 0x5599b333c0] first_dts 149401350317581 not matching first dts NOPTS (pts NOPTS, duration 9000) in the queue
[h264 @ 0x5599b37540] nal_unit_type: 1(Coded slice of a non-IDR picture), nal_ref_idc: 1
[h264 @ 0x5599b37540] nal_unit_type: 1(Coded slice of a non-IDR picture), nal_ref_idc: 1
[h264 @ 0x5599b37540] nal_unit_type: 1(Coded slice of a non-IDR picture), nal_ref_idc: 1
[h264 @ 0x5599b37540] nal_unit_type: 1(Coded slice of a non-IDR picture), nal_ref_idc: 1
[h264 @ 0x5599b37540] nal_unit_type: 1(Coded slice of a non-IDR picture), nal_ref_idc: 1
[rtsp @ 0x5599b333c0] All info found
[rtsp @ 0x5599b333c0] rfps: 9.833333 0.013838
[rtsp @ 0x5599b333c0] rfps: 9.916667 0.006374
[rtsp @ 0x5599b333c0] rfps: 10.000000 0.003520
[rtsp @ 0x5599b333c0] rfps: 10.000000 0.003520
[rtsp @ 0x5599b333c0] rfps: 10.083333 0.005273
[rtsp @ 0x5599b333c0] rfps: 10.166667 0.011635
[rtsp @ 0x5599b333c0] rfps: 10.166667 0.011635
[rtsp @ 0x5599b333c0] rfps: 19.916667 0.017484
[rtsp @ 0x5599b333c0] rfps: 20.000000 0.014079
[rtsp @ 0x5599b333c0] rfps: 20.083333 0.015282
Input #0, rtsp, from 'rtsp://user:[email protected]:554/Streaming/Channels/101':
Metadata:
title : Media Presentation
Duration: N/A, start: 1660015003.528678, bitrate: N/A
Stream #0:0, 22, 1/90000: Video: h264 (Main), 1 reference frame, yuv420p(progressive, left), 1920x1080 (1920x1088), 0/1, 10 fps, 10 tbr, 90k tbn
Successfully opened the file.
Parsing a group of options: output url /tmp/cache/hof-%Y%m%d%H%M%S.mp4.
Applying option f (force format) with argument segment.
Applying option c (codec name) with argument copy.
Applying option an (disable audio) with argument 1.
Successfully parsed a group of options.
Opening an output file: /tmp/cache/hof-%Y%m%d%H%M%S.mp4.
Successfully opened the file.
Parsing a group of options: output url pipe:.
Applying option r (set frame rate (Hz value, fraction or abbreviation)) with argument 10.
Applying option s (set frame size (WxH or abbreviation)) with argument 1920x1080.
Applying option f (force format) with argument rawvideo.
Applying option pix_fmt (set pixel format) with argument yuv420p.
Successfully parsed a group of options.
Opening an output file: pipe:.
[pipe @ 0x5599b4e280] Setting default whitelist 'crypto,data'
Successfully opened the file.
[h264_mp4toannexb @ 0x5599b33180] The input looks like it is Annex B already
[h264_v4l2m2m @ 0x5599ce8ce0] probing device /dev/video31
[h264_v4l2m2m @ 0x5599ce8ce0] driver 'bcm2835-codec' on card 'bcm2835-codec-encode_image' in mplane mode
[h264_v4l2m2m @ 0x5599ce8ce0] v4l2 output format not supported
[h264_v4l2m2m @ 0x5599ce8ce0] probing device /dev/video23
[h264_v4l2m2m @ 0x5599ce8ce0] driver 'bcm2835-isp' on card 'bcm2835-isp' in unknown mode
[h264_v4l2m2m @ 0x5599ce8ce0] probing device /dev/video22
[h264_v4l2m2m @ 0x5599ce8ce0] driver 'bcm2835-isp' on card 'bcm2835-isp' in splane mode
[h264_v4l2m2m @ 0x5599ce8ce0] v4l2 output format not supported
[h264_v4l2m2m @ 0x5599ce8ce0] probing device /dev/video21
[h264_v4l2m2m @ 0x5599ce8ce0] driver 'bcm2835-isp' on card 'bcm2835-isp' in splane mode
[h264_v4l2m2m @ 0x5599ce8ce0] v4l2 output format not supported
[h264_v4l2m2m @ 0x5599ce8ce0] probing device /dev/video20
[h264_v4l2m2m @ 0x5599ce8ce0] driver 'bcm2835-isp' on card 'bcm2835-isp' in splane mode
[h264_v4l2m2m @ 0x5599ce8ce0] v4l2 output format not supported
[h264_v4l2m2m @ 0x5599ce8ce0] probing device /dev/video19
[h264_v4l2m2m @ 0x5599ce8ce0] driver 'rpivid' on card 'rpivid' in mplane mode
[h264_v4l2m2m @ 0x5599ce8ce0] v4l2 output format not supported
[h264_v4l2m2m @ 0x5599ce8ce0] probing device /dev/video18
[h264_v4l2m2m @ 0x5599ce8ce0] driver 'bcm2835-codec' on card 'bcm2835-codec-image_fx' in mplane mode
[h264_v4l2m2m @ 0x5599ce8ce0] v4l2 output format not supported
[h264_v4l2m2m @ 0x5599ce8ce0] probing device /dev/video16
[h264_v4l2m2m @ 0x5599ce8ce0] driver 'bcm2835-isp' on card 'bcm2835-isp' in unknown mode
[h264_v4l2m2m @ 0x5599ce8ce0] probing device /dev/video15
[h264_v4l2m2m @ 0x5599ce8ce0] driver 'bcm2835-isp' on card 'bcm2835-isp' in splane mode
[h264_v4l2m2m @ 0x5599ce8ce0] v4l2 output format not supported
[h264_v4l2m2m @ 0x5599ce8ce0] probing device /dev/video14
[h264_v4l2m2m @ 0x5599ce8ce0] driver 'bcm2835-isp' on card 'bcm2835-isp' in splane mode
[h264_v4l2m2m @ 0x5599ce8ce0] v4l2 output format not supported
[h264_v4l2m2m @ 0x5599ce8ce0] probing device /dev/video13
[h264_v4l2m2m @ 0x5599ce8ce0] driver 'bcm2835-isp' on card 'bcm2835-isp' in splane mode
[h264_v4l2m2m @ 0x5599ce8ce0] v4l2 output format not supported
[h264_v4l2m2m @ 0x5599ce8ce0] probing device /dev/video12
[h264_v4l2m2m @ 0x5599ce8ce0] driver 'bcm2835-codec' on card 'bcm2835-codec-isp' in mplane mode
[h264_v4l2m2m @ 0x5599ce8ce0] v4l2 output format not supported
[h264_v4l2m2m @ 0x5599ce8ce0] probing device /dev/video11
[h264_v4l2m2m @ 0x5599ce8ce0] driver 'bcm2835-codec' on card 'bcm2835-codec-encode' in mplane mode
[h264_v4l2m2m @ 0x5599ce8ce0] v4l2 output format not supported
[h264_v4l2m2m @ 0x5599ce8ce0] probing device /dev/video10
[h264_v4l2m2m @ 0x5599ce8ce0] driver 'bcm2835-codec' on card 'bcm2835-codec-decode' in mplane mode
[h264_v4l2m2m @ 0x5599ce8ce0] Using device /dev/video10
[h264_v4l2m2m @ 0x5599ce8ce0] driver 'bcm2835-codec' on card 'bcm2835-codec-decode' in mplane mode
[h264_v4l2m2m @ 0x5599ce8ce0] requesting formats: output=H264 capture=YU12

Same event in docker logs (bevor has happend a lot, after this specific nothing more):

frigate | [2022-08-09 05:16:43] watchdog.hof ERROR : Ffmpeg process crashed unexpectedly for hof.
frigate | [2022-08-09 05:16:43] watchdog.hof ERROR : The following ffmpeg logs include the last 100 lines prior to exit.
frigate | [2022-08-09 05:16:43] ffmpeg.hof.detect ERROR : [rtsp @ 0x55af8fd3c0] RTP Packetization Mode: 1
frigate | [2022-08-09 05:16:43] ffmpeg.hof.detect ERROR : [rtsp @ 0x55af8fd3c0] Extradata set to 0x55af9018e0 (size: 33)
frigate | [2022-08-09 05:16:43] ffmpeg.hof.detect ERROR : [rtsp @ 0x55af8fd3c0] setting jitter buffer size to 0
frigate | [2022-08-09 05:16:43] ffmpeg.hof.detect ERROR : [rtsp @ 0x55af8fd3c0] hello state=0
frigate | [2022-08-09 05:16:43] ffmpeg.hof.detect ERROR : [h264 @ 0x55af901540] nal_unit_type: 7(SPS), nal_ref_idc: 3
frigate | [2022-08-09 05:16:43] ffmpeg.hof.detect ERROR : [h264 @ 0x55af901540] nal_unit_type: 8(PPS), nal_ref_idc: 3
frigate | [2022-08-09 05:16:43] ffmpeg.hof.detect ERROR : [h264 @ 0x55af901540] nal_unit_type: 7(SPS), nal_ref_idc: 3
frigate | [2022-08-09 05:16:43] ffmpeg.hof.detect ERROR : [h264 @ 0x55af901540] nal_unit_type: 8(PPS), nal_ref_idc: 3
frigate | [2022-08-09 05:16:43] ffmpeg.hof.detect ERROR : [h264 @ 0x55af901540] nal_unit_type: 7(SPS), nal_ref_idc: 3
frigate | [2022-08-09 05:16:43] ffmpeg.hof.detect ERROR : [h264 @ 0x55af901540] nal_unit_type: 8(PPS), nal_ref_idc: 3
frigate | [2022-08-09 05:16:43] ffmpeg.hof.detect ERROR : [h264 @ 0x55af901540] nal_unit_type: 5(IDR), nal_ref_idc: 3
frigate | [2022-08-09 05:16:43] ffmpeg.hof.detect ERROR : [h264 @ 0x55af901540] Format yuv420p chosen by get_format().
frigate | [2022-08-09 05:16:43] ffmpeg.hof.detect ERROR : [h264 @ 0x55af901540] Reinit context to 1920x1088, pix_fmt: yuv420p
frigate | [2022-08-09 05:16:43] ffmpeg.hof.detect ERROR : [h264 @ 0x55af901540] nal_unit_type: 1(Coded slice of a non-IDR picture), nal_ref_idc: 1
frigate | [2022-08-09 05:16:43] ffmpeg.hof.detect ERROR : [rtsp @ 0x55af8fd3c0] first_dts 149401349427158 not matching first dts NOPTS (pts NOPTS, duration 9000) in the queue
frigate | [2022-08-09 05:16:43] ffmpeg.hof.detect ERROR : [h264 @ 0x55af901540] nal_unit_type: 1(Coded slice of a non-IDR picture), nal_ref_idc: 1
frigate | [2022-08-09 05:16:43] ffmpeg.hof.detect ERROR : Last message repeated 4 times
frigate | [2022-08-09 05:16:43] ffmpeg.hof.detect ERROR : [rtsp @ 0x55af8fd3c0] All info found
frigate | [2022-08-09 05:16:43] ffmpeg.hof.detect ERROR : [rtsp @ 0x55af8fd3c0] rfps: 9.833333 0.011558
frigate | [2022-08-09 05:16:43] ffmpeg.hof.detect ERROR : [rtsp @ 0x55af8fd3c0] rfps: 9.916667 0.006346
frigate | [2022-08-09 05:16:43] ffmpeg.hof.detect ERROR : [rtsp @ 0x55af8fd3c0] rfps: 10.000000 0.005781
frigate | [2022-08-09 05:16:43] ffmpeg.hof.detect ERROR : Last message repeated 1 times
frigate | [2022-08-09 05:16:43] ffmpeg.hof.detect ERROR : [rtsp @ 0x55af8fd3c0] rfps: 10.083333 0.009863
frigate | [2022-08-09 05:16:43] ffmpeg.hof.detect ERROR : [rtsp @ 0x55af8fd3c0] rfps: 10.166667 0.018591
frigate | [2022-08-09 05:16:43] ffmpeg.hof.detect ERROR : [rtsp @ 0x55af8fd3c0] rfps: 25.000000 0.018239
frigate | [2022-08-09 05:16:43] ffmpeg.hof.detect ERROR : [rtsp @ 0x55af8fd3c0] rfps: 25.083333 0.018782
frigate | [2022-08-09 05:16:43] ffmpeg.hof.detect ERROR : [rtsp @ 0x55af8fd3c0] rfps: 35.000000 0.011769
frigate | [2022-08-09 05:16:43] ffmpeg.hof.detect ERROR : Input #0, rtsp, from 'rtsp://user:[email protected]:554/Streaming/Channels/101':
frigate | [2022-08-09 05:16:43] ffmpeg.hof.detect ERROR : Metadata:
frigate | [2022-08-09 05:16:43] ffmpeg.hof.detect ERROR : title : Media Presentation
frigate | [2022-08-09 05:16:43] ffmpeg.hof.detect ERROR : Duration: N/A, start: 1660014993.635089, bitrate: N/A
frigate | [2022-08-09 05:16:43] ffmpeg.hof.detect ERROR : Stream #0:0, 22, 1/90000: Video: h264 (Main), 1 reference frame, yuv420p(progressive, left), 1920x1080 (1920x1088), 0/1, 10 fps, 10 tbr, 90k tbn
frigate | [2022-08-09 05:16:43] ffmpeg.hof.detect ERROR : Successfully opened the file.
frigate | [2022-08-09 05:16:43] ffmpeg.hof.detect ERROR : Parsing a group of options: output url /tmp/cache/hof-%Y%m%d%H%M%S.mp4.
frigate | [2022-08-09 05:16:43] ffmpeg.hof.detect ERROR : Applying option f (force format) with argument segment.
frigate | [2022-08-09 05:16:43] ffmpeg.hof.detect ERROR : Applying option c (codec name) with argument copy.
frigate | [2022-08-09 05:16:43] ffmpeg.hof.detect ERROR : Applying option an (disable audio) with argument 1.
frigate | [2022-08-09 05:16:43] ffmpeg.hof.detect ERROR : Successfully parsed a group of options.
frigate | [2022-08-09 05:16:43] ffmpeg.hof.detect ERROR : Opening an output file: /tmp/cache/hof-%Y%m%d%H%M%S.mp4.
frigate | [2022-08-09 05:16:43] ffmpeg.hof.detect ERROR : Successfully opened the file.
frigate | [2022-08-09 05:16:43] ffmpeg.hof.detect ERROR : Parsing a group of options: output url pipe:.
frigate | [2022-08-09 05:16:43] ffmpeg.hof.detect ERROR : Applying option r (set frame rate (Hz value, fraction or abbreviation)) with argument 10.
frigate | [2022-08-09 05:16:43] ffmpeg.hof.detect ERROR : Applying option s (set frame size (WxH or abbreviation)) with argument 1920x1080.
frigate | [2022-08-09 05:16:43] ffmpeg.hof.detect ERROR : Applying option f (force format) with argument rawvideo.
frigate | [2022-08-09 05:16:43] ffmpeg.hof.detect ERROR : Applying option pix_fmt (set pixel format) with argument yuv420p.
frigate | [2022-08-09 05:16:43] ffmpeg.hof.detect ERROR : Successfully parsed a group of options.
frigate | [2022-08-09 05:16:43] ffmpeg.hof.detect ERROR : Opening an output file: pipe:.
frigate | [2022-08-09 05:16:43] ffmpeg.hof.detect ERROR : [pipe @ 0x55af96a1e0] Setting default whitelist 'crypto,data'
frigate | [2022-08-09 05:16:43] ffmpeg.hof.detect ERROR : Successfully opened the file.
frigate | [2022-08-09 05:16:43] ffmpeg.hof.detect ERROR : [h264_mp4toannexb @ 0x55af8fd180] The input looks like it is Annex B already
frigate | [2022-08-09 05:16:43] ffmpeg.hof.detect ERROR : [h264_v4l2m2m @ 0x55af905690] probing device /dev/video31
frigate | [2022-08-09 05:16:43] ffmpeg.hof.detect ERROR : [h264_v4l2m2m @ 0x55af905690] driver 'bcm2835-codec' on card 'bcm2835-codec-encode_image' in mplane mode
frigate | [2022-08-09 05:16:43] ffmpeg.hof.detect ERROR : [h264_v4l2m2m @ 0x55af905690] v4l2 output format not supported
frigate | [2022-08-09 05:16:43] ffmpeg.hof.detect ERROR : [h264_v4l2m2m @ 0x55af905690] probing device /dev/video23
frigate | [2022-08-09 05:16:43] ffmpeg.hof.detect ERROR : [h264_v4l2m2m @ 0x55af905690] driver 'bcm2835-isp' on card 'bcm2835-isp' in unknown mode
frigate | [2022-08-09 05:16:43] ffmpeg.hof.detect ERROR : [h264_v4l2m2m @ 0x55af905690] probing device /dev/video22
frigate | [2022-08-09 05:16:43] ffmpeg.hof.detect ERROR : [h264_v4l2m2m @ 0x55af905690] driver 'bcm2835-isp' on card 'bcm2835-isp' in splane mode
frigate | [2022-08-09 05:16:43] ffmpeg.hof.detect ERROR : [h264_v4l2m2m @ 0x55af905690] v4l2 output format not supported
frigate | [2022-08-09 05:16:43] ffmpeg.hof.detect ERROR : [h264_v4l2m2m @ 0x55af905690] probing device /dev/video21
frigate | [2022-08-09 05:16:43] ffmpeg.hof.detect ERROR : [h264_v4l2m2m @ 0x55af905690] driver 'bcm2835-isp' on card 'bcm2835-isp' in splane mode
frigate | [2022-08-09 05:16:43] ffmpeg.hof.detect ERROR : [h264_v4l2m2m @ 0x55af905690] v4l2 output format not supported
frigate | [2022-08-09 05:16:43] ffmpeg.hof.detect ERROR : [h264_v4l2m2m @ 0x55af905690] probing device /dev/video20
frigate | [2022-08-09 05:16:43] ffmpeg.hof.detect ERROR : [h264_v4l2m2m @ 0x55af905690] driver 'bcm2835-isp' on card 'bcm2835-isp' in splane mode
frigate | [2022-08-09 05:16:43] ffmpeg.hof.detect ERROR : [h264_v4l2m2m @ 0x55af905690] v4l2 output format not supported
frigate | [2022-08-09 05:16:43] ffmpeg.hof.detect ERROR : [h264_v4l2m2m @ 0x55af905690] probing device /dev/video19
frigate | [2022-08-09 05:16:43] ffmpeg.hof.detect ERROR : [h264_v4l2m2m @ 0x55af905690] driver 'rpivid' on card 'rpivid' in mplane mode
frigate | [2022-08-09 05:16:43] ffmpeg.hof.detect ERROR : [h264_v4l2m2m @ 0x55af905690] v4l2 output format not supported
frigate | [2022-08-09 05:16:43] ffmpeg.hof.detect ERROR : [h264_v4l2m2m @ 0x55af905690] probing device /dev/video18
frigate | [2022-08-09 05:16:43] ffmpeg.hof.detect ERROR : [h264_v4l2m2m @ 0x55af905690] driver 'bcm2835-codec' on card 'bcm2835-codec-image_fx' in mplane mode
frigate | [2022-08-09 05:16:43] ffmpeg.hof.detect ERROR : [h264_v4l2m2m @ 0x55af905690] v4l2 output format not supported
frigate | [2022-08-09 05:16:43] ffmpeg.hof.detect ERROR : [h264_v4l2m2m @ 0x55af905690] probing device /dev/video16
frigate | [2022-08-09 05:16:43] ffmpeg.hof.detect ERROR : [h264_v4l2m2m @ 0x55af905690] driver 'bcm2835-isp' on card 'bcm2835-isp' in unknown mode
frigate | [2022-08-09 05:16:43] ffmpeg.hof.detect ERROR : [h264_v4l2m2m @ 0x55af905690] probing device /dev/video15
frigate | [2022-08-09 05:16:43] ffmpeg.hof.detect ERROR : [h264_v4l2m2m @ 0x55af905690] driver 'bcm2835-isp' on card 'bcm2835-isp' in splane mode
frigate | [2022-08-09 05:16:43] ffmpeg.hof.detect ERROR : [h264_v4l2m2m @ 0x55af905690] v4l2 output format not supported
frigate | [2022-08-09 05:16:43] ffmpeg.hof.detect ERROR : [h264_v4l2m2m @ 0x55af905690] probing device /dev/video14
frigate | [2022-08-09 05:16:43] ffmpeg.hof.detect ERROR : [h264_v4l2m2m @ 0x55af905690] driver 'bcm2835-isp' on card 'bcm2835-isp' in splane mode
frigate | [2022-08-09 05:16:43] ffmpeg.hof.detect ERROR : [h264_v4l2m2m @ 0x55af905690] v4l2 output format not supported
frigate | [2022-08-09 05:16:43] ffmpeg.hof.detect ERROR : [h264_v4l2m2m @ 0x55af905690] probing device /dev/video13
frigate | [2022-08-09 05:16:43] ffmpeg.hof.detect ERROR : [h264_v4l2m2m @ 0x55af905690] driver 'bcm2835-isp' on card 'bcm2835-isp' in splane mode
frigate | [2022-08-09 05:16:43] ffmpeg.hof.detect ERROR : [h264_v4l2m2m @ 0x55af905690] v4l2 output format not supported
frigate | [2022-08-09 05:16:43] ffmpeg.hof.detect ERROR : [h264_v4l2m2m @ 0x55af905690] probing device /dev/video12
frigate | [2022-08-09 05:16:43] ffmpeg.hof.detect ERROR : [h264_v4l2m2m @ 0x55af905690] driver 'bcm2835-codec' on card 'bcm2835-codec-isp' in mplane mode
frigate | [2022-08-09 05:16:43] ffmpeg.hof.detect ERROR : [h264_v4l2m2m @ 0x55af905690] v4l2 output format not supported
frigate | [2022-08-09 05:16:43] ffmpeg.hof.detect ERROR : [h264_v4l2m2m @ 0x55af905690] probing device /dev/video11
frigate | [2022-08-09 05:16:43] ffmpeg.hof.detect ERROR : [h264_v4l2m2m @ 0x55af905690] driver 'bcm2835-codec' on card 'bcm2835-codec-encode' in mplane mode
frigate | [2022-08-09 05:16:43] ffmpeg.hof.detect ERROR : [h264_v4l2m2m @ 0x55af905690] v4l2 output format not supported
frigate | [2022-08-09 05:16:43] ffmpeg.hof.detect ERROR : [h264_v4l2m2m @ 0x55af905690] probing device /dev/video10
frigate | [2022-08-09 05:16:43] ffmpeg.hof.detect ERROR : [h264_v4l2m2m @ 0x55af905690] driver 'bcm2835-codec' on card 'bcm2835-codec-decode' in mplane mode
frigate | [2022-08-09 05:16:43] ffmpeg.hof.detect ERROR : [h264_v4l2m2m @ 0x55af905690] Using device /dev/video10
frigate | [2022-08-09 05:16:43] ffmpeg.hof.detect ERROR : [h264_v4l2m2m @ 0x55af905690] driver 'bcm2835-codec' on card 'bcm2835-codec-decode' in mplane mode
frigate | [2022-08-09 05:16:43] ffmpeg.hof.detect ERROR : [h264_v4l2m2m @ 0x55af905690] requesting formats: output=H264 capture=YU12
frigate | [2022-08-09 05:16:43] ffmpeg.hof.detect ERROR : [h264_v4l2m2m @ 0x55af905690] output VIDIOC_REQBUFS failed: Invalid argument
frigate | [2022-08-09 05:16:43] ffmpeg.hof.detect ERROR : [h264_v4l2m2m @ 0x55af905690] no v4l2 output context's buffers
frigate | [2022-08-09 05:16:43] ffmpeg.hof.detect ERROR : [h264_v4l2m2m @ 0x55af905690] can't configure decoder
frigate | [2022-08-09 05:16:43] ffmpeg.hof.detect ERROR : Stream mapping:
frigate | [2022-08-09 05:16:43] ffmpeg.hof.detect ERROR : Stream #0:0 -> #0:0 (copy)
frigate | [2022-08-09 05:16:43] ffmpeg.hof.detect ERROR : Stream #0:0 -> #1:0 (h264 (h264_v4l2m2m) -> rawvideo (native))
frigate | [2022-08-09 05:16:43] ffmpeg.hof.detect ERROR : Error while opening decoder for input stream #0:0 : Invalid argument
frigate | [2022-08-09 05:16:43] ffmpeg.hof.detect ERROR : [AVIOContext @ 0x55af905a30] Statistics: 0 bytes written, 0 seeks, 0 writeouts
frigate | [2022-08-09 05:17:03] watchdog.hof INFO : No frames received from hof in 20 seconds. Exiting ffmpeg...
frigate | [2022-08-09 05:17:03] watchdog.hof INFO : Waiting for ffmpeg to exit gracefully...
frigate | [2022-08-09 05:17:33] watchdog.hof INFO : FFmpeg didnt exit. Force killing...
frigate | [2022-08-09 07:38:24] ws4py INFO : Managing websocket [Local => 127.0.0.1:5002 | Remote => 127.0.0.1:44136]
frigate | [2022-08-09 07:38:40] ws4py INFO : Managing websocket [Local => 127.0.0.1:8082 | Remote => 127.0.0.1:49210]
frigate | [2022-08-09 07:38:44] ws4py INFO : Terminating websocket [Local => 127.0.0.1:8082 | Remote => 127.0.0.1:49210]
frigate | [2022-08-09 07:39:39] ws4py INFO : Terminating websocket [Local => 127.0.0.1:5002 | Remote => 127.0.0.1:44136]
frigate | [2022-08-09 09:29:40] ws4py INFO : Managing websocket [Local => 127.0.0.1:5002 | Remote => 127.0.0.1:58284]
frigate | [2022-08-09 09:29:45] ws4py INFO : Managing websocket [Local => 127.0.0.1:8082 | Remote => 127.0.0.1:49516]
frigate | [2022-08-09 09:29:49] ws4py INFO : Terminating websocket [Local => 127.0.0.1:8082 | Remote => 127.0.0.1:49516]
frigate | [2022-08-09 09:33:11] ws4py INFO : Terminating websocket [Local => 127.0.0.1:5002 | Remote => 127.0.0.1:58284]

One hour before the madness begins:

frigate | [2022-08-09 02:32:56] frigate.app INFO : Starting Frigate (0.11.0-37325c7)
frigate | Starting migrations
frigate | [2022-08-09 02:32:56] peewee_migrate INFO : Starting migrations
frigate | There is nothing to migrate
frigate | [2022-08-09 02:32:56] peewee_migrate INFO : There is nothing to migrate
frigate | [2022-08-09 02:32:56] frigate.app INFO : Output process started: 217
frigate | [2022-08-09 02:32:56] ws4py INFO : Using epoll
frigate | [2022-08-09 02:32:56] frigate.app INFO : Camera processor started for hof: 223
frigate | [2022-08-09 02:32:56] frigate.app INFO : Capture process started for hof: 225
frigate | [2022-08-09 02:32:56] ws4py INFO : Using epoll
frigate | [2022-08-09 02:32:56] detector.coral INFO : Starting detection process: 216
frigate | [2022-08-09 02:32:56] frigate.edgetpu INFO : Attempting to load TPU as usb
frigate | [2022-08-09 02:32:59] frigate.edgetpu INFO : TPU found
frigate | [2022-08-09 04:16:26] watchdog.hof INFO : No frames received from hof in 20 seconds. Exiting ffmpeg...
frigate | [2022-08-09 04:16:26] watchdog.hof INFO : Waiting for ffmpeg to exit gracefully...
frigate | [2022-08-09 04:16:56] watchdog.hof INFO : FFmpeg didnt exit. Force killing...
frigate | [2022-08-09 04:16:57] frigate.record WARNING : Discarding a corrupt recording segment: {'cache_path': '/tmp/cache/hof-20220809041509.mp4', 'start_time': datetime.datetime(2022, 8, 9, 4, 15, 9)}
frigate | [2022-08-09 04:17:06] frigate.video ERROR : hof: Unable to read frames from ffmpeg process.
frigate | [2022-08-09 04:17:06] frigate.video ERROR : hof: ffmpeg process is not running. exiting capture thread...
frigate | [2022-08-09 04:17:16] watchdog.hof ERROR : Ffmpeg process crashed unexpectedly for hof.
frigate | [2022-08-09 04:17:16] watchdog.hof ERROR : The following ffmpeg logs include the last 100 lines prior to exit.
frigate | [2022-08-09 04:17:16] ffmpeg.hof.detect ERROR : Clipping frame in rate conversion by 0.530540
frigate | [2022-08-09 04:17:16] ffmpeg.hof.detect ERROR : Clipping frame in rate conversion by 0.530098
frigate | [2022-08-09 04:17:16] ffmpeg.hof.detect ERROR : Clipping frame in rate conversion by 0.527214
frigate | [2022-08-09 04:17:16] ffmpeg.hof.detect ERROR : [segment @ 0x559c31d560] stream:0 start_pts_time:6180.05 pts:63347170 pts_time:6186.25 dts:63347170 dts_time:6186.25 -> pts:63464 pts_time:6.19766 dts:63464 dts_time:6.19766
frigate | [2022-08-09 04:17:16] ffmpeg.hof.detect ERROR : [segment @ 0x559c31d560] stream:0 start_pts_time:6180.05 pts:63348163 pts_time:6186.34 dts:63348163 dts_time:6186.34 -> pts:64457 pts_time:6.29463 dts:64457 dts_time:6.29463
frigate | [2022-08-09 04:17:16] ffmpeg.hof.detect ERROR : [segment @ 0x559c31d560] stream:0 start_pts_time:6180.05 pts:63349120 pts_time:6186.44 dts:63349120 dts_time:6186.44 -> pts:65414 pts_time:6.38809 dts:65414 dts_time:6.38809
frigate | [2022-08-09 04:17:16] ffmpeg.hof.detect ERROR : [segment @ 0x559c31d560] stream:0 start_pts_time:6180.05 pts:63350085 pts_time:6186.53 dts:63350085 dts_time:6186.53 -> pts:66379 pts_time:6.48232 dts:66379 dts_time:6.48232
frigate | [2022-08-09 04:17:16] ffmpeg.hof.detect ERROR : Clipping frame in rate conversion by 0.426659
frigate | [2022-08-09 04:17:16] ffmpeg.hof.detect ERROR : frame=61854 fps= 10 q=-1.0 q=-0.0 size=N/A time=01:43:06.53 bitrate=N/A dup=38 drop=25 speed= 1x
frigate | [2022-08-09 04:17:16] ffmpeg.hof.detect ERROR : [segment @ 0x559c31d560] stream:0 start_pts_time:6180.05 pts:63351168 pts_time:6186.64 dts:63351168 dts_time:6186.64 -> pts:67462 pts_time:6.58809 dts:67462 dts_time:6.58809
frigate | [2022-08-09 04:17:16] ffmpeg.hof.detect ERROR : Clipping frame in rate conversion by 0.568886
frigate | [2022-08-09 04:17:16] ffmpeg.hof.detect ERROR : [segment @ 0x559c31d560] stream:0 start_pts_time:6180.05 pts:63352194 pts_time:6186.74 dts:63352194 dts_time:6186.74 -> pts:68488 pts_time:6.68828 dts:68488 dts_time:6.68828
frigate | [2022-08-09 04:17:16] ffmpeg.hof.detect ERROR : Clipping frame in rate conversion by 0.529549
frigate | [2022-08-09 04:17:16] ffmpeg.hof.detect ERROR : [segment @ 0x559c31d560] stream:0 start_pts_time:6180.05 pts:63353220 pts_time:6186.84 dts:63353220 dts_time:6186.84 -> pts:69514 pts_time:6.78848 dts:69514 dts_time:6.78848
frigate | [2022-08-09 04:17:16] ffmpeg.hof.detect ERROR : Clipping frame in rate conversion by 0.559654
frigate | [2022-08-09 04:17:16] ffmpeg.hof.detect ERROR : [segment @ 0x559c31d560] stream:0 start_pts_time:6180.05 pts:63354243 pts_time:6186.94 dts:63354243 dts_time:6186.94 -> pts:70537 pts_time:6.88838 dts:70537 dts_time:6.88838
frigate | [2022-08-09 04:17:16] ffmpeg.hof.detect ERROR : Past duration 0.625328 too large
frigate | [2022-08-09 04:17:16] ffmpeg.hof.detect ERROR : [segment @ 0x559c31d560] stream:0 start_pts_time:6180.05 pts:63355266 pts_time:6187.04 dts:63355266 dts_time:6187.04 -> pts:71560 pts_time:6.98828 dts:71560 dts_time:6.98828
frigate | [2022-08-09 04:17:16] ffmpeg.hof.detect ERROR : Past duration 0.682442 too large
frigate | [2022-08-09 04:17:16] ffmpeg.hof.detect ERROR : frame=61859 fps= 10 q=-1.0 q=-0.0 size=N/A time=01:43:07.03 bitrate=N/A dup=38 drop=25 speed= 1x
frigate | [2022-08-09 04:17:16] ffmpeg.hof.detect ERROR : [segment @ 0x559c31d560] stream:0 start_pts_time:6180.05 pts:63356286 pts_time:6187.14 dts:63356286 dts_time:6187.14 -> pts:72580 pts_time:7.08789 dts:72580 dts_time:7.08789
frigate | [2022-08-09 04:17:16] ffmpeg.hof.detect ERROR : Past duration 0.624763 too large
frigate | [2022-08-09 04:17:16] ffmpeg.hof.detect ERROR : [segment @ 0x559c31d560] stream:0 start_pts_time:6180.05 pts:63357249 pts_time:6187.23 dts:63357249 dts_time:6187.23 -> pts:73543 pts_time:7.18193 dts:73543 dts_time:7.18193
frigate | [2022-08-09 04:17:16] ffmpeg.hof.detect ERROR : Past duration 0.622993 too large
frigate | [2022-08-09 04:17:16] ffmpeg.hof.detect ERROR : [segment @ 0x559c31d560] stream:0 start_pts_time:6180.05 pts:63358333 pts_time:6187.34 dts:63358333 dts_time:6187.34 -> pts:74627 pts_time:7.28779 dts:74627 dts_time:7.28779
frigate | [2022-08-09 04:17:16] ffmpeg.hof.detect ERROR : Past duration 0.621544 too large
frigate | [2022-08-09 04:17:16] ffmpeg.hof.detect ERROR : [segment @ 0x559c31d560] stream:0 start_pts_time:6180.05 pts:63359356 pts_time:6187.44 dts:63359356 dts_time:6187.44 -> pts:75650 pts_time:7.3877 dts:75650 dts_time:7.3877
frigate | [2022-08-09 04:17:16] ffmpeg.hof.detect ERROR : Past duration 0.621986 too large
frigate | [2022-08-09 04:17:16] ffmpeg.hof.detect ERROR : [segment @ 0x559c31d560] stream:0 start_pts_time:6180.05 pts:63360382 pts_time:6187.54 dts:63360382 dts_time:6187.54 -> pts:76676 pts_time:7.48789 dts:76676 dts_time:7.48789
frigate | [2022-08-09 04:17:16] ffmpeg.hof.detect ERROR : Past duration 0.623329 too large
frigate | [2022-08-09 04:17:16] ffmpeg.hof.detect ERROR : [segment @ 0x559c31d560] stream:0 start_pts_time:6180.05 pts:63361407 pts_time:6187.64 dts:63361407 dts_time:6187.64 -> pts:77701 pts_time:7.58799 dts:77701 dts_time:7.58799
frigate | [2022-08-09 04:17:16] ffmpeg.hof.detect ERROR : Past duration 0.626778 too large
frigate | [2022-08-09 04:17:16] ffmpeg.hof.detect ERROR : frame=61865 fps= 10 q=-1.0 q=-0.0 size=N/A time=01:43:07.63 bitrate=N/A dup=38 drop=25 speed= 1x
frigate | [2022-08-09 04:17:16] ffmpeg.hof.detect ERROR : [segment @ 0x559c31d560] stream:0 start_pts_time:6180.05 pts:63362429 pts_time:6187.74 dts:63362429 dts_time:6187.74 -> pts:78723 pts_time:7.68779 dts:78723 dts_time:7.68779
frigate | [2022-08-09 04:17:16] ffmpeg.hof.detect ERROR : Past duration 0.686989 too large
frigate | [2022-08-09 04:17:16] ffmpeg.hof.detect ERROR : [segment @ 0x559c31d560] stream:0 start_pts_time:6180.05 pts:63363453 pts_time:6187.84 dts:63363453 dts_time:6187.84 -> pts:79747 pts_time:7.78779 dts:79747 dts_time:7.78779
frigate | [2022-08-09 04:17:16] ffmpeg.hof.detect ERROR : Past duration 0.628105 too large
frigate | [2022-08-09 04:17:16] ffmpeg.hof.detect ERROR : [segment @ 0x559c31d560] stream:0 start_pts_time:6180.05 pts:63364477 pts_time:6187.94 dts:63364477 dts_time:6187.94 -> pts:80771 pts_time:7.88779 dts:80771 dts_time:7.88779
frigate | [2022-08-09 04:17:16] ffmpeg.hof.detect ERROR : Past duration 0.628777 too large
frigate | [2022-08-09 04:17:16] ffmpeg.hof.detect ERROR : [segment @ 0x559c31d560] stream:0 start_pts_time:6180.05 pts:63365448 pts_time:6188.03 dts:63365448 dts_time:6188.03 -> pts:81742 pts_time:7.98262 dts:81742 dts_time:7.98262
frigate | [2022-08-09 04:17:16] ffmpeg.hof.detect ERROR : Past duration 0.626778 too large
frigate | [2022-08-09 04:17:16] ffmpeg.hof.detect ERROR : [segment @ 0x559c31d560] stream:0 start_pts_time:6180.05 pts:63366534 pts_time:6188.14 dts:63366534 dts_time:6188.14 -> pts:82828 pts_time:8.08867 dts:82828 dts_time:8.08867
frigate | [2022-08-09 04:17:16] ffmpeg.hof.detect ERROR : Past duration 0.625771 too large
frigate | [2022-08-09 04:17:16] ffmpeg.hof.detect ERROR : frame=61870 fps= 10 q=-1.0 q=-0.0 size=N/A time=01:43:08.13 bitrate=N/A dup=38 drop=25 speed= 1x
frigate | [2022-08-09 04:17:16] ffmpeg.hof.detect ERROR : [segment @ 0x559c31d560] stream:0 start_pts_time:6180.05 pts:63367551 pts_time:6188.24 dts:63367551 dts_time:6188.24 -> pts:83845 pts_time:8.18799 dts:83845 dts_time:8.18799
frigate | [2022-08-09 04:17:16] ffmpeg.hof.detect ERROR : Past duration 0.628212 too large
frigate | [2022-08-09 04:17:16] ffmpeg.hof.detect ERROR : [segment @ 0x559c31d560] stream:0 start_pts_time:6180.05 pts:63368575 pts_time:6188.34 dts:63368575 dts_time:6188.34 -> pts:84869 pts_time:8.28799 dts:84869 dts_time:8.28799
frigate | [2022-08-09 04:17:16] ffmpeg.hof.detect ERROR : Past duration 0.628319 too large
frigate | [2022-08-09 04:17:16] ffmpeg.hof.detect ERROR : [segment @ 0x559c31d560] stream:0 start_pts_time:6180.05 pts:63369537 pts_time:6188.43 dts:63369537 dts_time:6188.43 -> pts:85831 pts_time:8.38193 dts:85831 dts_time:8.38193
frigate | [2022-08-09 04:17:16] ffmpeg.hof.detect ERROR : Past duration 0.627876 too large
frigate | [2022-08-09 04:17:16] ffmpeg.hof.detect ERROR : [segment @ 0x559c31d560] stream:0 start_pts_time:6180.05 pts:63370565 pts_time:6188.53 dts:63370565 dts_time:6188.53 -> pts:86859 pts_time:8.48232 dts:86859 dts_time:8.48232
frigate | [2022-08-09 04:17:16] ffmpeg.hof.detect ERROR : Past duration 0.680107 too large
frigate | [2022-08-09 04:17:16] ffmpeg.hof.detect ERROR : [segment @ 0x559c31d560] stream:0 start_pts_time:6180.05 pts:63371645 pts_time:6188.64 dts:63371645 dts_time:6188.64 -> pts:87939 pts_time:8.58779 dts:87939 dts_time:8.58779
frigate | [2022-08-09 04:17:16] ffmpeg.hof.detect ERROR : Past duration 0.619102 too large
frigate | [2022-08-09 04:17:16] ffmpeg.hof.detect ERROR : [segment @ 0x559c31d560] stream:0 start_pts_time:6180.05 pts:63372670 pts_time:6188.74 dts:63372670 dts_time:6188.74 -> pts:88964 pts_time:8.68789 dts:88964 dts_time:8.68789
frigate | [2022-08-09 04:17:16] ffmpeg.hof.detect ERROR : Past duration 0.626106 too large
frigate | [2022-08-09 04:17:16] ffmpeg.hof.detect ERROR : frame=61876 fps= 10 q=-1.0 q=-0.0 size=N/A time=01:43:08.73 bitrate=N/A dup=38 drop=25 speed= 1x
frigate | [2022-08-09 04:17:16] ffmpeg.hof.detect ERROR : [segment @ 0x559c31d560] stream:0 start_pts_time:6180.05 pts:63373632 pts_time:6188.83 dts:63373632 dts_time:6188.83 -> pts:89926 pts_time:8.78184 dts:89926 dts_time:8.78184
frigate | [2022-08-09 04:17:16] ffmpeg.hof.detect ERROR : Past duration 0.625664 too large
frigate | [2022-08-09 04:17:16] ffmpeg.hof.detect ERROR : [segment @ 0x559c31d560] stream:0 start_pts_time:6180.05 pts:63374673 pts_time:6188.93 dts:63374673 dts_time:6188.93 -> pts:90967 pts_time:8.8835 dts:90967 dts_time:8.8835
frigate | [2022-08-09 04:17:16] ffmpeg.hof.detect ERROR : Past duration 0.686440 too large
frigate | [2022-08-09 04:17:16] ffmpeg.hof.detect ERROR : [segment @ 0x559c31d560] stream:0 start_pts_time:6180.05 pts:63375810 pts_time:6189.04 dts:63375810 dts_time:6189.04 -> pts:92104 pts_time:8.99453 dts:92104 dts_time:8.99453
frigate | [2022-08-09 04:17:16] ffmpeg.hof.detect ERROR : Past duration 0.682991 too large
frigate | [2022-08-09 04:17:16] ffmpeg.hof.detect ERROR : [segment @ 0x559c31d560] stream:0 start_pts_time:6180.05 pts:63376764 pts_time:6189.14 dts:63376764 dts_time:6189.14 -> pts:93058 pts_time:9.0877 dts:93058 dts_time:9.0877
frigate | [2022-08-09 04:17:16] ffmpeg.hof.detect ERROR : Past duration 0.627434 too large
frigate | [2022-08-09 04:17:16] ffmpeg.hof.detect ERROR : Past duration 0.626991 too large
frigate | [2022-08-09 04:17:16] ffmpeg.hof.detect ERROR : Past duration 0.687874 too large
frigate | [2022-08-09 04:17:16] ffmpeg.hof.detect ERROR : Past duration 0.670433 too large
frigate | [2022-08-09 04:17:16] ffmpeg.hof.detect ERROR : [segment @ 0x559c31d560] stream:0 start_pts_time:6180.05 pts:63377896 pts_time:6189.25 dts:63377896 dts_time:6189.25 -> pts:94190 pts_time:9.19824 dts:94190 dts_time:9.19824
frigate | [2022-08-09 04:17:16] ffmpeg.hof.detect ERROR : frame=61881 fps= 10 q=-1.0 q=-0.0 size=N/A time=01:43:09.24 bitrate=N/A dup=38 drop=25 speed= 1x
frigate | [2022-08-09 04:17:16] ffmpeg.hof.detect ERROR : [segment @ 0x559c31d560] stream:0 start_pts_time:6180.05 pts:63378813 pts_time:6189.34 dts:63378813 dts_time:6189.34 -> pts:95107 pts_time:9.28779 dts:95107 dts_time:9.28779
frigate | [2022-08-09 04:17:16] ffmpeg.hof.detect ERROR : [segment @ 0x559c31d560] stream:0 start_pts_time:6180.05 pts:63379837 pts_time:6189.44 dts:63379837 dts_time:6189.44 -> pts:96131 pts_time:9.38779 dts:96131 dts_time:9.38779
frigate | [2022-08-09 04:17:16] ffmpeg.hof.detect ERROR : [segment @ 0x559c31d560] stream:0 start_pts_time:6180.05 pts:63380817 pts_time:6189.53 dts:63380817 dts_time:6189.53 -> pts:97111 pts_time:9.4835 dts:97111 dts_time:9.4835
frigate | [2022-08-09 04:17:16] ffmpeg.hof.detect ERROR : Clipping frame in rate conversion by 0.560661
frigate | [2022-08-09 04:17:16] ffmpeg.hof.detect ERROR : [segment @ 0x559c31d560] stream:0 start_pts_time:6180.05 pts:63381887 pts_time:6189.64 dts:63381887 dts_time:6189.64 -> pts:98181 pts_time:9.58799 dts:98181 dts_time:9.58799
frigate | [2022-08-09 04:17:16] ffmpeg.hof.detect ERROR : Past duration 0.628990 too large
frigate | [2022-08-09 04:17:16] ffmpeg.hof.detect ERROR : [segment @ 0x559c31d560] stream:0 start_pts_time:6180.05 pts:63382911 pts_time:6189.74 dts:63382911 dts_time:6189.74 -> pts:99205 pts_time:9.68799 dts:99205 dts_time:9.68799
frigate | [2022-08-09 04:17:16] ffmpeg.hof.detect ERROR : [segment @ 0x559c31d560] stream:0 start_pts_time:6180.05 pts:63383939 pts_time:6189.84 dts:63383939 dts_time:6189.84 -> pts:100233 pts_time:9.78838 dts:100233 dts_time:9.78838
frigate | [2022-08-09 04:17:16] ffmpeg.hof.detect ERROR : frame=61887 fps= 10 q=-1.0 q=-0.0 size=N/A time=01:43:09.83 bitrate=N/A dup=38 drop=25 speed= 1x
frigate | [2022-08-09 04:17:16] ffmpeg.hof.detect ERROR : [segment @ 0x559c31d560] stream:0 start_pts_time:6180.05 pts:63384917 pts_time:6189.93 dts:63384917 dts_time:6189.93 -> pts:101211 pts_time:9.88389 dts:101211 dts_time:9.88389
frigate | [2022-08-09 04:17:16] ffmpeg.hof.detect ERROR : [segment @ 0x559c31d560] stream:0 start_pts_time:6180.05 pts:63385985 pts_time:6190.04 dts:63385985 dts_time:6190.04 -> pts:102279 pts_time:9.98818 dts:102279 dts_time:9.98818
frigate | [2022-08-09 04:17:16] ffmpeg.hof.detect ERROR : [segment @ 0x559c31d560] stream:0 start_pts_time:6180.05 pts:63386954 pts_time:6190.13 dts:63386954 dts_time:6190.13 -> pts:103248 pts_time:10.0828 dts:103248 dts_time:10.0828
frigate | [2022-08-09 04:17:16] ffmpeg.hof.detect ERROR : [segment @ 0x559c31d560] stream:0 start_pts_time:6180.05 pts:63388032 pts_time:6190.24 dts:63388032 dts_time:6190.24 -> pts:104326 pts_time:10.1881 dts:104326 dts_time:10.1881
frigate | [2022-08-09 04:17:16] ffmpeg.hof.detect ERROR : [segment @ 0x559c31d560] stream:0 start_pts_time:6180.05 pts:63389016 pts_time:6190.33 dts:63389016 dts_time:6190.33 -> pts:105310 pts_time:10.2842 dts:105310 dts_time:10.2842
frigate | [2022-08-09 04:17:16] ffmpeg.hof.detect ERROR : [segment @ 0x559c31d560] stream:0 start_pts_time:6180.05 pts:63390142 pts_time:6190.44 dts:63390142 dts_time:6190.44 -> pts:106436 pts_time:10.3941 dts:106436 dts_time:10.3941
frigate | [2022-08-09 04:17:16] ffmpeg.hof.detect ERROR : frame=61893 fps= 10 q=-1.0 q=-0.0 size=N/A time=01:43:10.44 bitrate=N/A dup=38 drop=25 speed= 1x
frigate | [2022-08-09 04:17:16] ffmpeg.hof.detect ERROR : [segment @ 0x559c31d560] stream:0 start_pts_time:6180.05 pts:63391208 pts_time:6190.55 dts:63391208 dts_time:6190.55 -> pts:107502 pts_time:10.4982 dts:107502 dts_time:10.4982
frigate | [2022-08-09 04:17:16] ffmpeg.hof.detect ERROR : [segment @ 0x559c31d560] stream:0 start_pts_time:6180.05 pts:63392175 pts_time:6190.64 dts:63392175 dts_time:6190.64 -> pts:108469 pts_time:10.5927 dts:108469 dts_time:10.5927
frigate | [2022-08-09 04:17:16] ffmpeg.hof.detect ERROR : [segment @ 0x559c31d560] stream:0 start_pts_time:6180.05 pts:63393253 pts_time:6190.75 dts:63393253 dts_time:6190.75 -> pts:109547 pts_time:10.6979 dts:109547 dts_time:10.6979
frigate | [2022-08-09 04:17:16] ffmpeg.hof.detect ERROR : [segment @ 0x559c31d560] stream:0 start_pts_time:6180.05 pts:63394236 pts_time:6190.84 dts:63394236 dts_time:6190.84 -> pts:110530 pts_time:10.7939 dts:110530 dts_time:10.7939
frigate | [2022-08-09 04:17:16] ffmpeg.hof.detect ERROR : [segment @ 0x559c31d560] stream:0 start_pts_time:6180.05 pts:63395301 pts_time:6190.95 dts:63395301 dts_time:6190.95 -> pts:111595 pts_time:10.8979 dts:111595 dts_time:10.8979
frigate | [2022-08-09 04:17:16] ffmpeg.hof.detect ERROR : frame=61898 fps= 10 q=-1.0 q=-0.0 size=N/A time=01:43:10.94 bitrate=N/A dup=38 drop=25 speed= 1x
frigate | [2022-08-09 04:17:16] ffmpeg.hof.detect ERROR : [segment @ 0x559c31d560] stream:0 start_pts_time:6180.05 pts:63396269 pts_time:6191.04 dts:63396269 dts_time:6191.04 -> pts:112563 pts_time:10.9925 dts:112563 dts_time:10.9925
frigate | [2022-08-09 04:17:16] ffmpeg.hof.detect ERROR : [segment @ 0x559c31d560] stream:0 start_pts_time:6180.05 pts:63397350 pts_time:6191.15 dts:63397350 dts_time:6191.15 -> pts:113644 pts_time:11.098 dts:113644 dts_time:11.098
frigate | [2022-08-09 04:17:16] ffmpeg.hof.detect ERROR : [segment @ 0x559c31d560] stream:0 start_pts_time:6180.05 pts:63398335 pts_time:6191.24 dts:63398335 dts_time:6191.24 -> pts:114629 pts_time:11.1942 dts:114629 dts_time:11.1942
frigate | [2022-08-09 04:17:16] ffmpeg.hof.detect ERROR : [segment @ 0x559c31d560] stream:0 start_pts_time:6180.05 pts:63399399 pts_time:6191.35 dts:63399399 dts_time:6191.35 -> pts:115693 pts_time:11.2981 dts:115693 dts_time:11.2981
frigate | [2022-08-09 04:17:16] ffmpeg.hof.detect ERROR : [segment @ 0x559c31d560] stream:0 start_pts_time:6180.05 pts:63400368 pts_time:6191.44 dts:63400368 dts_time:6191.44 -> pts:116662 pts_time:11.3928 dts:116662 dts_time:11.3928
frigate | [2022-08-09 04:17:16] ffmpeg.hof.detect ERROR : [segment @ 0x559c31d560] stream:0 start_pts_time:6180.05 pts:63401446 pts_time:6191.55 dts:63401446 dts_time:6191.55 -> pts:117740 pts_time:11.498 dts:117740 dts_time:11.498
frigate | [2022-08-09 04:17:16] ffmpeg.hof.detect ERROR : frame=61904 fps= 10 q=-1.0 q=-0.0 size=N/A time=01:43:11.54 bitrate=N/A dup=38 drop=25 speed= 1x
frigate | [2022-08-09 04:17:16] ffmpeg.hof.detect ERROR : [segment @ 0x559c31d560] stream:0 start_pts_time:6180.05 pts:63402429 pts_time:6191.64 dts:63402429 dts_time:6191.64 -> pts:118723 pts_time:11.594 dts:118723 dts_time:11.594
frigate | [2022-08-09 04:17:22] frigate.video ERROR : hof: Unable to read frames from ffmpeg process.
frigate | [2022-08-09 04:17:22] frigate.video ERROR : hof: Unable to read frames from ffmpeg process.
frigate | [2022-08-09 04:17:22] frigate.video ERROR : hof: Unable to read frames from ffmpeg process.
frigate | [2022-08-09 04:17:22] frigate.video ERROR : hof: ffmpeg process is not running. exiting capture thread...
frigate | [2022-08-09 04:17:26] watchdog.hof ERROR : Ffmpeg process crashed unexpectedly for hof.

Part 2:
System logs:

Aug 09 05:16:38 rpi00.local kernel: bcm2835-codec bcm2835-codec: bcm2835_codec_create_component: failed to create component ril.video_decode
Aug 09 05:16:38 rpi00.local kernel: bcm2835_mmal_vchiq: vchiq_mmal_component_init: failed to create component -62 (Not enough GPU mem?)
Aug 09 05:16:38 rpi00.local kernel: bcm2835_mmal_vchiq: timed out waiting for sync completion
Aug 09 05:16:28 rpi00.local kernel: bcm2835-codec bcm2835-codec: bcm2835_codec_create_component: failed to create component ril.video_decode
Aug 09 05:16:28 rpi00.local kernel: bcm2835_mmal_vchiq: vchiq_mmal_component_init: failed to create component -62 (Not enough GPU mem?)
Aug 09 05:16:28 rpi00.local kernel: bcm2835_mmal_vchiq: timed out waiting for sync completion
Aug 09 05:16:18 rpi00.local kernel: bcm2835-codec bcm2835-codec: bcm2835_codec_create_component: failed to create component ril.video_decode
Aug 09 05:16:18 rpi00.local kernel: bcm2835_mmal_vchiq: vchiq_mmal_component_init: failed to create component -62 (Not enough GPU mem?)
Aug 09 05:16:18 rpi00.local kernel: bcm2835_mmal_vchiq: timed out waiting for sync completion
Aug 09 05:16:08 rpi00.local kernel: bcm2835-codec bcm2835-codec: bcm2835_codec_create_component: failed to create component ril.video_decode
Aug 09 05:16:08 rpi00.local kernel: bcm2835_mmal_vchiq: vchiq_mmal_component_init: failed to create component -62 (Not enough GPU mem?)
Aug 09 05:16:08 rpi00.local kernel: bcm2835_mmal_vchiq: timed out waiting for sync completion
Aug 09 05:15:58 rpi00.local kernel: bcm2835-codec bcm2835-codec: bcm2835_codec_create_component: failed to create component ril.video_decode
Aug 09 05:15:58 rpi00.local kernel: bcm2835_mmal_vchiq: vchiq_mmal_component_init: failed to create component -62 (Not enough GPU mem?)
Aug 09 05:15:58 rpi00.local kernel: bcm2835_mmal_vchiq: timed out waiting for sync completion
Aug 09 05:15:48 rpi00.local kernel: bcm2835-codec bcm2835-codec: bcm2835_codec_create_component: failed to create component ril.video_decode
Aug 09 05:15:48 rpi00.local kernel: bcm2835_mmal_vchiq: vchiq_mmal_component_init: failed to create component -62 (Not enough GPU mem?)
Aug 09 05:15:48 rpi00.local kernel: bcm2835_mmal_vchiq: timed out waiting for sync completion

...

Aug 09 04:17:00 rpi00.local kernel: bcm2835-codec bcm2835-codec: bcm2835_codec_stop_streaming: Failed disabling i/p port, ret -62
Aug 09 04:17:00 rpi00.local kernel: bcm2835_mmal_vchiq: timed out waiting for sync completion

@elgorro
Copy link
Author

elgorro commented Aug 9, 2022

@blakeblackshear In the above logs it says that RTSP "jitter buffer" is set to zero - may possible to increase to 500 or something? I think it's more like a workarround: https://ffmpeg.org/pipermail/ffmpeg-cvslog/2015-September/093812.html

@elgorro
Copy link
Author

elgorro commented Aug 10, 2022

After some research I'm now sure it comes from the driver-implemention and has nothing to do with Frigate-Project. Basically there is currently a voltage handling issue which can implic error in the h264-handling which is ffmpeg using beside a lot of other minor error scenarios. So trying now with over_voltage (:

@elgorro elgorro closed this as completed Aug 10, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

5 participants
@blakeblackshear @NickM-27 @BrodyStone21 @elgorro and others