frigate: [Bug]: Stationary objects being saved as events

Describe the problem you are having

So since the newest version 0.10.1, which i upgraded to recently, my disk is always getting used to the point where I needed to remove the recordings directory. Today I had time to look into that issues, since it never happend before, in many months of usage.

So first I checked the web interface and immediately noticed, clips getting produces by parked cars.

image

This has never happend before, but suddenly it started to do that randomly, its also not consistent, but it do happend for a neighbor car and our own in the driveway below.

Version

0.10.1

Frigate config file

{
  "birdseye": {
    "enabled": true,
    "height": 720,
    "mode": "objects",
    "quality": 8,
    "width": 1280
  },
  "cameras": {
    "cam1": {
      "best_image_timeout": 60,
      "detect": {
        "enabled": true,
        "fps": 15,
        "height": 1920,
        "max_disappeared": 75,
        "stationary": {
          "interval": 0,
          "max_frames": {
            "default": null,
            "objects": {}
          },
          "threshold": 150
        },
        "width": 2560
      },
      "ffmpeg": {
        "global_args": [
          "-hide_banner",
          "-loglevel",
          "warning"
        ],
        "hwaccel_args": [],
        "input_args": [
          "-avoid_negative_ts",
          "make_zero",
          "-fflags",
          "+genpts+discardcorrupt",
          "-rtsp_transport",
          "tcp",
          "-stimeout",
          "5000000",
          "-use_wallclock_as_timestamps",
          "1"
        ],
        "inputs": [
          {
            "global_args": [],
            "hwaccel_args": [],
            "input_args": [],
            "path": "rtsp://admin:REDACTED@CAM1:554/h264Preview_01_main",
            "roles": [
              "record",
              "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",
            "copy",
            "-an"
          ],
          "rtmp": [
            "-c",
            "copy",
            "-f",
            "flv"
          ]
        }
      },
      "ffmpeg_cmds": [
        {
          "cmd": "ffmpeg -hide_banner -loglevel warning -avoid_negative_ts make_zero -fflags +genpts+discardcorrupt -rtsp_transport tcp -stimeout 5000000 -use_wallclock_as_timestamps 1 -i rtsp://admin:REDACTED@CAM1:554/h264Preview_01_main -f segment -segment_time 10 -segment_format mp4 -reset_timestamps 1 -strftime 1 -c copy -an /tmp/cache/cam1-%Y%m%d%H%M%S.mp4 -c copy -f flv rtmp://127.0.0.1/live/cam1 -r 15 -s 2560x1920 -f rawvideo -pix_fmt yuv420p pipe:",
          "roles": [
            "record",
            "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": [
          "1642,0,1644,68,910,62,908,0",
          "161,1413,970,1350,1044,1408,1378,1303,1518,1175,1320,892,912,963,121,1316",
          "1477,0,2108,540,1822,648,1678,662,1400,518,1355,328,1373,131,1404,0",
          "1214,162,1287,319,1084,448,920,287,931,201,1004,165"
        ],
        "threshold": 25
      },
      "mqtt": {
        "bounding_box": true,
        "crop": true,
        "enabled": true,
        "height": 270,
        "quality": 70,
        "required_zones": [],
        "timestamp": true
      },
      "name": "cam1",
      "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
          },
          "truck": {
            "mask": null,
            "max_area": 24000000,
            "min_area": 0,
            "min_score": 0.5,
            "threshold": 0.7
          }
        },
        "mask": "",
        "track": [
          "person",
          "car",
          "truck",
          "bicycle",
          "motorcycle",
          "dog",
          "cat"
        ]
      },
      "record": {
        "enabled": true,
        "events": {
          "max_seconds": 300,
          "objects": null,
          "post_capture": 5,
          "pre_capture": 5,
          "required_zones": [],
          "retain": {
            "default": 3,
            "mode": "motion",
            "objects": {}
          }
        },
        "expire_interval": 60,
        "retain": {
          "days": 0,
          "mode": "all"
        },
        "retain_days": 0
      },
      "rtmp": {
        "enabled": true
      },
      "snapshots": {
        "bounding_box": true,
        "clean_copy": true,
        "crop": false,
        "enabled": true,
        "height": null,
        "quality": 70,
        "required_zones": [],
        "retain": {
          "default": 10,
          "mode": "motion",
          "objects": {}
        },
        "timestamp": true
      },
      "timestamp_style": {
        "color": {
          "blue": 255,
          "green": 255,
          "red": 255
        },
        "effect": null,
        "format": "%m/%d/%Y %H:%M:%S",
        "position": "tl",
        "thickness": 2
      },
      "zones": {}
    }
  },
  "database": {
    "path": "/media/frigate/frigate.db"
  },
  "detect": {
    "enabled": true,
    "fps": 5,
    "height": 720,
    "max_disappeared": null,
    "stationary": {
      "interval": 0,
      "max_frames": {
        "default": null,
        "objects": {}
      },
      "threshold": null
    },
    "width": 1280
  },
  "detectors": {
    "coral_pci": {
      "device": "pci",
      "num_threads": 3,
      "type": "edgetpu"
    }
  },
  "environment_vars": {},
  "ffmpeg": {
    "global_args": [
      "-hide_banner",
      "-loglevel",
      "warning"
    ],
    "hwaccel_args": [],
    "input_args": [
      "-avoid_negative_ts",
      "make_zero",
      "-fflags",
      "+genpts+discardcorrupt",
      "-rtsp_transport",
      "tcp",
      "-stimeout",
      "5000000",
      "-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",
        "copy",
        "-an"
      ],
      "rtmp": [
        "-c",
        "copy",
        "-f",
        "flv"
      ]
    }
  },
  "live": {
    "height": 720,
    "quality": 8
  },
  "logger": {
    "default": "info",
    "logs": {}
  },
  "model": {
    "height": 320,
    "labelmap": {},
    "labelmap_path": null,
    "path": null,
    "width": 320
  },
  "motion": {
    "contour_area": 30,
    "delta_alpha": 0.2,
    "frame_alpha": 0.2,
    "frame_height": 50,
    "improve_contrast": false,
    "mask": [
      "1642,0,1644,68,910,62,908,0",
      "161,1413,970,1350,1044,1408,1378,1303,1518,1175,1320,892,912,963,121,1316",
      "1477,0,2108,540,1822,648,1678,662,1400,518,1355,328,1373,131,1404,0",
      "1214,162,1287,319,1084,448,920,287,931,201,1004,165"
    ],
    "threshold": 25
  },
  "mqtt": {
    "client_id": "frigate",
    "host": "10.0.11.2",
    "password": "frigate",
    "port": 1883,
    "stats_interval": 60,
    "tls_ca_certs": null,
    "tls_client_cert": null,
    "tls_client_key": null,
    "tls_insecure": null,
    "topic_prefix": "frigate",
    "user": "frigate"
  },
  "objects": {
    "filters": null,
    "mask": "",
    "track": [
      "person"
    ]
  },
  "record": {
    "enabled": true,
    "events": {
      "max_seconds": 300,
      "objects": null,
      "post_capture": 5,
      "pre_capture": 5,
      "required_zones": [],
      "retain": {
        "default": 3,
        "mode": "motion",
        "objects": {}
      }
    },
    "expire_interval": 60,
    "retain": {
      "days": 0,
      "mode": "all"
    },
    "retain_days": 0
  },
  "rtmp": {
    "enabled": true
  },
  "snapshots": {
    "bounding_box": true,
    "clean_copy": true,
    "crop": false,
    "enabled": true,
    "height": null,
    "quality": 70,
    "required_zones": [],
    "retain": {
      "default": 10,
      "mode": "motion",
      "objects": {}
    },
    "timestamp": true
  },
  "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-06-01 19:59:47] watchdog.cam1                  ERROR   : The following ffmpeg logs include the last 100 lines prior to exit.

