blakeblackshear / frigate

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

[Support]: Frigate started using 100% CPU and kicking system killing errors #3050

Closed brenninger closed 2 years ago

brenninger commented 2 years ago

Describe the problem you are having

Within the last couple of days, I started to getting endless errors in my frigate logs and my CPU usage has jumped to 100% and I'm not sure what has caused the problems.

This is basically causing my HA to shut down because it uses up all my CPU usage. I can't think of any updates that I have done that would have caused this issue. I am up to date with my HA version and up to date with my Frigate version. I have restarted my Amcrest cameras in hopes to restart the RTSP stream but can't figure out the issue. It appears that the issue is happening with all my cameras and not just one.

Does anyone have any solutions about what is causing my problems?

Version

0.10.1-83481af

Frigate config file

{
  "birdseye": {
    "enabled": true,
    "height": 720,
    "mode": "objects",
    "quality": 8,
    "width": 1280
  },
  "cameras": {
    "backyard": {
      "best_image_timeout": 60,
      "detect": {
        "enabled": true,
        "fps": 5,
        "height": 480,
        "max_disappeared": 20,
        "stationary": {
          "interval": 0,
          "max_frames": {
            "default": null,
            "objects": {}
          },
          "threshold": 50
        },
        "width": 704
      },
      "ffmpeg": {
        "global_args": [
          "-hide_banner",
          "-loglevel",
          "warning"
        ],
        "hwaccel_args": [
          "-hwaccel",
          "vaapi",
          "-hwaccel_device",
          "/dev/dri/renderD128",
          "-hwaccel_output_format",
          "yuv420p"
        ],
        "input_args": "-avoid_negative_ts make_zero -fflags nobuffer -flags low_delay -strict experimental -fflags +genpts+discardcorrupt -use_wallclock_as_timestamps 1",
        "inputs": [
          {
            "global_args": [],
            "hwaccel_args": [],
            "input_args": [],
            "path": "rtsp://user:pass@#########:554/cam/realmonitor?channel=1&subtype=0",
            "roles": [
              "record"
            ]
          },
          {
            "global_args": [],
            "hwaccel_args": [],
            "input_args": [],
            "path": "rtsp://user:pass@###########:554/cam/realmonitor?channel=1&subtype=1",
            "roles": [
              "rtmp",
              "detect"
            ]
          }
        ],
        "output_args": {
          "detect": [
            "-f",
            "rawvideo",
            "-pix_fmt",
            "yuv420p"
          ],
          "record": "-f segment -segment_time 10 -segment_format mp4 -reset_timestamps 1 -strftime 1 -c:v libx264 -an",
          "rtmp": "-c:v libx264 -an -f flv"
        }
      },
      "ffmpeg_cmds": [
        {
          "cmd": "ffmpeg -hide_banner -loglevel warning -hwaccel vaapi -hwaccel_device /dev/dri/renderD128 -hwaccel_output_format yuv420p -avoid_negative_ts make_zero -fflags nobuffer -flags low_delay -strict experimental -fflags +genpts+discardcorrupt -use_wallclock_as_timestamps 1 -i rtsp://admin:bryce2010@192.168.50.16:554/cam/realmonitor?channel=1&subtype=0 -f segment -segment_time 10 -segment_format mp4 -reset_timestamps 1 -strftime 1 -c:v libx264 -an /tmp/cache/backyard-%Y%m%d%H%M%S.mp4",
          "roles": [
            "record"
          ]
        },
        {
          "cmd": "ffmpeg -hide_banner -loglevel warning -hwaccel vaapi -hwaccel_device /dev/dri/renderD128 -hwaccel_output_format yuv420p -avoid_negative_ts make_zero -fflags nobuffer -flags low_delay -strict experimental -fflags +genpts+discardcorrupt -use_wallclock_as_timestamps 1 -i rtsp://admin:bryce2010@192.168.50.16:554/cam/realmonitor?channel=1&subtype=1 -c:v libx264 -an -f flv rtmp://127.0.0.1/live/backyard -r 5 -s 704x480 -f rawvideo -pix_fmt yuv420p pipe:",
          "roles": [
            "rtmp",
            "detect"
          ]
        }
      ],
      "live": {
        "height": 720,
        "quality": 8
      },
      "motion": {
        "contour_area": 30,
        "delta_alpha": 0.2,
        "frame_alpha": 0.2,
        "frame_height": 50,
        "improve_contrast": false,
        "mask": [
          "693,18,692,49,608,45,598,17"
        ],
        "threshold": 25
      },
      "mqtt": {
        "bounding_box": true,
        "crop": true,
        "enabled": true,
        "height": 270,
        "quality": 70,
        "required_zones": [],
        "timestamp": true
      },
      "name": "backyard",
      "objects": {
        "filters": {
          "cat": {
            "mask": null,
            "max_area": 24000000,
            "min_area": 0,
            "min_score": 0.5,
            "threshold": 0.7
          },
          "dog": {
            "mask": null,
            "max_area": 24000000,
            "min_area": 0,
            "min_score": 0.5,
            "threshold": 0.7
          },
          "person": {
            "mask": null,
            "max_area": 24000000,
            "min_area": 0,
            "min_score": 0.6,
            "threshold": 0.7
          }
        },
        "mask": "",
        "track": [
          "person",
          "dog",
          "cat"
        ]
      },
      "record": {
        "enabled": true,
        "events": {
          "max_seconds": 300,
          "objects": null,
          "post_capture": 5,
          "pre_capture": 5,
          "required_zones": [],
          "retain": {
            "default": 3,
            "mode": "active_objects",
            "objects": {}
          }
        },
        "expire_interval": 60,
        "retain": {
          "days": 0,
          "mode": "all"
        },
        "retain_days": null
      },
      "rtmp": {
        "enabled": true
      },
      "snapshots": {
        "bounding_box": true,
        "clean_copy": true,
        "crop": false,
        "enabled": true,
        "height": null,
        "quality": 70,
        "required_zones": [],
        "retain": {
          "default": 3,
          "mode": "motion",
          "objects": {}
        },
        "timestamp": false
      },
      "timestamp_style": {
        "color": {
          "blue": 255,
          "green": 255,
          "red": 255
        },
        "effect": null,
        "format": "%m/%d/%Y %H:%M:%S",
        "position": "tl",
        "thickness": 2
      },
      "zones": {
        "rear_deck": {
          "coordinates": "51,77,0,125,1,324,12,480,704,478,701,320,434,235,228,179,143,42",
          "filters": {},
          "objects": []
        },
        "rear_yard": {
          "coordinates": "304,52,458,63,633,100,701,145,704,314,587,280,282,182,173,52",
          "filters": {},
          "objects": []
        }
      }
    },
    "driveway": {
      "best_image_timeout": 60,
      "detect": {
        "enabled": true,
        "fps": 5,
        "height": 720,
        "max_disappeared": 20,
        "stationary": {
          "interval": 0,
          "max_frames": {
            "default": null,
            "objects": {}
          },
          "threshold": 50
        },
        "width": 1280
      },
      "ffmpeg": {
        "global_args": [
          "-hide_banner",
          "-loglevel",
          "warning"
        ],
        "hwaccel_args": [
          "-hwaccel",
          "vaapi",
          "-hwaccel_device",
          "/dev/dri/renderD128",
          "-hwaccel_output_format",
          "yuv420p"
        ],
        "input_args": "-avoid_negative_ts make_zero -fflags nobuffer -flags low_delay -strict experimental -fflags +genpts+discardcorrupt -use_wallclock_as_timestamps 1",
        "inputs": [
          {
            "global_args": [],
            "hwaccel_args": [],
            "input_args": [],
            "path": "rtsp://user:pass@###########:554/cam/realmonitor?channel=1&subtype=0",
            "roles": [
              "record"
            ]
          },
          {
            "global_args": [],
            "hwaccel_args": [],
            "input_args": [],
            "path": "rtsp://user:pass@###########:554/cam/realmonitor?channel=1&subtype=1",
            "roles": [
              "rtmp"
            ]
          },
          {
            "global_args": [],
            "hwaccel_args": [],
            "input_args": [],
            "path": "rtsp://user:pass@###########:554/cam/realmonitor?channel=1&subtype=2",
            "roles": [
              "detect"
            ]
          }
        ],
        "output_args": {
          "detect": [
            "-f",
            "rawvideo",
            "-pix_fmt",
            "yuv420p"
          ],
          "record": "-f segment -segment_time 10 -segment_format mp4 -reset_timestamps 1 -strftime 1 -c:v libx264 -an",
          "rtmp": "-c:v libx264 -an -f flv"
        }
      },
      "ffmpeg_cmds": [
        {
          "cmd": "ffmpeg -hide_banner -loglevel warning -hwaccel vaapi -hwaccel_device /dev/dri/renderD128 -hwaccel_output_format yuv420p -avoid_negative_ts make_zero -fflags nobuffer -flags low_delay -strict experimental -fflags +genpts+discardcorrupt -use_wallclock_as_timestamps 1 -i rtsp://admin:bryce2010@192.168.50.15:554/cam/realmonitor?channel=1&subtype=0 -f segment -segment_time 10 -segment_format mp4 -reset_timestamps 1 -strftime 1 -c:v libx264 -an /tmp/cache/driveway-%Y%m%d%H%M%S.mp4",
          "roles": [
            "record"
          ]
        },
        {
          "cmd": "ffmpeg -hide_banner -loglevel warning -hwaccel vaapi -hwaccel_device /dev/dri/renderD128 -hwaccel_output_format yuv420p -avoid_negative_ts make_zero -fflags nobuffer -flags low_delay -strict experimental -fflags +genpts+discardcorrupt -use_wallclock_as_timestamps 1 -i rtsp://admin:bryce2010@192.168.50.15:554/cam/realmonitor?channel=1&subtype=1 -c:v libx264 -an -f flv rtmp://127.0.0.1/live/driveway",
          "roles": [
            "rtmp"
          ]
        },
        {
          "cmd": "ffmpeg -hide_banner -loglevel warning -hwaccel vaapi -hwaccel_device /dev/dri/renderD128 -hwaccel_output_format yuv420p -avoid_negative_ts make_zero -fflags nobuffer -flags low_delay -strict experimental -fflags +genpts+discardcorrupt -use_wallclock_as_timestamps 1 -i rtsp://admin:bryce2010@192.168.50.15:554/cam/realmonitor?channel=1&subtype=2 -r 5 -s 1280x720 -f rawvideo -pix_fmt yuv420p pipe:",
          "roles": [
            "detect"
          ]
        }
      ],
      "live": {
        "height": 720,
        "quality": 8
      },
      "motion": {
        "contour_area": 30,
        "delta_alpha": 0.2,
        "frame_alpha": 0.2,
        "frame_height": 50,
        "improve_contrast": false,
        "mask": [
          "952,59,1221,61,1230,28,955,29"
        ],
        "threshold": 25
      },
      "mqtt": {
        "bounding_box": true,
        "crop": true,
        "enabled": true,
        "height": 270,
        "quality": 70,
        "required_zones": [],
        "timestamp": true
      },
      "name": "driveway",
      "objects": {
        "filters": {
          "bicycle": {
            "mask": null,
            "max_area": 24000000,
            "min_area": 0,
            "min_score": 0.5,
            "threshold": 0.7
          },
          "car": {
            "mask": null,
            "max_area": 24000000,
            "min_area": 0,
            "min_score": 0.5,
            "threshold": 0.7
          },
          "cat": {
            "mask": null,
            "max_area": 24000000,
            "min_area": 0,
            "min_score": 0.5,
            "threshold": 0.7
          },
          "dog": {
            "mask": null,
            "max_area": 24000000,
            "min_area": 0,
            "min_score": 0.5,
            "threshold": 0.7
          },
          "motorcycle": {
            "mask": null,
            "max_area": 24000000,
            "min_area": 0,
            "min_score": 0.5,
            "threshold": 0.7
          },
          "person": {
            "mask": null,
            "max_area": 24000000,
            "min_area": 0,
            "min_score": 0.55,
            "threshold": 0.7
          }
        },
        "mask": "",
        "track": [
          "person",
          "dog",
          "bicycle",
          "cat",
          "car",
          "motorcycle"
        ]
      },
      "record": {
        "enabled": true,
        "events": {
          "max_seconds": 300,
          "objects": null,
          "post_capture": 5,
          "pre_capture": 5,
          "required_zones": [],
          "retain": {
            "default": 5,
            "mode": "active_objects",
            "objects": {}
          }
        },
        "expire_interval": 60,
        "retain": {
          "days": 0,
          "mode": "all"
        },
        "retain_days": null
      },
      "rtmp": {
        "enabled": true
      },
      "snapshots": {
        "bounding_box": true,
        "clean_copy": true,
        "crop": false,
        "enabled": true,
        "height": null,
        "quality": 70,
        "required_zones": [],
        "retain": {
          "default": 3,
          "mode": "motion",
          "objects": {}
        },
        "timestamp": false
      },
      "timestamp_style": {
        "color": {
          "blue": 255,
          "green": 255,
          "red": 255
        },
        "effect": null,
        "format": "%m/%d/%Y %H:%M:%S",
        "position": "tl",
        "thickness": 2
      },
      "zones": {
        "blacktop": {
          "coordinates": "511,720,1140,720,1252,479,1084,354,867,257,733,181,427,87,269,130",
          "filters": {},
          "objects": []
        },
        "east_yard": {
          "coordinates": "0,720,340,720,366,622,241,162,0,226",
          "filters": {},
          "objects": []
        },
        "front_yard": {
          "coordinates": "505,82,792,185,846,100,971,102,851,62,642,57",
          "filters": {},
          "objects": []
        }
      }
    },
    "front_door": {
      "best_image_timeout": 60,
      "detect": {
        "enabled": true,
        "fps": 5,
        "height": 480,
        "max_disappeared": 20,
        "stationary": {
          "interval": 0,
          "max_frames": {
            "default": null,
            "objects": {}
          },
          "threshold": 50
        },
        "width": 640
      },
      "ffmpeg": {
        "global_args": [
          "-hide_banner",
          "-loglevel",
          "warning"
        ],
        "hwaccel_args": [
          "-hwaccel",
          "vaapi",
          "-hwaccel_device",
          "/dev/dri/renderD128",
          "-hwaccel_output_format",
          "yuv420p"
        ],
        "input_args": "-avoid_negative_ts make_zero -fflags nobuffer -flags low_delay -strict experimental -fflags +genpts+discardcorrupt -use_wallclock_as_timestamps 1",
        "inputs": [
          {
            "global_args": [],
            "hwaccel_args": [],
            "input_args": [],
            "path": "rtsp://user:pass@###########:554/cam/realmonitor?channel=1&subtype=0",
            "roles": [
              "record"
            ]
          },
          {
            "global_args": [],
            "hwaccel_args": [],
            "input_args": [],
            "path": "rtsp://user:pass@###########:554/cam/realmonitor?channel=1&subtype=1",
            "roles": [
              "rtmp",
              "detect"
            ]
          }
        ],
        "output_args": {
          "detect": [
            "-f",
            "rawvideo",
            "-pix_fmt",
            "yuv420p"
          ],
          "record": "-f segment -segment_time 10 -segment_format mp4 -reset_timestamps 1 -strftime 1 -c:v libx264 -an",
          "rtmp": "-c:v libx264 -an -f flv"
        }
      },
      "ffmpeg_cmds": [
        {
          "cmd": "ffmpeg -hide_banner -loglevel warning -hwaccel vaapi -hwaccel_device /dev/dri/renderD128 -hwaccel_output_format yuv420p -avoid_negative_ts make_zero -fflags nobuffer -flags low_delay -strict experimental -fflags +genpts+discardcorrupt -use_wallclock_as_timestamps 1 -i rtsp://admin:bryce2010@192.168.50.10:554/cam/realmonitor?channel=1&subtype=0 -f segment -segment_time 10 -segment_format mp4 -reset_timestamps 1 -strftime 1 -c:v libx264 -an /tmp/cache/front_door-%Y%m%d%H%M%S.mp4",
          "roles": [
            "record"
          ]
        },
        {
          "cmd": "ffmpeg -hide_banner -loglevel warning -hwaccel vaapi -hwaccel_device /dev/dri/renderD128 -hwaccel_output_format yuv420p -avoid_negative_ts make_zero -fflags nobuffer -flags low_delay -strict experimental -fflags +genpts+discardcorrupt -use_wallclock_as_timestamps 1 -i rtsp://admin:bryce2010@192.168.50.10:554/cam/realmonitor?channel=1&subtype=1 -c:v libx264 -an -f flv rtmp://127.0.0.1/live/front_door -r 5 -s 640x480 -f rawvideo -pix_fmt yuv420p pipe:",
          "roles": [
            "rtmp",
            "detect"
          ]
        }
      ],
      "live": {
        "height": 720,
        "quality": 8
      },
      "motion": {
        "contour_area": 30,
        "delta_alpha": 0.2,
        "frame_alpha": 0.2,
        "frame_height": 50,
        "improve_contrast": false,
        "mask": [
          "624,15,630,44,550,39,552,10"
        ],
        "threshold": 25
      },
      "mqtt": {
        "bounding_box": true,
        "crop": true,
        "enabled": true,
        "height": 270,
        "quality": 70,
        "required_zones": [],
        "timestamp": true
      },
      "name": "front_door",
      "objects": {
        "filters": {
          "bicycle": {
            "mask": null,
            "max_area": 24000000,
            "min_area": 0,
            "min_score": 0.5,
            "threshold": 0.7
          },
          "car": {
            "mask": null,
            "max_area": 24000000,
            "min_area": 0,
            "min_score": 0.5,
            "threshold": 0.7
          },
          "cat": {
            "mask": null,
            "max_area": 24000000,
            "min_area": 0,
            "min_score": 0.5,
            "threshold": 0.7
          },
          "dog": {
            "mask": null,
            "max_area": 24000000,
            "min_area": 0,
            "min_score": 0.5,
            "threshold": 0.7
          },
          "motorcycle": {
            "mask": null,
            "max_area": 24000000,
            "min_area": 0,
            "min_score": 0.5,
            "threshold": 0.7
          },
          "person": {
            "mask": null,
            "max_area": 24000000,
            "min_area": 0,
            "min_score": 0.5,
            "threshold": 0.7
          }
        },
        "mask": "",
        "track": [
          "person",
          "dog",
          "bicycle",
          "cat",
          "car",
          "motorcycle"
        ]
      },
      "record": {
        "enabled": true,
        "events": {
          "max_seconds": 300,
          "objects": null,
          "post_capture": 5,
          "pre_capture": 5,
          "required_zones": [],
          "retain": {
            "default": 3,
            "mode": "active_objects",
            "objects": {}
          }
        },
        "expire_interval": 60,
        "retain": {
          "days": 0,
          "mode": "all"
        },
        "retain_days": null
      },
      "rtmp": {
        "enabled": true
      },
      "snapshots": {
        "bounding_box": true,
        "clean_copy": true,
        "crop": false,
        "enabled": true,
        "height": null,
        "quality": 70,
        "required_zones": [],
        "retain": {
          "default": 3,
          "mode": "motion",
          "objects": {}
        },
        "timestamp": false
      },
      "timestamp_style": {
        "color": {
          "blue": 255,
          "green": 255,
          "red": 255
        },
        "effect": null,
        "format": "%m/%d/%Y %H:%M:%S",
        "position": "tl",
        "thickness": 2
      },
      "zones": {}
    },
    "west": {
      "best_image_timeout": 60,
      "detect": {
        "enabled": true,
        "fps": 5,
        "height": 480,
        "max_disappeared": 20,
        "stationary": {
          "interval": 0,
          "max_frames": {
            "default": null,
            "objects": {}
          },
          "threshold": 50
        },
        "width": 640
      },
      "ffmpeg": {
        "global_args": [
          "-hide_banner",
          "-loglevel",
          "warning"
        ],
        "hwaccel_args": [
          "-hwaccel",
          "vaapi",
          "-hwaccel_device",
          "/dev/dri/renderD128",
          "-hwaccel_output_format",
          "yuv420p"
        ],
        "input_args": "-avoid_negative_ts make_zero -fflags nobuffer -flags low_delay -strict experimental -fflags +genpts+discardcorrupt -use_wallclock_as_timestamps 1",
        "inputs": [
          {
            "global_args": [],
            "hwaccel_args": [],
            "input_args": [],
            "path": "rtsp://user:pass@###########:554/cam/realmonitor?channel=1&subtype=0",
            "roles": [
              "record"
            ]
          },
          {
            "global_args": [],
            "hwaccel_args": [],
            "input_args": [],
            "path": "rtsp://user:pass@###########:554/cam/realmonitor?channel=1&subtype=1",
            "roles": [
              "rtmp",
              "detect"
            ]
          }
        ],
        "output_args": {
          "detect": [
            "-f",
            "rawvideo",
            "-pix_fmt",
            "yuv420p"
          ],
          "record": "-f segment -segment_time 10 -segment_format mp4 -reset_timestamps 1 -strftime 1 -c:v libx264 -an",
          "rtmp": "-c:v libx264 -an -f flv"
        }
      },
      "ffmpeg_cmds": [
        {
          "cmd": "ffmpeg -hide_banner -loglevel warning -hwaccel vaapi -hwaccel_device /dev/dri/renderD128 -hwaccel_output_format yuv420p -avoid_negative_ts make_zero -fflags nobuffer -flags low_delay -strict experimental -fflags +genpts+discardcorrupt -use_wallclock_as_timestamps 1 -i rtsp://admin:bryce2010@192.168.50.12:554/cam/realmonitor?channel=1&subtype=0 -f segment -segment_time 10 -segment_format mp4 -reset_timestamps 1 -strftime 1 -c:v libx264 -an /tmp/cache/west-%Y%m%d%H%M%S.mp4",
          "roles": [
            "record"
          ]
        },
        {
          "cmd": "ffmpeg -hide_banner -loglevel warning -hwaccel vaapi -hwaccel_device /dev/dri/renderD128 -hwaccel_output_format yuv420p -avoid_negative_ts make_zero -fflags nobuffer -flags low_delay -strict experimental -fflags +genpts+discardcorrupt -use_wallclock_as_timestamps 1 -i rtsp://admin:bryce2010@192.168.50.12:554/cam/realmonitor?channel=1&subtype=1 -c:v libx264 -an -f flv rtmp://127.0.0.1/live/west -r 5 -s 640x480 -f rawvideo -pix_fmt yuv420p pipe:",
          "roles": [
            "rtmp",
            "detect"
          ]
        }
      ],
      "live": {
        "height": 720,
        "quality": 8
      },
      "motion": {
        "contour_area": 30,
        "delta_alpha": 0.2,
        "frame_alpha": 0.2,
        "frame_height": 50,
        "improve_contrast": false,
        "mask": [
          "612,21,608,47,486,50,490,21"
        ],
        "threshold": 25
      },
      "mqtt": {
        "bounding_box": true,
        "crop": true,
        "enabled": true,
        "height": 270,
        "quality": 70,
        "required_zones": [],
        "timestamp": true
      },
      "name": "west",
      "objects": {
        "filters": {
          "bicycle": {
            "mask": null,
            "max_area": 24000000,
            "min_area": 0,
            "min_score": 0.5,
            "threshold": 0.7
          },
          "car": {
            "mask": [
              "39,221,55,292,250,480,640,480,605,147,192,74"
            ],
            "max_area": 24000000,
            "min_area": 0,
            "min_score": 0.5,
            "threshold": 0.7
          },
          "dog": {
            "mask": [
              "219,320,277,398,157,378,136,392"
            ],
            "max_area": 24000000,
            "min_area": 0,
            "min_score": 0.5,
            "threshold": 0.7
          },
          "motorcycle": {
            "mask": null,
            "max_area": 24000000,
            "min_area": 0,
            "min_score": 0.5,
            "threshold": 0.7
          },
          "person": {
            "mask": [
              "278,400,232,480,157,378,206,310"
            ],
            "max_area": 24000000,
            "min_area": 0,
            "min_score": 0.5,
            "threshold": 0.7
          }
        },
        "mask": "",
        "track": [
          "person",
          "dog",
          "bicycle",
          "car",
          "motorcycle"
        ]
      },
      "record": {
        "enabled": true,
        "events": {
          "max_seconds": 300,
          "objects": null,
          "post_capture": 5,
          "pre_capture": 5,
          "required_zones": [],
          "retain": {
            "default": 3,
            "mode": "active_objects",
            "objects": {}
          }
        },
        "expire_interval": 60,
        "retain": {
          "days": 0,
          "mode": "all"
        },
        "retain_days": null
      },
      "rtmp": {
        "enabled": true
      },
      "snapshots": {
        "bounding_box": true,
        "clean_copy": true,
        "crop": false,
        "enabled": true,
        "height": null,
        "quality": 70,
        "required_zones": [],
        "retain": {
          "default": 3,
          "mode": "motion",
          "objects": {}
        },
        "timestamp": false
      },
      "timestamp_style": {
        "color": {
          "blue": 255,
          "green": 255,
          "red": 255
        },
        "effect": null,
        "format": "%m/%d/%Y %H:%M:%S",
        "position": "tl",
        "thickness": 2
      },
      "zones": {
        "front_yard": {
          "coordinates": "31,254,220,80,105,94,5,199",
          "filters": {},
          "objects": []
        },
        "west_yard": {
          "coordinates": "41,263,167,476,633,474,639,96,250,46",
          "filters": {},
          "objects": []
        }
      }
    }
  },
  "database": {
    "path": "/media/frigate/frigate.db"
  },
  "detect": {
    "enabled": true,
    "fps": 5,
    "height": 720,
    "max_disappeared": 20,
    "stationary": {
      "interval": 0,
      "max_frames": {
        "default": null,
        "objects": {}
      },
      "threshold": 50
    },
    "width": 1280
  },
  "detectors": {
    "coral_pci": {
      "device": "pci",
      "num_threads": 3,
      "type": "edgetpu"
    }
  },
  "environment_vars": {},
  "ffmpeg": {
    "global_args": [
      "-hide_banner",
      "-loglevel",
      "warning"
    ],
    "hwaccel_args": [
      "-hwaccel",
      "vaapi",
      "-hwaccel_device",
      "/dev/dri/renderD128",
      "-hwaccel_output_format",
      "yuv420p"
    ],
    "input_args": "-avoid_negative_ts make_zero -fflags nobuffer -flags low_delay -strict experimental -fflags +genpts+discardcorrupt -use_wallclock_as_timestamps 1",
    "output_args": {
      "detect": [
        "-f",
        "rawvideo",
        "-pix_fmt",
        "yuv420p"
      ],
      "record": "-f segment -segment_time 10 -segment_format mp4 -reset_timestamps 1 -strftime 1 -c:v libx264 -an",
      "rtmp": "-c:v libx264 -an -f flv"
    }
  },
  "live": {
    "height": 720,
    "quality": 8
  },
  "logger": {
    "default": "info",
    "logs": {}
  },
  "model": {
    "height": 320,
    "labelmap": {},
    "labelmap_path": null,
    "path": null,
    "width": 320
  },
  "motion": null,
  "mqtt": {
    "client_id": "frigate",
    "host": "192.168.200.137",
    "password": "MQTT",
    "port": 1883,
    "stats_interval": 60,
    "tls_ca_certs": null,
    "tls_client_cert": null,
    "tls_client_key": null,
    "tls_insecure": null,
    "topic_prefix": "frigate",
    "user": "MQTT"
  },
  "objects": {
    "filters": null,
    "mask": "",
    "track": [
      "person"
    ]
  },
  "record": {
    "enabled": false,
    "events": {
      "max_seconds": 300,
      "objects": null,
      "post_capture": 5,
      "pre_capture": 5,
      "required_zones": [],
      "retain": {
        "default": 10,
        "mode": "motion",
        "objects": {}
      }
    },
    "expire_interval": 60,
    "retain": {
      "days": 0,
      "mode": "all"
    },
    "retain_days": null
  },
  "rtmp": {
    "enabled": true
  },
  "snapshots": {
    "bounding_box": true,
    "clean_copy": true,
    "crop": false,
    "enabled": false,
    "height": null,
    "quality": 70,
    "required_zones": [],
    "retain": {
      "default": 10,
      "mode": "motion",
      "objects": {}
    },
    "timestamp": false
  },
  "timestamp_style": {
    "color": {
      "blue": 255,
      "green": 255,
      "red": 255
    },
    "effect": null,
    "format": "%m/%d/%Y %H:%M:%S",
    "position": "tl",
    "thickness": 2
  }
}