[2022-06-01 19:59:47] ffmpeg.cam1.detect             ERROR   : [segment @ 0x560e03c82200] 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-06-01 19:59:47] ffmpeg.cam1.detect             ERROR   : [flv @ 0x560e03c7b9c0] 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-06-01 19:59:47] ffmpeg.cam1.detect             ERROR   : More than 1000 frames duplicated

[2022-06-01 19:59:47] ffmpeg.cam1.detect             ERROR   : av_interleaved_write_frame(): Connection reset by peer

[2022-06-01 19:59:47] ffmpeg.cam1.detect             ERROR   : [flv @ 0x560e03c7b9c0] Failed to update header with correct duration.

[2022-06-01 19:59:47] ffmpeg.cam1.detect             ERROR   : [flv @ 0x560e03c7b9c0] Failed to update header with correct filesize.

[2022-06-01 19:59:47] ffmpeg.cam1.detect             ERROR   : Error writing trailer of rtmp://127.0.0.1/live/cam1: Connection reset by peer

[2022-06-01 19:59:49] frigate.video                  ERROR   : cam1: Unable to read frames from ffmpeg process.

[2022-06-01 19:59:49] frigate.video                  ERROR   : cam1: ffmpeg process is not running. exiting capture thread...

[2022-06-01 19:59:57] watchdog.cam1                  ERROR   : Ffmpeg process crashed unexpectedly for cam1.

[2022-06-01 19:59:57] watchdog.cam1                  ERROR   : The following ffmpeg logs include the last 100 lines prior to exit.

[2022-06-01 19:59:57] ffmpeg.cam1.detect             ERROR   : [segment @ 0x565466302200] 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-06-01 19:59:57] ffmpeg.cam1.detect             ERROR   : [flv @ 0x565466300300] 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-06-01 19:59:57] ffmpeg.cam1.detect             ERROR   : av_interleaved_write_frame(): Broken pipe

[2022-06-01 19:59:57] ffmpeg.cam1.detect             ERROR   : Finishing stream 2:0 without any data written to it.

[2022-06-01 19:59:57] ffmpeg.cam1.detect             ERROR   : [flv @ 0x565466300300] Failed to update header with correct duration.

[2022-06-01 19:59:57] ffmpeg.cam1.detect             ERROR   : [flv @ 0x565466300300] Failed to update header with correct filesize.

[2022-06-01 19:59:57] ffmpeg.cam1.detect             ERROR   : Error writing trailer of rtmp://127.0.0.1/live/cam1: Broken pipe

[2022-06-01 20:13:47] frigate.video                  ERROR   : cam1: Unable to read frames from ffmpeg process.

[2022-06-01 20:13:47] frigate.video                  ERROR   : cam1: ffmpeg process is not running. exiting capture thread...

[2022-06-01 20:13:47] watchdog.cam1                  ERROR   : Ffmpeg process crashed unexpectedly for cam1.

[2022-06-01 20:13:47] watchdog.cam1                  ERROR   : The following ffmpeg logs include the last 100 lines prior to exit.

[2022-06-01 20:13:47] ffmpeg.cam1.detect             ERROR   : [segment @ 0x558f57b15200] 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-06-01 20:13:47] ffmpeg.cam1.detect             ERROR   : [flv @ 0x558f57b12ec0] 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-06-01 20:13:47] ffmpeg.cam1.detect             ERROR   : More than 1000 frames duplicated

[2022-06-01 20:13:47] ffmpeg.cam1.detect             ERROR   : av_interleaved_write_frame(): Connection reset by peer

[2022-06-01 20:13:47] ffmpeg.cam1.detect             ERROR   : [flv @ 0x558f57b12ec0] Failed to update header with correct duration.

[2022-06-01 20:13:47] ffmpeg.cam1.detect             ERROR   : [flv @ 0x558f57b12ec0] Failed to update header with correct filesize.

[2022-06-01 20:13:47] ffmpeg.cam1.detect             ERROR   : Error writing trailer of rtmp://127.0.0.1/live/cam1: Connection reset by peer

[2022-06-01 20:16:36] frigate.video                  ERROR   : cam1: Unable to read frames from ffmpeg process.

[2022-06-01 20:16:36] frigate.video                  ERROR   : cam1: ffmpeg process is not running. exiting capture thread...

[2022-06-01 20:16:37] watchdog.cam1                  ERROR   : Ffmpeg process crashed unexpectedly for cam1.

[2022-06-01 20:16:37] watchdog.cam1                  ERROR   : The following ffmpeg logs include the last 100 lines prior to exit.

[2022-06-01 20:16:37] ffmpeg.cam1.detect             ERROR   : [segment @ 0x557872c2bf40] 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-06-01 20:16:37] ffmpeg.cam1.detect             ERROR   : [flv @ 0x557872c289c0] 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-06-01 20:16:37] ffmpeg.cam1.detect             ERROR   : av_interleaved_write_frame(): Connection reset by peer

[2022-06-01 20:16:37] ffmpeg.cam1.detect             ERROR   : [flv @ 0x557872c289c0] Failed to update header with correct duration.

[2022-06-01 20:16:37] ffmpeg.cam1.detect             ERROR   : [flv @ 0x557872c289c0] Failed to update header with correct filesize.

[2022-06-01 20:16:37] ffmpeg.cam1.detect             ERROR   : Error writing trailer of rtmp://127.0.0.1/live/cam1: Connection reset by peer