Relevant log output

[2022-04-02 21:29:38] frigate.app                    INFO    : Starting Frigate (0.10.1-83481af)
[2022-04-02 21:29:38] frigate.app                    INFO    : Creating directory: /tmp/cache
Starting migrations
[2022-04-02 21:29:38] peewee_migrate                 INFO    : Starting migrations
There is nothing to migrate
[2022-04-02 21:29:38] peewee_migrate                 INFO    : There is nothing to migrate
[2022-04-02 21:29:38] detector.coral_pci             INFO    : Starting detection process: 226
[2022-04-02 21:29:38] frigate.app                    INFO    : Output process started: 227
[2022-04-02 21:29:38] ws4py                          INFO    : Using epoll
[2022-04-02 21:29:38] frigate.app                    INFO    : Camera processor started for driveway: 233
[2022-04-02 21:29:38] frigate.app                    INFO    : Camera processor started for west: 234
[2022-04-02 21:29:38] frigate.app                    INFO    : Camera processor started for front_door: 236
[2022-04-02 21:29:38] frigate.app                    INFO    : Camera processor started for backyard: 238
[2022-04-02 21:29:38] frigate.edgetpu                INFO    : Attempting to load TPU as pci
[2022-04-02 21:29:38] frigate.edgetpu                INFO    : TPU found
[2022-04-02 21:29:38] frigate.app                    INFO    : Capture process started for driveway: 239
[2022-04-02 21:29:38] frigate.app                    INFO    : Capture process started for west: 253
[2022-04-02 21:29:38] frigate.app                    INFO    : Capture process started for front_door: 258
[2022-04-02 21:29:38] frigate.app                    INFO    : Capture process started for backyard: 262
[2022-04-02 21:29:38] ws4py                          INFO    : Using epoll
[2022-04-02 21:29:51] ws4py                          INFO    : Managing websocket [Local => 127.0.0.1:5002 | Remote => 127.0.0.1:50958]
[2022-04-02 21:31:56] frigate.video                  ERROR   : driveway: Unable to read frames from ffmpeg process.
[2022-04-02 21:31:56] frigate.video                  ERROR   : driveway: ffmpeg process is not running. exiting capture thread...
[2022-04-02 21:31:57] frigate.video                  ERROR   : west: Unable to read frames from ffmpeg process.
[2022-04-02 21:31:57] frigate.video                  ERROR   : west: Unable to read frames from ffmpeg process.
[2022-04-02 21:31:57] frigate.video                  ERROR   : west: Unable to read frames from ffmpeg process.
[2022-04-02 21:31:57] frigate.video                  ERROR   : west: Unable to read frames from ffmpeg process.
[2022-04-02 21:31:57] frigate.video                  ERROR   : west: Unable to read frames from ffmpeg process.
[2022-04-02 21:31:57] frigate.video                  ERROR   : west: Unable to read frames from ffmpeg process.
[2022-04-02 21:31:57] frigate.video                  ERROR   : west: Unable to read frames from ffmpeg process.
[2022-04-02 21:31:57] frigate.video                  ERROR   : west: Unable to read frames from ffmpeg process.
[2022-04-02 21:31:57] frigate.video                  ERROR   : west: ffmpeg process is not running. exiting capture thread...
[2022-04-02 21:31:57] frigate.video                  ERROR   : backyard: Unable to read frames from ffmpeg process.
[2022-04-02 21:31:57] frigate.video                  ERROR   : backyard: ffmpeg process is not running. exiting capture thread...
[2022-04-02 21:31:57] frigate.video                  ERROR   : front_door: Unable to read frames from ffmpeg process.
[2022-04-02 21:31:57] frigate.video                  ERROR   : front_door: ffmpeg process is not running. exiting capture thread...
[2022-04-02 21:31:58] watchdog.front_door            ERROR   : Ffmpeg process crashed unexpectedly for front_door.
[2022-04-02 21:31:58] watchdog.front_door            ERROR   : The following ffmpeg logs include the last 100 lines prior to exit.
[2022-04-02 21:31:58] ffmpeg.front_door.detect       ERROR   : rtsp://user:pass@########:554/cam/realmonitor?channel=1&subtype=1: Connection timed out
[2022-04-02 21:31:58] ffmpeg.front_door.detect       ERROR   : [flv @ 0x557ed9e45400] Failed to update header with correct duration.
[2022-04-02 21:31:58] ffmpeg.front_door.detect       ERROR   : [flv @ 0x557ed9e45400] Failed to update header with correct filesize.
[2022-04-02 21:31:58] watchdog.backyard              ERROR   : Ffmpeg process crashed unexpectedly for backyard.
[2022-04-02 21:31:58] watchdog.backyard              ERROR   : The following ffmpeg logs include the last 100 lines prior to exit.
[2022-04-02 21:31:58] ffmpeg.backyard.detect         ERROR   : rtsp://user:pass@##########:554/cam/realmonitor?channel=1&subtype=1: Connection timed out
[2022-04-02 21:31:58] ffmpeg.backyard.detect         ERROR   : [flv @ 0x565283c41a00] Failed to update header with correct duration.
[2022-04-02 21:31:58] ffmpeg.backyard.detect         ERROR   : [flv @ 0x565283c41a00] Failed to update header with correct filesize.
[2022-04-02 21:31:58] watchdog.driveway              ERROR   : Ffmpeg process crashed unexpectedly for driveway.
[2022-04-02 21:31:58] watchdog.driveway              ERROR   : The following ffmpeg logs include the last 100 lines prior to exit.
[2022-04-02 21:31:58] ffmpeg.driveway.detect         ERROR   : rtsp://user:pass@##########:554/cam/realmonitor?channel=1&subtype=2: Connection timed out
[2022-04-02 21:31:58] watchdog.west                  ERROR   : Ffmpeg process crashed unexpectedly for west.
[2022-04-02 21:31:58] watchdog.west                  ERROR   : The following ffmpeg logs include the last 100 lines prior to exit.
[2022-04-02 21:31:58] ffmpeg.west.detect             ERROR   : rtsp://user:pass@############:554/cam/realmonitor?channel=1&subtype=1: Connection timed out
[2022-04-02 21:31:58] ffmpeg.west.detect             ERROR   : [flv @ 0x562c536ae640] Failed to update header with correct duration.
[2022-04-02 21:31:58] ffmpeg.west.detect             ERROR   : [flv @ 0x562c536ae640] Failed to update header with correct filesize.
[2022-04-02 21:31:58] ffmpeg.driveway.rtmp           ERROR   : rtsp://user:pass@############:554/cam/realmonitor?channel=1&subtype=1: Connection timed out
[2022-04-02 21:31:58] ffmpeg.driveway.rtmp           ERROR   : [flv @ 0x558112e16400] Failed to update header with correct duration.
[2022-04-02 21:31:58] ffmpeg.driveway.rtmp           ERROR   : [flv @ 0x558112e16400] Failed to update header with correct filesize.
[2022-04-02 21:31:58] watchdog.driveway              INFO    : Terminating the existing ffmpeg process...
[2022-04-02 21:31:58] watchdog.driveway              INFO    : Waiting for ffmpeg to exit gracefully...
[2022-04-02 21:32:17] ws4py                          INFO    : Terminating websocket [Local => 127.0.0.1:5002 | Remote => 127.0.0.1:50958]