[2022-06-01 20:16:42] frigate.video                  ERROR   : cam1: Unable to read frames from ffmpeg process.

[2022-06-01 20:16:42] frigate.video                  ERROR   : cam1: ffmpeg process is not running. exiting capture thread...

[2022-06-01 20:16:47] watchdog.cam1                  ERROR   : Ffmpeg process crashed unexpectedly for cam1.

[2022-06-01 20:16:47] watchdog.cam1                  ERROR   : The following ffmpeg logs include the last 100 lines prior to exit.

[2022-06-01 20:16:47] ffmpeg.cam1.detect             ERROR   : [segment @ 0x557f7e325680] 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-06-01 20:16:47] ffmpeg.cam1.detect             ERROR   : [flv @ 0x557f7e3309c0] 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-06-01 20:16:47] ffmpeg.cam1.detect             ERROR   : av_interleaved_write_frame(): Connection reset by peer

[2022-06-01 20:16:47] ffmpeg.cam1.detect             ERROR   : [flv @ 0x557f7e3309c0] Failed to update header with correct duration.

[2022-06-01 20:16:47] ffmpeg.cam1.detect             ERROR   : [flv @ 0x557f7e3309c0] Failed to update header with correct filesize.

[2022-06-01 20:16:47] ffmpeg.cam1.detect             ERROR   : Error writing trailer of rtmp://127.0.0.1/live/cam1: Connection reset by peer

[2022-06-01 20:17:48] frigate.video                  ERROR   : cam1: Unable to read frames from ffmpeg process.

[2022-06-01 20:17:48] frigate.video                  ERROR   : cam1: ffmpeg process is not running. exiting capture thread...

[2022-06-01 20:17:57] watchdog.cam1                  ERROR   : Ffmpeg process crashed unexpectedly for cam1.

[2022-06-01 20:17:57] watchdog.cam1                  ERROR   : The following ffmpeg logs include the last 100 lines prior to exit.

[2022-06-01 20:17:57] ffmpeg.cam1.detect             ERROR   : [segment @ 0x557045293200] 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-06-01 20:17:57] ffmpeg.cam1.detect             ERROR   : [flv @ 0x557045290ec0] 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-06-01 20:17:57] ffmpeg.cam1.detect             ERROR   : av_interleaved_write_frame(): Broken pipe

[2022-06-01 20:17:57] ffmpeg.cam1.detect             ERROR   : [flv @ 0x557045290ec0] Failed to update header with correct duration.

[2022-06-01 20:17:57] ffmpeg.cam1.detect             ERROR   : [flv @ 0x557045290ec0] Failed to update header with correct filesize.

[2022-06-01 20:17:57] ffmpeg.cam1.detect             ERROR   : Error writing trailer of rtmp://127.0.0.1/live/cam1: Broken pipe

[2022-06-01 20:23:56] frigate.video                  ERROR   : cam1: Unable to read frames from ffmpeg process.

[2022-06-01 20:23:56] frigate.video                  ERROR   : cam1: ffmpeg process is not running. exiting capture thread...

[2022-06-01 20:23:57] watchdog.cam1                  ERROR   : Ffmpeg process crashed unexpectedly for cam1.

[2022-06-01 20:23:57] watchdog.cam1                  ERROR   : The following ffmpeg logs include the last 100 lines prior to exit.

[2022-06-01 20:23:57] ffmpeg.cam1.detect             ERROR   : [segment @ 0x55c99440a680] 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-06-01 20:23:57] ffmpeg.cam1.detect             ERROR   : [flv @ 0x55c994419ec0] 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-06-01 20:23:57] ffmpeg.cam1.detect             ERROR   : av_interleaved_write_frame(): Broken pipe

[2022-06-01 20:23:57] ffmpeg.cam1.detect             ERROR   : [flv @ 0x55c994419ec0] Failed to update header with correct duration.

[2022-06-01 20:23:57] ffmpeg.cam1.detect             ERROR   : [flv @ 0x55c994419ec0] Failed to update header with correct filesize.

[2022-06-01 20:23:57] ffmpeg.cam1.detect             ERROR   : Error writing trailer of rtmp://127.0.0.1/live/cam1: Broken pipe

[2022-06-01 20:26:47] frigate.video                  ERROR   : cam1: Unable to read frames from ffmpeg process.

[2022-06-01 20:26:47] frigate.video                  ERROR   : cam1: ffmpeg process is not running. exiting capture thread...

[2022-06-01 20:26:57] watchdog.cam1                  ERROR   : Ffmpeg process crashed unexpectedly for cam1.

[2022-06-01 20:26:57] watchdog.cam1                  ERROR   : The following ffmpeg logs include the last 100 lines prior to exit.

[2022-06-01 20:26:57] ffmpeg.cam1.detect             ERROR   : [segment @ 0x56148d3c9200] 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-06-01 20:26:57] ffmpeg.cam1.detect             ERROR   : [flv @ 0x56148d3c6ec0] 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-06-01 20:26:57] ffmpeg.cam1.detect             ERROR   : av_interleaved_write_frame(): Connection reset by peer

[2022-06-01 20:26:57] ffmpeg.cam1.detect             ERROR   : [flv @ 0x56148d3c6ec0] Failed to update header with correct duration.

[2022-06-01 20:26:57] ffmpeg.cam1.detect             ERROR   : [flv @ 0x56148d3c6ec0] Failed to update header with correct filesize.

[2022-06-01 20:26:57] ffmpeg.cam1.detect             ERROR   : Error writing trailer of rtmp://127.0.0.1/live/cam1: Connection reset by peer

[2022-06-01 20:36:26] frigate.video                  ERROR   : cam1: Unable to read frames from ffmpeg process.

[2022-06-01 20:36:26] frigate.video                  ERROR   : cam1: Unable to read frames from ffmpeg process.

[2022-06-01 20:36:26] frigate.video                  ERROR   : cam1: ffmpeg process is not running. exiting capture thread...

[2022-06-01 20:36:27] watchdog.cam1                  ERROR   : Ffmpeg process crashed unexpectedly for cam1.

[2022-06-01 20:36:27] watchdog.cam1                  ERROR   : The following ffmpeg logs include the last 100 lines prior to exit.

[2022-06-01 20:36:27] ffmpeg.cam1.detect             ERROR   : [segment @ 0x564cdfb61200] 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-06-01 20:36:27] ffmpeg.cam1.detect             ERROR   : [flv @ 0x564cdfb5eec0] 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-06-01 20:36:27] ffmpeg.cam1.detect             ERROR   : More than 1000 frames duplicated

[2022-06-01 20:36:27] ffmpeg.cam1.detect             ERROR   : av_interleaved_write_frame(): Connection reset by peer

[2022-06-01 20:36:27] ffmpeg.cam1.detect             ERROR   : [flv @ 0x564cdfb5eec0] Failed to update header with correct duration.

[2022-06-01 20:36:27] ffmpeg.cam1.detect             ERROR   : [flv @ 0x564cdfb5eec0] Failed to update header with correct filesize.

[2022-06-01 20:36:27] ffmpeg.cam1.detect             ERROR   : Error writing trailer of rtmp://127.0.0.1/live/cam1: Connection reset by peer

[2022-06-01 20:40:55] frigate.record                 WARNING : Unable to find file from recordings database: /media/frigate/recordings/2022-05/29/20/cam1/49.54.mp4

[2022-06-01 21:40:55] frigate.record                 WARNING : Unable to find file from recordings database: /media/frigate/recordings/2022-05/30/04/cam1/34.25.mp4

[2022-06-01 22:40:56] frigate.record                 WARNING : Unable to find file from recordings database: /media/frigate/recordings/2022-05/30/04/cam1/34.35.mp4

[2022-06-01 23:40:56] frigate.record                 WARNING : Unable to find file from recordings database: /media/frigate/recordings/2022-05/30/04/cam1/34.45.mp4

[2022-06-02 00:40:56] frigate.record                 WARNING : Unable to find file from recordings database: /media/frigate/recordings/2022-05/30/05/cam1/04.24.mp4

[2022-06-02 01:40:57] frigate.record                 WARNING : Unable to find file from recordings database: /media/frigate/recordings/2022-05/30/05/cam1/04.35.mp4

[2022-06-02 01:45:56] ws4py                          INFO    : Managing websocket [Local => 127.0.0.1:5002 | Remote => 127.0.0.1:59930]

[2022-06-02 01:52:42] ws4py                          INFO    : Terminating websocket [Local => 127.0.0.1:5002 | Remote => 127.0.0.1:59930]

FFprobe output from your camera