FFprobe output from your camera

Unknown?

Frigate stats

No response

Operating system

Debian

Install method

HassOS Addon

Coral version

M.2

Network connection

Wired

Camera make and model

Amcrest

Any other information that may be helpful

No response

Homas commented 2 years ago

I've observed similar issue just yesterday. My "server" become very slow. Today I've found that some events last from a few minutes and up to several hours.

I've upgraded to the recent release about a week ago and converted all my cameras settings to the new settings (events - active_objects) and didn't enable stationary objects detections. I do not expect to have events more than 10-15 seconds but see some which lasts much longer. E.g. one event was triggered by a moving car and started at 10:07:36 and finished at 17:18:18 (I had to restart frigate in the evening and don't remember when). Another example started at 22:31:50 finished at 09:38:43.

I'm working on an automation (via a custom script) which pulls events as well as I've other automation via HA, which sends events/videos via telegram. So I suspect these long events along with my automations caused the high CPU utilization.

Did you observe "long" events?

NickM-27 commented 2 years ago

@brenninger your cameras are continuously losing connection causing the ffmpeg process to restart. Are they setup via WiFi and if so is it on the 2.4 or 5 GHz network?

NickM-27 commented 2 years ago

I've observed similar issue just yesterday. My "server" become very slow. Today I've found that some events last from a few minutes and up to several hours.

I've upgraded to the recent release about a week ago and converted all my cameras settings to the new settings (events - active_objects) and didn't enable stationary objects detections. I do not expect to have events more than 10-15 seconds but see some which lasts much longer. E.g. one event was triggered by a moving car and started at 10:07:36 and finished at 17:18:18 (I had to restart frigate in the evening and don't remember when). Another example started at 22:31:50 finished at 09:38:43.

I'm working on an automation (via a custom script) which pulls events as well as I've other automation via HA, which sends events/videos via telegram. So I suspect these long events along with my automations caused the high CPU utilization.

Did you observe "long" events?

Your case is very different from the OPs as you're not reporting ffmpeg crashes. You should keep a few things in mind:

  1. Stationary objects are enabled by default in the release, so unless you did something to disable it then it is enabled.
  2. What you're describing sounds like a case where a car driving by is switching IDs with a car on the side of the road and it's creating a long event.

Either way I'd recommend creating your own issues as it doesn't seem to be related to this one.

brenninger commented 2 years ago

@brenninger your cameras are continuously losing connection causing the ffmpeg process to restart. Are they setup via WiFi and if so is it on the 2.4 or 5 GHz network?

@NickM-27 My cameras all wired connection into my ubiquiti network. I used VLC to watch the RTSP stream of my cameras and I was not seeing any connection losses, so I don't know why Frigate would be losing the connection.

Edit: I also am using Blue Iris as my main NVR as I only wanted Frigate to be used as my object detection. I also haven't seen any problems with BI losing connection. Does anyone know a way to grab the feed from BI and input that into Frigate to see if that fixes the issue?

NickM-27 commented 2 years ago

@brenninger your cameras are continuously losing connection causing the ffmpeg process to restart. Are they setup via WiFi and if so is it on the 2.4 or 5 GHz network?

@NickM-27 My cameras all wired connection into my ubiquiti network. I used VLC to watch the RTSP stream of my cameras and I was not seeing any connection losses, so I don't know why Frigate would be losing the connection.

Edit: I also am using Blue Iris as my main NVR as I only wanted Frigate to be used as my object detection. I also haven't seen any problems with BI losing connection. Does anyone know a way to grab the feed from BI and input that into Frigate to see if that fixes the issue?

I know it's the case with wifi cameras, but I think it's probably the case with Ethernet connections as well, the camera likely has a max number of connections and seems to be refusing the frigate connection.

brenninger commented 2 years ago

@brenninger your cameras are continuously losing connection causing the ffmpeg process to restart. Are they setup via WiFi and if so is it on the 2.4 or 5 GHz network?

@NickM-27 My cameras all wired connection into my ubiquiti network. I used VLC to watch the RTSP stream of my cameras and I was not seeing any connection losses, so I don't know why Frigate would be losing the connection. Edit: I also am using Blue Iris as my main NVR as I only wanted Frigate to be used as my object detection. I also haven't seen any problems with BI losing connection. Does anyone know a way to grab the feed from BI and input that into Frigate to see if that fixes the issue?

I know it's the case with wifi cameras, but I think it's probably the case with Ethernet connections as well, the camera likely has a max number of connections and seems to be refusing the frigate connection.

I'll try to restart the cameras again, even though I have tried it already. Any other suggestions on what to do with it?

NickM-27 commented 2 years ago

If you have all the other services still connecting I don't think restarting will help. Is this something that happens continuously as soon as you restart?

brenninger commented 2 years ago

It happens continuously. So I've been tinkering with it and removing items to see what happens. I removed all the input and output args and that seems to have fixed the issue of the high CPU usage. It also seems that the stream is at least running continuously now. However, I am now getting new errors.

[2022-04-03 11:17:03] ffmpeg.driveway.rtmp           ERROR   : [flv @ 0x558c07bffa80] Failed to update header with correct duration.
[2022-04-03 11:17:03] ffmpeg.driveway.rtmp           ERROR   : [flv @ 0x558c07bffa80] Failed to update header with correct filesize.
[2022-04-03 11:17:03] watchdog.driveway              INFO    : Terminating the existing ffmpeg process...
[2022-04-03 11:17:03] watchdog.driveway              INFO    : Waiting for ffmpeg to exit gracefully...
[2022-04-03 11:17:34] frigate.video                  ERROR   : front_door: Unable to read frames from ffmpeg process.
[2022-04-03 11:17:34] frigate.video                  ERROR   : front_door: ffmpeg process is not running. exiting capture thread...
[2022-04-03 11:17:34] frigate.video                  ERROR   : west: Unable to read frames from ffmpeg process.
[2022-04-03 11:17:34] frigate.video                  ERROR   : west: ffmpeg process is not running. exiting capture thread...
[2022-04-03 11:17:34] frigate.video                  ERROR   : driveway: Unable to read frames from ffmpeg process.
[2022-04-03 11:17:34] frigate.video                  ERROR   : driveway: ffmpeg process is not running. exiting capture thread...
[2022-04-03 11:17:34] frigate.video                  ERROR   : backyard: Unable to read frames from ffmpeg process.
[2022-04-03 11:17:34] frigate.video                  ERROR   : backyard: ffmpeg process is not running. exiting capture thread...
[2022-04-03 11:17:39] ws4py                          INFO    : Managing websocket [Local => 127.0.0.1:5002 | Remote => 127.0.0.1:49048]
[2022-04-03 11:17:43] watchdog.front_door            ERROR   : Ffmpeg process crashed unexpectedly for front_door.
[2022-04-03 11:17:43] watchdog.front_door            ERROR   : The following ffmpeg logs include the last 100 lines prior to exit.
[2022-04-03 11:17:43] ffmpeg.front_door.detect       ERROR   : [flv @ 0x561a19f4da40] 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
[2022-04-03 11:17:43] ffmpeg.front_door.detect       ERROR   : [flv @ 0x561a19f4da40] Failed to update header with correct duration.
[2022-04-03 11:17:43] ffmpeg.front_door.detect       ERROR   : [flv @ 0x561a19f4da40] Failed to update header with correct filesize.
[2022-04-03 11:17:43] watchdog.west                  ERROR   : Ffmpeg process crashed unexpectedly for west.
[2022-04-03 11:17:43] watchdog.west                  ERROR   : The following ffmpeg logs include the last 100 lines prior to exit.
[2022-04-03 11:17:43] ffmpeg.west.detect             ERROR   : [flv @ 0x55eea034ed40] Failed to update header with correct duration.
[2022-04-03 11:17:43] ffmpeg.west.detect             ERROR   : [flv @ 0x55eea034ed40] Failed to update header with correct filesize.
[2022-04-03 11:17:43] watchdog.driveway              ERROR   : Ffmpeg process crashed unexpectedly for driveway.
[2022-04-03 11:17:43] watchdog.backyard              ERROR   : Ffmpeg process crashed unexpectedly for backyard.
[2022-04-03 11:17:43] watchdog.backyard              ERROR   : The following ffmpeg logs include the last 100 lines prior to exit.
[2022-04-03 11:17:43] ffmpeg.backyard.detect         ERROR   : [flv @ 0x55c11dfab500] 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
[2022-04-03 11:17:43] ffmpeg.backyard.detect         ERROR   : [flv @ 0x55c11dfab500] Failed to update header with correct duration.
[2022-04-03 11:17:43] ffmpeg.backyard.detect         ERROR   : [flv @ 0x55c11dfab500] Failed to update header with correct filesize.
[2022-04-03 11:17:43] watchdog.driveway              ERROR   : The following ffmpeg logs include the last 100 lines prior to exit.
NickM-27 commented 2 years ago

Okay nice, that is progress. If you disable RTMP that should fix those errors.

brenninger commented 2 years ago

Why is it that RTMP would cause the crashes?

NickM-27 commented 2 years ago

RTMP is very sensitive to higher resolutions and also instability in camera streams. The flv in the crash logs points to RTMP.

brenninger commented 2 years ago

Ahh okay I see. I appreciate the help! So far so good, I'll leave the issue open a bit to make sure no more errors and then will close. Thank you again!

brenninger commented 2 years ago

Not quite fixed yet. I'm getting this error now, however, it seems like Frigate is still working, just seems like its constantly restarting itself. Is this still related to the camera streams crashing or something new now.

[2022-04-03 11:57:14] watchdog.west                  INFO    : Terminating the existing ffmpeg process...
[2022-04-03 11:57:14] ffmpeg.backyard.record         ERROR   : [segment @ 0x55eef187ef40] 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
[2022-04-03 11:57:14] watchdog.backyard              INFO    : Terminating the existing ffmpeg process...
[2022-04-03 11:57:14] watchdog.backyard              INFO    : Waiting for ffmpeg to exit gracefully...
[2022-04-03 11:57:14] ffmpeg.front_door.record       ERROR   : [segment @ 0x55bbbf282e00] 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
[2022-04-03 11:57:14] ffmpeg.front_door.record       ERROR   : [segment @ 0x55bbbf282e00] 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.
[2022-04-03 11:57:14] watchdog.front_door            INFO    : Terminating the existing ffmpeg process...
[2022-04-03 11:57:14] watchdog.front_door            INFO    : Waiting for ffmpeg to exit gracefully...
[2022-04-03 11:57:14] watchdog.driveway              INFO    : Terminating the existing ffmpeg process...
[2022-04-03 11:57:14] watchdog.driveway              INFO    : Waiting for ffmpeg to exit gracefully...
[2022-04-03 11:57:14] watchdog.west                  INFO    : Waiting for ffmpeg to exit gracefully...
[2022-04-03 11:57:44] frigate.video                  ERROR   : backyard: Unable to read frames from ffmpeg process.
[2022-04-03 11:57:44] frigate.video                  ERROR   : backyard: ffmpeg process is not running. exiting capture thread...
[2022-04-03 11:57:44] frigate.video                  ERROR   : driveway: Unable to read frames from ffmpeg process.
[2022-04-03 11:57:44] frigate.video                  ERROR   : driveway: ffmpeg process is not running. exiting capture thread...
[2022-04-03 11:57:46] frigate.video                  ERROR   : west: Unable to read frames from ffmpeg process.
[2022-04-03 11:57:46] frigate.video                  ERROR   : west: ffmpeg process is not running. exiting capture thread...
[2022-04-03 11:57:46] frigate.video                  ERROR   : front_door: Unable to read frames from ffmpeg process.
[2022-04-03 11:57:46] frigate.video                  ERROR   : front_door: ffmpeg process is not running. exiting capture thread...
[2022-04-03 11:57:54] watchdog.west                  ERROR   : Ffmpeg process crashed unexpectedly for west.
[2022-04-03 11:57:54] watchdog.west                  ERROR   : The following ffmpeg logs include the last 100 lines prior to exit.
[2022-04-03 11:57:54] watchdog.front_door            ERROR   : Ffmpeg process crashed unexpectedly for front_door.
[2022-04-03 11:57:54] watchdog.front_door            ERROR   : The following ffmpeg logs include the last 100 lines prior to exit.
[2022-04-03 11:57:54] watchdog.backyard              ERROR   : Ffmpeg process crashed unexpectedly for backyard.
[2022-04-03 11:57:54] watchdog.backyard              ERROR   : The following ffmpeg logs include the last 100 lines prior to exit.
[2022-04-03 11:57:54] watchdog.driveway              ERROR   : Ffmpeg process crashed unexpectedly for driveway.
[2022-04-03 11:57:54] watchdog.driveway              ERROR   : The following ffmpeg logs include the last 100 lines prior to exit.
[2022-04-03 11:58:34] frigate.watchdog               INFO    : Detection appears to be stuck. Restarting detection process...
[2022-04-03 11:58:34] root                           INFO    : Waiting for detection process to exit gracefully...
[2022-04-03 11:59:04] root                           INFO    : Detection process didnt exit. Force killing...
[2022-04-03 11:59:04] detector.coral_pci             INFO    : Starting detection process: 1284
[2022-04-03 11:59:04] frigate.edgetpu                INFO    : Attempting to load TPU as pci
[2022-04-03 11:59:04] frigate.edgetpu                INFO    : TPU found
blakeblackshear commented 2 years ago

If you are seeing Detection appears to be stuck. Restarting detection process that means frigate is unable to establish a connection to your Coral. This is most often due to power or other hardware issues. Are you still seeing high cpu usage?

brenninger commented 2 years ago

@blakeblackshear I am no longer seeing high CPU usage after I took out the arg parameters. I don't know of any issues with the Coral and losing connection. But I can try to look into it some more. Do you have any recommendations to check if there are issues with it?

These are the latest errors:

[2022-04-09 20:49:26] frigate.video ERROR : front_door: Unable to read frames from ffmpeg process. [2022-04-09 20:49:26] frigate.video ERROR : front_door: ffmpeg process is not running. exiting capture thread... [2022-04-09 20:49:28] frigate.video ERROR : west: Unable to read frames from ffmpeg process. [2022-04-09 20:49:28] frigate.video ERROR : west: ffmpeg process is not running. exiting capture thread... [2022-04-09 20:49:28] frigate.video ERROR : backyard: Unable to read frames from ffmpeg process. [2022-04-09 20:49:28] frigate.video ERROR : backyard: Unable to read frames from ffmpeg process. [2022-04-09 20:49:28] frigate.video ERROR : backyard: ffmpeg process is not running. exiting capture thread... [2022-04-09 20:49:28] frigate.video ERROR : driveway: Unable to read frames from ffmpeg process. [2022-04-09 20:49:28] frigate.video ERROR : driveway: ffmpeg process is not running. exiting capture thread... [2022-04-09 20:49:30] watchdog.driveway ERROR : Ffmpeg process crashed unexpectedly for driveway. [2022-04-09 20:49:30] watchdog.driveway ERROR : The following ffmpeg logs include the last 100 lines prior to exit.

stale[bot] commented 2 years ago

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