root@trashct:~# ffprobe rtsp://admin:RED@CAM1:554/h264Preview_01_main
ffprobe version 4.3.4-0+deb11u1 Copyright (c) 2007-2021 the FFmpeg developers
  built with gcc 10 (Debian 10.2.1-6)
  configuration: --prefix=/usr --extra-version=0+deb11u1 --toolchain=hardened --libdir=/usr/lib/x86_64-linux-gnu --incdir=/usr/include/x86_64-linux-gnu --arch=amd64 --enable-gpl --disable-stripping --enable-avresample --disable-filter=resample --enable-gnutls --enable-ladspa --enable-libaom --enable-libass --enable-libbluray --enable-libbs2b --enable-libcaca --enable-libcdio --enable-libcodec2 --enable-libdav1d --enable-libflite --enable-libfontconfig --enable-libfreetype --enable-libfribidi --enable-libgme --enable-libgsm --enable-libjack --enable-libmp3lame --enable-libmysofa --enable-libopenjpeg --enable-libopenmpt --enable-libopus --enable-libpulse --enable-librabbitmq --enable-librsvg --enable-librubberband --enable-libshine --enable-libsnappy --enable-libsoxr --enable-libspeex --enable-libsrt --enable-libssh --enable-libtheora --enable-libtwolame --enable-libvidstab --enable-libvorbis --enable-libvpx --enable-libwavpack --enable-libwebp --enable-libx265 --enable-libxml2 --enable-libxvid --enable-libzmq --enable-libzvbi --enable-lv2 --enable-omx --enable-openal --enable-opencl --enable-opengl --enable-sdl2 --enable-pocketsphinx --enable-libmfx --enable-libdc1394 --enable-libdrm --enable-libiec61883 --enable-chromaprint --enable-frei0r --enable-libx264 --enable-shared
  libavutil      56. 51.100 / 56. 51.100
  libavcodec     58. 91.100 / 58. 91.100
  libavformat    58. 45.100 / 58. 45.100
  libavdevice    58. 10.100 / 58. 10.100
  libavfilter     7. 85.100 /  7. 85.100
  libavresample   4.  0.  0 /  4.  0.  0
  libswscale      5.  7.100 /  5.  7.100
  libswresample   3.  7.100 /  3.  7.100
  libpostproc    55.  7.100 / 55.  7.100
Input #0, rtsp, from 'rtsp://admin:RED@CAM1:554/h264Preview_01_main':
  Metadata:
    title           : Session streamed by "preview"
    comment         : h264Preview_01_main
  Duration: N/A, start: 0.000000, bitrate: N/A
    Stream #0:0: Video: h264 (High), yuv420p(progressive), 2560x1920, 12 tbr, 90k tbn, 180k tbc
    Stream #0:1: Audio: aac (LC), 16000 Hz, mono, fltp
root@trashct:~#

Frigate stats

{"cam1":{"camera_fps":15.2,"capture_pid":235,"detection_fps":0.0,"pid":230,"process_fps":15.2,"skipped_fps":0.0},"detection_fps":0.0,"detectors":{"coral_pci":{"detection_start":0.0,"inference_speed":6.95,"pid":225}},"service":{"storage":{"/dev/shm":{"free":59.2,"mount_type":"tmpfs","total":67.1,"used":8.0},"/media/frigate/clips":{"free":16608.3,"mount_type":"ext4","total":66986.0,"used":47323.3},"/media/frigate/recordings":{"free":16608.3,"mount_type":"ext4","total":66986.0,"used":47323.3},"/tmp/cache":{"free":996.9,"mount_type":"tmpfs","total":1000.0,"used":3.1}},"temperatures":{"apex_0":51.3},"uptime":91300,"version":"0.10.1-83481af"}}

Operating system

Other Linux

Install method

Docker Compose

Coral version

M.2

Network connection

Wired

Camera make and model

Reolink RLC-511WA

Any other information that may be helpful

No response

About this issue

  • Original URL
  • State: closed
  • Created 2 years ago
  • Comments: 19

Most upvoted comments

So, if I change it to ‘active_objects’ instead of ‘motion,’ will it be okay? I had understood that it was to save all the motions from the last 7 days.

I mean if you want 7 days of motion based recordings then I don’t see why you’d want to change that. The recordings for “events” and 24/7 are generated from the same files, so there is no redundancy.

You have 7 days of motion based 24/7 recording setup, so the events will naturally contain more recordings than active_objects for the first 7 days

record -> events -> max_seconds that no longer exists in the latest version of frigate