blakeblackshear / frigate

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

[Support]: some clips cannot be played or downloaded #2187

Closed runningman84 closed 2 years ago

runningman84 commented 3 years ago

Describe the problem you are having

A lot of clips cannot be played. They are listed in the events page but I cannot play or download the clip. Although I see the corresponding image.

This is an example url of a not found clip: https://frigate.k8s-prod.example.com/api/events/1636075753.575614-oqgg2t/clip.mp4?download=true

root@frigate-66db985665-tgpmn:/media# find  | grep 57561
./frigate/clips/corridor_downstairs-1636075753.575614-oqgg2t.jpg
./frigate/clips/corridor_downstairs-1636075753.575614-oqgg2t-clean.png

This is an example url of a working clip: https://frigate.k8s-prod.example.com/api/events/1636011205.484664-zu53z7/clip.mp4?download=true

root@frigate-66db985665-tgpmn:/media# find | grep 484664
./frigate/clips/corridor_downstairs-1636011205.484664-zu53z7-clean.png
./frigate/clips/corridor_downstairs-1636011205.484664-zu53z7.jpg

How is frigate able to produce a working clip in the second example? I haven't found a corresponding file on disk in both cases. Is frigate creating a clip from the recordings?

Version

0.9.4

Frigate config file

{
  "birdseye": {
    "enabled": false,
    "height": 720,
    "mode": "objects",
    "quality": 8,
    "width": 1280
  },
  "cameras": {
    "corridor_downstairs": {
      "best_image_timeout": 60,
      "detect": {
        "enabled": false,
        "fps": 10,
        "height": 720,
        "max_disappeared": 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",
          "+genpts+discardcorrupt",
          "-rtsp_transport",
          "tcp",
          "-stimeout",
          "5000000",
          "-use_wallclock_as_timestamps",
          "1"
        ],
        "inputs": [
          {
            "global_args": [],
            "hwaccel_args": [],
            "input_args": [],
            "path": "rtsp://10.0.70.100:554/s0",
            "roles": [
              "detect"
            ]
          },
          {
            "global_args": [],
            "hwaccel_args": [],
            "input_args": [],
            "path": "rtsp://10.0.70.100:554/s0",
            "roles": [
              "rtmp",
              "record"
            ]
          }
        ],
        "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 -hwaccel vaapi -hwaccel_device /dev/dri/renderD128 -hwaccel_output_format yuv420p -avoid_negative_ts make_zero -fflags +genpts+discardcorrupt -rtsp_transport tcp -stimeout 5000000 -use_wallclock_as_timestamps 1 -i rtsp://10.0.70.100:554/s0 -r 10 -s 1280x720 -f rawvideo -pix_fmt yuv420p pipe:",
          "roles": [
            "detect"
          ]
        },
        {
          "cmd": "ffmpeg -hide_banner -loglevel warning -hwaccel vaapi -hwaccel_device /dev/dri/renderD128 -hwaccel_output_format yuv420p -avoid_negative_ts make_zero -fflags +genpts+discardcorrupt -rtsp_transport tcp -stimeout 5000000 -use_wallclock_as_timestamps 1 -i rtsp://10.0.70.100:554/s0 -c copy -f flv rtmp://127.0.0.1/live/corridor_downstairs",
          "roles": [
            "rtmp",
            "record"
          ]
        }
      ],
      "live": {
        "height": 720,
        "quality": 8
      },
      "motion": {
        "contour_area": 99,
        "delta_alpha": 0.2,
        "frame_alpha": 0.2,
        "frame_height": 180,
        "mask": "",
        "threshold": 25
      },
      "mqtt": {
        "bounding_box": true,
        "crop": true,
        "enabled": true,
        "height": 270,
        "quality": 70,
        "required_zones": [],
        "timestamp": true
      },
      "name": "corridor_downstairs",
      "objects": {
        "filters": {
          "person": {
            "mask": null,
            "max_area": 100000,
            "min_area": 2500,
            "min_score": 0.5,
            "threshold": 0.7
          }
        },
        "mask": "",
        "track": [
          "person"
        ]
      },
      "record": {
        "enabled": false,
        "events": {
          "max_seconds": 300,
          "objects": null,
          "post_capture": 5,
          "pre_capture": 5,
          "required_zones": [],
          "retain": {
            "default": 14,
            "objects": {}
          }
        },
        "retain_days": 0
      },
      "rtmp": {
        "enabled": true
      },
      "snapshots": {
        "bounding_box": true,
        "clean_copy": true,
        "crop": false,
        "enabled": false,
        "height": null,
        "quality": 70,
        "required_zones": [],
        "retain": {
          "default": 14,
          "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": {}
    }
  },
  "database": {
    "path": "/data/frigate.db"
  },
  "detect": {
    "enabled": true,
    "fps": 5,
    "height": 720,
    "max_disappeared": null,
    "width": 1280
  },
  "detectors": {
    "coral": {
      "device": "pci:0",
      "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",
      "+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": null,
  "mqtt": {
    "client_id": "frigate",
    "host": "mosquitto",
    "password": null,
    "port": 1883,
    "stats_interval": 60,
    "tls_ca_certs": null,
    "tls_client_cert": null,
    "tls_client_key": null,
    "tls_insecure": null,
    "topic_prefix": "frigate",
    "user": null
  },
  "objects": {
    "filters": {
      "person": {
        "mask": null,
        "max_area": 100000,
        "min_area": 2500,
        "min_score": 0.5,
        "threshold": 0.7
      }
    },
    "mask": "",
    "track": [
      "person"
    ]
  },
  "record": {
    "enabled": false,
    "events": {
      "max_seconds": 300,
      "objects": null,
      "post_capture": 5,
      "pre_capture": 5,
      "required_zones": [],
      "retain": {
        "default": 10,
        "objects": {}
      }
    },
    "retain_days": 0
  },
  "rtmp": {
    "enabled": true
  },
  "snapshots": {
    "bounding_box": true,
    "clean_copy": true,
    "crop": false,
    "enabled": false,
    "height": null,
    "quality": 70,
    "required_zones": [],
    "retain": {
      "default": 10,
      "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

none

FFprobe output from your camera

na

Frigate stats

No response

Operating system

Other Linux

Install method

Docker CLI

Coral version

M.2

Network connection

Wired

Camera make and model

Unifi G3 Flex

Any other information that may be helpful

No response

mattthewclayton commented 3 years ago

Is it just all recent events that do not have clips, or do some recent events have clips and some don't?

A log covering the timeframe of an event that does not have a clip will be needed to help more I think.

blakeblackshear commented 3 years ago

Clips are assembled from recordings on demand.

runningman84 commented 3 years ago

Most recent clips suffer from this problem. Older recordings seem to work.

There are no errors in the stdout log in the container how do I increase the log level?

blakeblackshear commented 3 years ago

You have record disabled. https://docs.frigate.video/guides/getting_started/#step-7-enable-recording-optional

runningman84 commented 3 years ago

I have everything disabled if the alarm system is disabled. But the clips were recorded in the night were the recording was active.

runningman84 commented 3 years ago

These are the debug logs of a recent test.

Testcase: 1) restart frigate with debug log 2) walk into the camera area 3) open the clip in the frigate ui (The media could not be loaded, either because the server or network failed or because the format is not supported.) 4) download logs

[s6-init] making user provided files available at /var/run/s6/etc...exited 0.
[s6-init] ensuring user provided files have correct perms...exited 0.
[fix-attrs.d] applying ownership & permissions fixes...
[fix-attrs.d] done.
[cont-init.d] executing container initialization scripts...
[cont-init.d] done.
[services.d] starting services
[services.d] done.
[2021-11-07 14:20:33] frigate.app                    INFO    : Starting Frigate (0.9.4-26ae608)
[2021-11-07 14:20:33] frigate.app                    INFO    : Creating directory: /tmp/cache
Starting migrations
[2021-11-07 14:20:33] peewee_migrate                 INFO    : Starting migrations
[2021-11-07 14:20:33] peewee                         DEBUG   : ('CREATE TABLE IF NOT EXISTS "migratehistory" ("id" INTEGER NOT NULL PRIMARY KEY, "name" VARCHAR(255) NOT NULL, "migrated_at" DATETIME NOT NULL)', [])
[2021-11-07 14:20:33] peewee                         DEBUG   : ('SELECT "t1"."id", "t1"."name", "t1"."migrated_at" FROM "migratehistory" AS "t1" ORDER BY "t1"."id"', [])
There is nothing to migrate
[2021-11-07 14:20:33] peewee_migrate                 INFO    : There is nothing to migrate
[2021-11-07 14:20:33] frigate.mqtt                   INFO    : MQTT connected
[2021-11-07 14:20:33] frigate.mqtt                   DEBUG   : on_recordings_toggle: frigate/corridor_downstairs/recordings/set OFF
[2021-11-07 14:20:33] frigate.mqtt                   INFO    : Turning off recordings for corridor_downstairs via mqtt
[2021-11-07 14:20:33] frigate.mqtt                   DEBUG   : on_snapshots_toggle: frigate/corridor_downstairs/snapshots/set OFF
[2021-11-07 14:20:33] frigate.mqtt                   INFO    : Turning off snapshots for corridor_downstairs via mqtt
[2021-11-07 14:20:34] frigate.mqtt                   DEBUG   : on_detect_toggle: frigate/corridor_downstairs/detect/set OFF
[2021-11-07 14:20:34] frigate.mqtt                   INFO    : Turning off detection for corridor_downstairs via mqtt
[2021-11-07 14:20:34] frigate.app                    INFO    : Output process started: 219
[2021-11-07 14:20:34] detector.coral                 INFO    : Starting detection process: 217
[2021-11-07 14:20:34] frigate.edgetpu                INFO    : Attempting to load TPU as pci:0
[2021-11-07 14:20:34] ws4py                          INFO    : Using epoll
[2021-11-07 14:20:34] frigate.app                    INFO    : Camera processor started for corridor_downstairs: 225
[2021-11-07 14:20:34] frigate.app                    INFO    : Capture process started for corridor_downstairs: 228
[2021-11-07 14:20:34] ws4py                          INFO    : Using epoll
[2021-11-07 14:20:34] frigate.edgetpu                INFO    : TPU found
[2021-11-07 14:20:46] peewee                         DEBUG   : ('SELECT "t1"."id", "t1"."label", "t1"."camera", "t1"."start_time", "t1"."end_time", "t1"."top_score", "t1"."false_positive", "t1"."zones", "t1"."thumbnail", "t1"."has_clip", "t1"."has_snapshot", "t1"."region", "t1"."box", "t1"."area" FROM "event" AS "t1" WHERE ("t1"."id" = ?) LIMIT ? OFFSET ?', ['1636070549.434465-7q8fcu', 1, 0])
[2021-11-07 14:20:46] peewee                         DEBUG   : ('SELECT "t1"."id", "t1"."label", "t1"."camera", "t1"."start_time", "t1"."end_time", "t1"."top_score", "t1"."false_positive", "t1"."zones", "t1"."thumbnail", "t1"."has_clip", "t1"."has_snapshot", "t1"."region", "t1"."box", "t1"."area" FROM "event" AS "t1" WHERE ("t1"."id" = ?) LIMIT ? OFFSET ?', ['1636149890.068059-rrzcc5', 1, 0])
[2021-11-07 14:20:46] peewee                         DEBUG   : ('SELECT "t1"."id", "t1"."label", "t1"."camera", "t1"."start_time", "t1"."end_time", "t1"."top_score", "t1"."false_positive", "t1"."zones", "t1"."thumbnail", "t1"."has_clip", "t1"."has_snapshot", "t1"."region", "t1"."box", "t1"."area" FROM "event" AS "t1" WHERE ("t1"."id" = ?) LIMIT ? OFFSET ?', ['1636172790.272215-901sp4', 1, 0])
[2021-11-07 14:20:46] peewee                         DEBUG   : ('SELECT "t1"."id", "t1"."label", "t1"."camera", "t1"."start_time", "t1"."end_time", "t1"."top_score", "t1"."false_positive", "t1"."zones", "t1"."thumbnail", "t1"."has_clip", "t1"."has_snapshot", "t1"."region", "t1"."box", "t1"."area" FROM "event" AS "t1" WHERE ("t1"."id" = ?) LIMIT ? OFFSET ?', ['1636173397.112908-ctfogj', 1, 0])
[2021-11-07 14:20:46] peewee                         DEBUG   : ('SELECT "t1"."id", "t1"."label", "t1"."camera", "t1"."start_time", "t1"."end_time", "t1"."top_score", "t1"."false_positive", "t1"."zones", "t1"."thumbnail", "t1"."has_clip", "t1"."has_snapshot", "t1"."region", "t1"."box", "t1"."area" FROM "event" AS "t1" WHERE ("t1"."id" = ?) LIMIT ? OFFSET ?', ['1636173621.632022-t6ugba', 1, 0])
[2021-11-07 14:20:46] peewee                         DEBUG   : ('SELECT "t1"."id", "t1"."label", "t1"."camera", "t1"."start_time", "t1"."end_time", "t1"."top_score", "t1"."false_positive", "t1"."zones", "t1"."thumbnail", "t1"."has_clip", "t1"."has_snapshot", "t1"."region", "t1"."box", "t1"."area" FROM "event" AS "t1" WHERE ("t1"."id" = ?) LIMIT ? OFFSET ?', ['1636173872.677003-rwm57f', 1, 0])
[2021-11-07 14:20:46] peewee                         DEBUG   : ('SELECT "t1"."id", "t1"."label", "t1"."camera", "t1"."start_time", "t1"."end_time", "t1"."top_score", "t1"."false_positive", "t1"."zones", "t1"."thumbnail", "t1"."has_clip", "t1"."has_snapshot", "t1"."region", "t1"."box", "t1"."area" FROM "event" AS "t1" WHERE ("t1"."id" = ?) LIMIT ? OFFSET ?', ['1636174610.993538-f2s3nw', 1, 0])
[2021-11-07 14:20:46] peewee                         DEBUG   : ('SELECT "t1"."id", "t1"."label", "t1"."camera", "t1"."start_time", "t1"."end_time", "t1"."top_score", "t1"."false_positive", "t1"."zones", "t1"."thumbnail", "t1"."has_clip", "t1"."has_snapshot", "t1"."region", "t1"."box", "t1"."area" FROM "event" AS "t1" WHERE ("t1"."id" = ?) LIMIT ? OFFSET ?', ['1636070247.651916-joy56p', 1, 0])
[2021-11-07 14:20:46] peewee                         DEBUG   : ('SELECT "t1"."id", "t1"."label", "t1"."camera", "t1"."start_time", "t1"."end_time", "t1"."top_score", "t1"."false_positive", "t1"."zones", "t1"."thumbnail", "t1"."has_clip", "t1"."has_snapshot", "t1"."region", "t1"."box", "t1"."area" FROM "event" AS "t1" WHERE ("t1"."id" = ?) LIMIT ? OFFSET ?', ['1636173916.055801-xxnv1p', 1, 0])
[2021-11-07 14:20:46] peewee                         DEBUG   : ('SELECT "t1"."id", "t1"."label", "t1"."camera", "t1"."start_time", "t1"."end_time", "t1"."top_score", "t1"."false_positive", "t1"."zones", "t1"."thumbnail", "t1"."has_clip", "t1"."has_snapshot", "t1"."region", "t1"."box", "t1"."area" FROM "event" AS "t1" WHERE ("t1"."id" = ?) LIMIT ? OFFSET ?', ['1636173957.683155-pa7e7s', 1, 0])
[2021-11-07 14:20:47] peewee                         DEBUG   : ('SELECT "t1"."id", "t1"."label", "t1"."camera", "t1"."start_time", "t1"."end_time", "t1"."top_score", "t1"."false_positive", "t1"."zones", "t1"."thumbnail", "t1"."has_clip", "t1"."has_snapshot", "t1"."region", "t1"."box", "t1"."area" FROM "event" AS "t1" WHERE ("t1"."id" = ?) LIMIT ? OFFSET ?', ['1636174684.808782-raaaij', 1, 0])
[2021-11-07 14:20:47] peewee                         DEBUG   : ('SELECT "t1"."id", "t1"."label", "t1"."camera", "t1"."start_time", "t1"."end_time", "t1"."top_score", "t1"."false_positive", "t1"."zones", "t1"."thumbnail", "t1"."has_clip", "t1"."has_snapshot", "t1"."region", "t1"."box", "t1"."area" FROM "event" AS "t1" WHERE ("t1"."id" = ?) LIMIT ? OFFSET ?', ['1636174339.725231-9uwmmt', 1, 0])
[2021-11-07 14:20:47] peewee                         DEBUG   : ('SELECT "t1"."id", "t1"."label", "t1"."camera", "t1"."start_time", "t1"."end_time", "t1"."top_score", "t1"."false_positive", "t1"."zones", "t1"."thumbnail", "t1"."has_clip", "t1"."has_snapshot", "t1"."region", "t1"."box", "t1"."area" FROM "event" AS "t1" WHERE ("t1"."id" = ?) LIMIT ? OFFSET ?', ['1636174771.155678-uj5umb', 1, 0])
[2021-11-07 14:20:47] peewee                         DEBUG   : ('SELECT "t1"."id", "t1"."label", "t1"."camera", "t1"."start_time", "t1"."end_time", "t1"."top_score", "t1"."false_positive", "t1"."zones", "t1"."thumbnail", "t1"."has_clip", "t1"."has_snapshot", "t1"."region", "t1"."box", "t1"."area" FROM "event" AS "t1" WHERE ("t1"."id" = ?) LIMIT ? OFFSET ?', ['1636173966.667303-eiiapi', 1, 0])
[2021-11-07 14:20:47] peewee                         DEBUG   : ('SELECT "t1"."id", "t1"."label", "t1"."camera", "t1"."start_time", "t1"."end_time", "t1"."top_score", "t1"."false_positive", "t1"."zones", "t1"."thumbnail", "t1"."has_clip", "t1"."has_snapshot", "t1"."region", "t1"."box", "t1"."area" FROM "event" AS "t1" WHERE ("t1"."id" = ?) LIMIT ? OFFSET ?', ['1636175062.254683-mrnxpa', 1, 0])
[2021-11-07 14:20:47] peewee                         DEBUG   : ('SELECT "t1"."id", "t1"."label", "t1"."camera", "t1"."start_time", "t1"."end_time", "t1"."top_score", "t1"."false_positive", "t1"."zones", "t1"."thumbnail", "t1"."has_clip", "t1"."has_snapshot", "t1"."region", "t1"."box", "t1"."area" FROM "event" AS "t1" WHERE ("t1"."id" = ?) LIMIT ? OFFSET ?', ['1636175034.467727-jp8hd1', 1, 0])
[2021-11-07 14:20:47] peewee                         DEBUG   : ('SELECT "t1"."id", "t1"."label", "t1"."camera", "t1"."start_time", "t1"."end_time", "t1"."top_score", "t1"."false_positive", "t1"."zones", "t1"."thumbnail", "t1"."has_clip", "t1"."has_snapshot", "t1"."region", "t1"."box", "t1"."area" FROM "event" AS "t1" WHERE ("t1"."id" = ?) LIMIT ? OFFSET ?', ['1636174402.168913-0xgf56', 1, 0])
[2021-11-07 14:20:47] peewee                         DEBUG   : ('SELECT "t1"."id", "t1"."label", "t1"."camera", "t1"."start_time", "t1"."end_time", "t1"."top_score", "t1"."false_positive", "t1"."zones", "t1"."thumbnail", "t1"."has_clip", "t1"."has_snapshot", "t1"."region", "t1"."box", "t1"."area" FROM "event" AS "t1" WHERE ("t1"."id" = ?) LIMIT ? OFFSET ?', ['1636175025.651075-sf9ar0', 1, 0])
[2021-11-07 14:20:47] peewee                         DEBUG   : ('SELECT "t1"."id", "t1"."label", "t1"."camera", "t1"."start_time", "t1"."end_time", "t1"."top_score", "t1"."false_positive", "t1"."zones", "t1"."thumbnail", "t1"."has_clip", "t1"."has_snapshot", "t1"."region", "t1"."box", "t1"."area" FROM "event" AS "t1" WHERE ("t1"."id" = ?) LIMIT ? OFFSET ?', ['1636175086.208521-sbo8sf', 1, 0])
[2021-11-07 14:20:47] peewee                         DEBUG   : ('SELECT "t1"."id", "t1"."label", "t1"."camera", "t1"."start_time", "t1"."end_time", "t1"."top_score", "t1"."false_positive", "t1"."zones", "t1"."thumbnail", "t1"."has_clip", "t1"."has_snapshot", "t1"."region", "t1"."box", "t1"."area" FROM "event" AS "t1" WHERE ("t1"."id" = ?) LIMIT ? OFFSET ?', ['1636174714.994324-nxyoij', 1, 0])
[2021-11-07 14:20:47] peewee                         DEBUG   : ('SELECT "t1"."id", "t1"."label", "t1"."camera", "t1"."start_time", "t1"."end_time", "t1"."top_score", "t1"."false_positive", "t1"."zones", "t1"."thumbnail", "t1"."has_clip", "t1"."has_snapshot", "t1"."region", "t1"."box", "t1"."area" FROM "event" AS "t1" WHERE ("t1"."id" = ?) LIMIT ? OFFSET ?', ['1636173957.464033-1ekrzx', 1, 0])
[2021-11-07 14:20:51] peewee                         DEBUG   : ('SELECT "t1"."id", "t1"."label", "t1"."camera", "t1"."start_time", "t1"."end_time", "t1"."top_score", "t1"."false_positive", "t1"."zones", "t1"."thumbnail", "t1"."has_clip", "t1"."has_snapshot", "t1"."region", "t1"."box", "t1"."area" FROM "event" AS "t1" WHERE ("t1"."id" = ?) LIMIT ? OFFSET ?', ['1636175086.208521-sbo8sf', 1, 0])
[2021-11-07 14:20:51] peewee                         DEBUG   : ('SELECT "t1"."id", "t1"."camera", "t1"."path", "t1"."start_time", "t1"."end_time", "t1"."duration" FROM "recordings" AS "t1" WHERE (((("t1"."start_time" BETWEEN ? AND ?) OR ("t1"."end_time" BETWEEN ? AND ?)) OR (("t1"."start_time" < ?) AND ("t1"."end_time" > ?))) AND ("t1"."camera" = ?)) ORDER BY "t1"."start_time" ASC', [1636175081.208521, 1636175100.066948, 1636175081.208521, 1636175100.066948, 1636175081.208521, 1636175100.066948, 'corridor_downstairs'])
[2021-11-07 14:21:09] peewee                         DEBUG   : ('SELECT "t1"."id", "t1"."label", "t1"."camera", "t1"."start_time", "t1"."end_time", "t1"."top_score", "t1"."false_positive", "t1"."zones", "t1"."thumbnail", "t1"."has_clip", "t1"."has_snapshot", "t1"."region", "t1"."box", "t1"."area" FROM "event" AS "t1" WHERE ("t1"."id" = ?) LIMIT ? OFFSET ?', ['1636175062.254683-mrnxpa', 1, 0])
[2021-11-07 14:21:11] peewee                         DEBUG   : ('SELECT "t1"."id", "t1"."label", "t1"."camera", "t1"."start_time", "t1"."end_time", "t1"."top_score", "t1"."false_positive", "t1"."zones", "t1"."thumbnail", "t1"."has_clip", "t1"."has_snapshot", "t1"."region", "t1"."box", "t1"."area" FROM "event" AS "t1" WHERE ("t1"."id" = ?) LIMIT ? OFFSET ?', ['1636175062.254683-mrnxpa', 1, 0])
[2021-11-07 14:21:11] peewee                         DEBUG   : ('SELECT "t1"."id", "t1"."camera", "t1"."path", "t1"."start_time", "t1"."end_time", "t1"."duration" FROM "recordings" AS "t1" WHERE (((("t1"."start_time" BETWEEN ? AND ?) OR ("t1"."end_time" BETWEEN ? AND ?)) OR (("t1"."start_time" < ?) AND ("t1"."end_time" > ?))) AND ("t1"."camera" = ?)) ORDER BY "t1"."start_time" ASC', [1636175057.254683, 1636175080.78082, 1636175057.254683, 1636175080.78082, 1636175057.254683, 1636175080.78082, 'corridor_downstairs'])
[2021-11-07 14:21:25] ws4py                          INFO    : Managing websocket [Local => 127.0.0.1:5002 | Remote => 127.0.0.1:51886]
[2021-11-07 14:21:29] frigate.mqtt                   DEBUG   : Publishing mqtt message from websockets at frigate/corridor_downstairs/detect/set.
[2021-11-07 14:21:29] frigate.mqtt                   DEBUG   : on_detect_toggle: frigate/corridor_downstairs/detect/set ON
[2021-11-07 14:21:29] frigate.mqtt                   INFO    : Turning on detection for corridor_downstairs via mqtt
[2021-11-07 14:21:29] frigate.mqtt                   DEBUG   : Received mqtt message on frigate/corridor_downstairs/detect/set.
[2021-11-07 14:21:29] frigate.mqtt                   DEBUG   : Received mqtt message on frigate/corridor_downstairs/detect/state.
[2021-11-07 14:21:33] frigate.mqtt                   DEBUG   : Publishing mqtt message from websockets at frigate/corridor_downstairs/recordings/set.
[2021-11-07 14:21:33] frigate.mqtt                   DEBUG   : on_recordings_toggle: frigate/corridor_downstairs/recordings/set ON
[2021-11-07 14:21:33] frigate.mqtt                   INFO    : Turning on recordings for corridor_downstairs via mqtt
[2021-11-07 14:21:33] frigate.mqtt                   DEBUG   : Received mqtt message on frigate/corridor_downstairs/recordings/set.
[2021-11-07 14:21:33] frigate.mqtt                   DEBUG   : Received mqtt message on frigate/corridor_downstairs/recordings/state.
[2021-11-07 14:21:34] frigate.record                 DEBUG   : Start expire recordings (new).
[2021-11-07 14:21:34] frigate.record                 DEBUG   : Start deleted cameras.
[2021-11-07 14:21:34] peewee                         DEBUG   : ('SELECT "t1"."id", "t1"."camera", "t1"."path", "t1"."start_time", "t1"."end_time", "t1"."duration" FROM "recordings" AS "t1" WHERE (("t1"."camera" NOT IN (?)) AND ("t1"."end_time" < ?))', ['corridor_downstairs', 1636291294.11358])
[2021-11-07 14:21:34] frigate.record                 DEBUG   : Expiring 0 recordings
[2021-11-07 14:21:34] peewee.sqliteq                 DEBUG   : received query DELETE FROM "recordings" WHERE (0 = 1)
[2021-11-07 14:21:34] peewee                         DEBUG   : ('DELETE FROM "recordings" WHERE (0 = 1)', [])
[2021-11-07 14:21:34] frigate.record                 DEBUG   : End deleted cameras.
[2021-11-07 14:21:34] frigate.record                 DEBUG   : Start all cameras.
[2021-11-07 14:21:34] frigate.record                 DEBUG   : Start camera: corridor_downstairs.
[2021-11-07 14:21:34] peewee                         DEBUG   : ('SELECT "t1"."id", "t1"."camera", "t1"."path", "t1"."start_time", "t1"."end_time", "t1"."duration" FROM "recordings" AS "t1" WHERE (("t1"."camera" = ?) AND ("t1"."end_time" < ?)) ORDER BY "t1"."start_time"', ['corridor_downstairs', 1636290994.125488])
[2021-11-07 14:21:34] peewee                         DEBUG   : ('SELECT "t1"."id", "t1"."label", "t1"."camera", "t1"."start_time", "t1"."end_time", "t1"."top_score", "t1"."false_positive", "t1"."zones", "t1"."thumbnail", "t1"."has_clip", "t1"."has_snapshot", "t1"."region", "t1"."box", "t1"."area" FROM "event" AS "t1" WHERE ((("t1"."camera" = ?) AND ("t1"."start_time" < ?)) AND "t1"."has_clip") ORDER BY "t1"."start_time"', ['corridor_downstairs', 1636290994.125488])
[2021-11-07 14:21:34] frigate.record                 DEBUG   : Expiring 0 recordings
[2021-11-07 14:21:34] peewee.sqliteq                 DEBUG   : received query DELETE FROM "recordings" WHERE (0 = 1)
[2021-11-07 14:21:34] peewee                         DEBUG   : ('DELETE FROM "recordings" WHERE (0 = 1)', [])
[2021-11-07 14:21:34] frigate.record                 DEBUG   : End camera: corridor_downstairs.
[2021-11-07 14:21:34] frigate.record                 DEBUG   : End all cameras.
[2021-11-07 14:21:34] frigate.record                 DEBUG   : End expire recordings (new).
[2021-11-07 14:21:34] frigate.record                 DEBUG   : Start expire files (legacy).
[2021-11-07 14:21:34] peewee                         DEBUG   : ('SELECT "t1"."id", "t1"."camera", "t1"."path", "t1"."start_time", "t1"."end_time", "t1"."duration" FROM "recordings" AS "t1" ORDER BY "t1"."start_time" LIMIT ? OFFSET ?', [1, 0])
[2021-11-07 14:21:34] frigate.record                 DEBUG   : Oldest recording in the db: 1635721069.345459
[2021-11-07 14:21:34] frigate.record                 DEBUG   : End expire files (legacy).
[2021-11-07 14:21:35] frigate.mqtt                   DEBUG   : Publishing mqtt message from websockets at frigate/corridor_downstairs/snapshots/set.
[2021-11-07 14:21:35] frigate.mqtt                   DEBUG   : on_snapshots_toggle: frigate/corridor_downstairs/snapshots/set ON
[2021-11-07 14:21:35] frigate.mqtt                   INFO    : Turning on snapshots for corridor_downstairs via mqtt
[2021-11-07 14:21:35] frigate.mqtt                   DEBUG   : Received mqtt message on frigate/corridor_downstairs/snapshots/set.
[2021-11-07 14:21:35] frigate.mqtt                   DEBUG   : Received mqtt message on frigate/corridor_downstairs/snapshots/state.
[2021-11-07 14:21:41] frigate.events                 DEBUG   : Event received: start corridor_downstairs 1636291301.4361-xnqc5g
[2021-11-07 14:21:41] frigate.mqtt                   DEBUG   : Received mqtt message on frigate/events.
[2021-11-07 14:21:41] frigate.mqtt                   DEBUG   : Received mqtt message on frigate/corridor_downstairs/person/snapshot.
[2021-11-07 14:21:41] frigate.mqtt                   DEBUG   : MQTT payload for frigate/corridor_downstairs/person/snapshot wasn't text. Skipping...
[2021-11-07 14:21:41] frigate.mqtt                   DEBUG   : Received mqtt message on frigate/corridor_downstairs/person.
[2021-11-07 14:21:41] frigate.events                 DEBUG   : Event received: start corridor_downstairs 1636291301.679693-bvxslb
[2021-11-07 14:21:41] frigate.mqtt                   DEBUG   : Received mqtt message on frigate/events.
[2021-11-07 14:21:41] frigate.mqtt                   DEBUG   : Received mqtt message on frigate/corridor_downstairs/person/snapshot.
[2021-11-07 14:21:41] frigate.mqtt                   DEBUG   : MQTT payload for frigate/corridor_downstairs/person/snapshot wasn't text. Skipping...
[2021-11-07 14:21:41] frigate.mqtt                   DEBUG   : Received mqtt message on frigate/corridor_downstairs/person.
[2021-11-07 14:21:44] frigate.mqtt                   DEBUG   : Received mqtt message on frigate/stats.
[2021-11-07 14:21:47] frigate.mqtt                   DEBUG   : Received mqtt message on frigate/events.
[2021-11-07 14:21:47] frigate.events                 DEBUG   : Event received: end corridor_downstairs 1636291301.4361-xnqc5g
[2021-11-07 14:21:47] peewee.sqliteq                 DEBUG   : received query INSERT INTO "event" ("id", "label", "camera", "start_time", "end_time", "top_score", "false_positive", "zones", "thumbnail", "has_clip", "has_snapshot", "region", "box", "area") VALUES (?, ?, ?, ?, ?, ?, ?, json(?), ?, ?, ?, json(?), json(?), ?)
[2021-11-07 14:21:47] peewee                         DEBUG   : ('INSERT INTO "event" ("id", "label", "camera", "start_time", "end_time", "top_score", "false_positive", "zones", "thumbnail", "has_clip", "has_snapshot", "region", "box", "area") VALUES (?, ?, ?, ?, ?, ?, ?, json(?), ?, ?, ?, json(?), json(?), ?)', ['1636291301.4361-xnqc5g', 'person', 'corridor_downstairs', 1636291296.4361, 1636291311.710399, 0.734375, False, '[]', '/9j/4AAQSkZJRgABAQAAAQABAAD/2wBDAAoHBwgHBgoICAgLCgoLDhgQDg0NDh0VFhEYIx8lJCIfIiEmKzcvJik0KSEiMEExNDk7Pj4+JS5ESUM8SDc9Pjv/2wBDAQoLCw4NDhwQEBw7KCIoOzs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozv/wAARCACvAK8DASIAAhEBAxEB/8QAHwAAAQUBAQEBAQEAAAAAAAAAAAECAwQFBgcICQoL/8QAtRAAAgEDAwIEAwUFBAQAAAF9AQIDAAQRBRIhMUEGE1FhByJxFDKBkaEII0KxwRVS0fAkM2JyggkKFhcYGRolJicoKSo0NTY3ODk6Q0RFRkdISUpTVFVWV1hZWmNkZWZnaGlqc3R1dnd4eXqDhIWGh4iJipKTlJWWl5iZmqKjpKWmp6ipqrKztLW2t7i5usLDxMXGx8jJytLT1NXW19jZ2uHi4+Tl5ufo6erx8vP09fb3+Pn6/8QAHwEAAwEBAQEBAQEBAQAAAAAAAAECAwQFBgcICQoL/8QAtREAAgECBAQDBAcFBAQAAQJ3AAECAxEEBSExBhJBUQdhcRMiMo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jp7cY/OvSNcsnsdOvLywk8oGNjNAwzGwIwWA7EdeOuK8gu9UUvJaSwkgEjfG+1vr0wfxrnq1OVWXU6KMFN3fQYHsNPizbRIHPVjyfzqKyhOr3OZiwto/vkdX/2RUL6cL1GksLjzFjP71ZF2tGPX0P4VpLLHYWaxwr04QHufU1yruzra6I15NShiZYVGOOi8BB2/wD1UjzpLE0Tr8jDDc9PcVl2OmajcKbp0UknCu7Doe/H6Vrppag/vLgMQMHYCP5iolU5WVyXRyeoW9wl2tots07SfcZM5YfTpXQ6Joi6ZGbi5y9y4wcj7g9B7+9bVvBGiqkQByMBu5FMlUcMeOcjHasauIclyoulRjB3KMyQvOkj88Hac9DxXX/D21xJe3S/6vCxg+p5J/mPzrkLllj2nbnJ28f5/wA5rf8ABOqTCW407LKADNGQenIBH6g/nRhf4iNK/wDCdj0VkVhhgCPcVnaxY28mmTkjbsQsNp7ioDLMT/rpP++jUUhkkUq8jsp6gscGvYV11PJaT3PNrvWUilZXiYgHqp/oaqnWbGQ8ymM+jqf6V3d74f0u7BMtomT/ABLwa5u98A20jE207J7NzWbcrlKED//Z', True, True, '[215, 1, 759, 545]', '[459, 30, 526, 226]', 13132])
[2021-11-07 14:21:47] frigate.mqtt                   DEBUG   : Received mqtt message on frigate/events.
[2021-11-07 14:21:47] frigate.mqtt                   DEBUG   : Received mqtt message on frigate/corridor_downstairs/person.
[2021-11-07 14:21:50] peewee                         DEBUG   : ('SELECT "t1"."id", "t1"."label", "t1"."camera", "t1"."start_time", "t1"."end_time", "t1"."top_score", "t1"."false_positive", "t1"."zones", "t1"."thumbnail", "t1"."has_clip", "t1"."has_snapshot", "t1"."region", "t1"."box", "t1"."area" FROM "event" AS "t1" WHERE ? ORDER BY "t1"."start_time" DESC LIMIT ?', [True, '25'])
[2021-11-07 14:21:50] peewee                         DEBUG   : ('SELECT "t1"."id", "t1"."label", "t1"."camera", "t1"."start_time", "t1"."end_time", "t1"."top_score", "t1"."false_positive", "t1"."zones", "t1"."thumbnail", "t1"."has_clip", "t1"."has_snapshot", "t1"."region", "t1"."box", "t1"."area" FROM "event" AS "t1" WHERE ("t1"."id" = ?) LIMIT ? OFFSET ?', ['1636291301.4361-xnqc5g', 1, 0])
[2021-11-07 14:21:50] peewee                         DEBUG   : ('SELECT "t1"."id", "t1"."label", "t1"."camera", "t1"."start_time", "t1"."end_time", "t1"."top_score", "t1"."false_positive", "t1"."zones", "t1"."thumbnail", "t1"."has_clip", "t1"."has_snapshot", "t1"."region", "t1"."box", "t1"."area" FROM "event" AS "t1" WHERE ("t1"."id" = ?) LIMIT ? OFFSET ?', ['1636174771.155678-uj5umb', 1, 0])
[2021-11-07 14:21:50] peewee                         DEBUG   : ('SELECT "t1"."id", "t1"."label", "t1"."camera", "t1"."start_time", "t1"."end_time", "t1"."top_score", "t1"."false_positive", "t1"."zones", "t1"."thumbnail", "t1"."has_clip", "t1"."has_snapshot", "t1"."region", "t1"."box", "t1"."area" FROM "event" AS "t1" WHERE ("t1"."id" = ?) LIMIT ? OFFSET ?', ['1636174714.994324-nxyoij', 1, 0])
[2021-11-07 14:21:50] peewee                         DEBUG   : ('SELECT "t1"."id", "t1"."label", "t1"."camera", "t1"."start_time", "t1"."end_time", "t1"."top_score", "t1"."false_positive", "t1"."zones", "t1"."thumbnail", "t1"."has_clip", "t1"."has_snapshot", "t1"."region", "t1"."box", "t1"."area" FROM "event" AS "t1" WHERE ("t1"."id" = ?) LIMIT ? OFFSET ?', ['1636173966.667303-eiiapi', 1, 0])
[2021-11-07 14:21:50] peewee                         DEBUG   : ('SELECT "t1"."id", "t1"."label", "t1"."camera", "t1"."start_time", "t1"."end_time", "t1"."top_score", "t1"."false_positive", "t1"."zones", "t1"."thumbnail", "t1"."has_clip", "t1"."has_snapshot", "t1"."region", "t1"."box", "t1"."area" FROM "event" AS "t1" WHERE ("t1"."id" = ?) LIMIT ? OFFSET ?', ['1636175062.254683-mrnxpa', 1, 0])
[2021-11-07 14:21:50] peewee                         DEBUG   : ('SELECT "t1"."id", "t1"."label", "t1"."camera", "t1"."start_time", "t1"."end_time", "t1"."top_score", "t1"."false_positive", "t1"."zones", "t1"."thumbnail", "t1"."has_clip", "t1"."has_snapshot", "t1"."region", "t1"."box", "t1"."area" FROM "event" AS "t1" WHERE ("t1"."id" = ?) LIMIT ? OFFSET ?', ['1636175034.467727-jp8hd1', 1, 0])
[2021-11-07 14:21:50] peewee                         DEBUG   : ('SELECT "t1"."id", "t1"."label", "t1"."camera", "t1"."start_time", "t1"."end_time", "t1"."top_score", "t1"."false_positive", "t1"."zones", "t1"."thumbnail", "t1"."has_clip", "t1"."has_snapshot", "t1"."region", "t1"."box", "t1"."area" FROM "event" AS "t1" WHERE ("t1"."id" = ?) LIMIT ? OFFSET ?', ['1636174684.808782-raaaij', 1, 0])
[2021-11-07 14:21:50] peewee                         DEBUG   : ('SELECT "t1"."id", "t1"."label", "t1"."camera", "t1"."start_time", "t1"."end_time", "t1"."top_score", "t1"."false_positive", "t1"."zones", "t1"."thumbnail", "t1"."has_clip", "t1"."has_snapshot", "t1"."region", "t1"."box", "t1"."area" FROM "event" AS "t1" WHERE ("t1"."id" = ?) LIMIT ? OFFSET ?', ['1636174339.725231-9uwmmt', 1, 0])
[2021-11-07 14:21:50] peewee                         DEBUG   : ('SELECT "t1"."id", "t1"."label", "t1"."camera", "t1"."start_time", "t1"."end_time", "t1"."top_score", "t1"."false_positive", "t1"."zones", "t1"."thumbnail", "t1"."has_clip", "t1"."has_snapshot", "t1"."region", "t1"."box", "t1"."area" FROM "event" AS "t1" WHERE ("t1"."id" = ?) LIMIT ? OFFSET ?', ['1636175025.651075-sf9ar0', 1, 0])
[2021-11-07 14:21:50] peewee                         DEBUG   : ('SELECT "t1"."id", "t1"."label", "t1"."camera", "t1"."start_time", "t1"."end_time", "t1"."top_score", "t1"."false_positive", "t1"."zones", "t1"."thumbnail", "t1"."has_clip", "t1"."has_snapshot", "t1"."region", "t1"."box", "t1"."area" FROM "event" AS "t1" WHERE ("t1"."id" = ?) LIMIT ? OFFSET ?', ['1636173957.464033-1ekrzx', 1, 0])
[2021-11-07 14:21:50] peewee                         DEBUG   : ('SELECT "t1"."id", "t1"."label", "t1"."camera", "t1"."start_time", "t1"."end_time", "t1"."top_score", "t1"."false_positive", "t1"."zones", "t1"."thumbnail", "t1"."has_clip", "t1"."has_snapshot", "t1"."region", "t1"."box", "t1"."area" FROM "event" AS "t1" WHERE ("t1"."id" = ?) LIMIT ? OFFSET ?', ['1636174610.993538-f2s3nw', 1, 0])
[2021-11-07 14:21:50] peewee                         DEBUG   : ('SELECT "t1"."id", "t1"."label", "t1"."camera", "t1"."start_time", "t1"."end_time", "t1"."top_score", "t1"."false_positive", "t1"."zones", "t1"."thumbnail", "t1"."has_clip", "t1"."has_snapshot", "t1"."region", "t1"."box", "t1"."area" FROM "event" AS "t1" WHERE ("t1"."id" = ?) LIMIT ? OFFSET ?', ['1636175086.208521-sbo8sf', 1, 0])
[2021-11-07 14:21:50] peewee                         DEBUG   : ('SELECT "t1"."id", "t1"."label", "t1"."camera", "t1"."start_time", "t1"."end_time", "t1"."top_score", "t1"."false_positive", "t1"."zones", "t1"."thumbnail", "t1"."has_clip", "t1"."has_snapshot", "t1"."region", "t1"."box", "t1"."area" FROM "event" AS "t1" WHERE ("t1"."id" = ?) LIMIT ? OFFSET ?', ['1636173957.683155-pa7e7s', 1, 0])
[2021-11-07 14:21:50] peewee                         DEBUG   : ('SELECT "t1"."id", "t1"."label", "t1"."camera", "t1"."start_time", "t1"."end_time", "t1"."top_score", "t1"."false_positive", "t1"."zones", "t1"."thumbnail", "t1"."has_clip", "t1"."has_snapshot", "t1"."region", "t1"."box", "t1"."area" FROM "event" AS "t1" WHERE ("t1"."id" = ?) LIMIT ? OFFSET ?', ['1636174402.168913-0xgf56', 1, 0])
[2021-11-07 14:21:50] peewee                         DEBUG   : ('SELECT "t1"."id", "t1"."label", "t1"."camera", "t1"."start_time", "t1"."end_time", "t1"."top_score", "t1"."false_positive", "t1"."zones", "t1"."thumbnail", "t1"."has_clip", "t1"."has_snapshot", "t1"."region", "t1"."box", "t1"."area" FROM "event" AS "t1" WHERE ("t1"."id" = ?) LIMIT ? OFFSET ?', ['1636173916.055801-xxnv1p', 1, 0])
[2021-11-07 14:21:50] peewee                         DEBUG   : ('SELECT "t1"."id", "t1"."label", "t1"."camera", "t1"."start_time", "t1"."end_time", "t1"."top_score", "t1"."false_positive", "t1"."zones", "t1"."thumbnail", "t1"."has_clip", "t1"."has_snapshot", "t1"."region", "t1"."box", "t1"."area" FROM "event" AS "t1" WHERE ("t1"."id" = ?) LIMIT ? OFFSET ?', ['1636173872.677003-rwm57f', 1, 0])
[2021-11-07 14:21:50] peewee                         DEBUG   : ('SELECT "t1"."id", "t1"."label", "t1"."camera", "t1"."start_time", "t1"."end_time", "t1"."top_score", "t1"."false_positive", "t1"."zones", "t1"."thumbnail", "t1"."has_clip", "t1"."has_snapshot", "t1"."region", "t1"."box", "t1"."area" FROM "event" AS "t1" WHERE ("t1"."id" = ?) LIMIT ? OFFSET ?', ['1636173621.632022-t6ugba', 1, 0])
[2021-11-07 14:21:50] peewee                         DEBUG   : ('SELECT "t1"."id", "t1"."label", "t1"."camera", "t1"."start_time", "t1"."end_time", "t1"."top_score", "t1"."false_positive", "t1"."zones", "t1"."thumbnail", "t1"."has_clip", "t1"."has_snapshot", "t1"."region", "t1"."box", "t1"."area" FROM "event" AS "t1" WHERE ("t1"."id" = ?) LIMIT ? OFFSET ?', ['1636173397.112908-ctfogj', 1, 0])
[2021-11-07 14:21:50] peewee                         DEBUG   : ('SELECT "t1"."id", "t1"."label", "t1"."camera", "t1"."start_time", "t1"."end_time", "t1"."top_score", "t1"."false_positive", "t1"."zones", "t1"."thumbnail", "t1"."has_clip", "t1"."has_snapshot", "t1"."region", "t1"."box", "t1"."area" FROM "event" AS "t1" WHERE ("t1"."id" = ?) LIMIT ? OFFSET ?', ['1636149877.238987-1loma9', 1, 0])
[2021-11-07 14:21:50] peewee                         DEBUG   : ('SELECT "t1"."id", "t1"."label", "t1"."camera", "t1"."start_time", "t1"."end_time", "t1"."top_score", "t1"."false_positive", "t1"."zones", "t1"."thumbnail", "t1"."has_clip", "t1"."has_snapshot", "t1"."region", "t1"."box", "t1"."area" FROM "event" AS "t1" WHERE ("t1"."id" = ?) LIMIT ? OFFSET ?', ['1636172790.272215-901sp4', 1, 0])
[2021-11-07 14:21:50] peewee                         DEBUG   : ('SELECT "t1"."id", "t1"."label", "t1"."camera", "t1"."start_time", "t1"."end_time", "t1"."top_score", "t1"."false_positive", "t1"."zones", "t1"."thumbnail", "t1"."has_clip", "t1"."has_snapshot", "t1"."region", "t1"."box", "t1"."area" FROM "event" AS "t1" WHERE ("t1"."id" = ?) LIMIT ? OFFSET ?', ['1636070549.434465-7q8fcu', 1, 0])
[2021-11-07 14:21:50] peewee                         DEBUG   : ('SELECT "t1"."id", "t1"."label", "t1"."camera", "t1"."start_time", "t1"."end_time", "t1"."top_score", "t1"."false_positive", "t1"."zones", "t1"."thumbnail", "t1"."has_clip", "t1"."has_snapshot", "t1"."region", "t1"."box", "t1"."area" FROM "event" AS "t1" WHERE ("t1"."id" = ?) LIMIT ? OFFSET ?', ['1636075753.575614-oqgg2t', 1, 0])
[2021-11-07 14:21:50] peewee                         DEBUG   : ('SELECT "t1"."id", "t1"."label", "t1"."camera", "t1"."start_time", "t1"."end_time", "t1"."top_score", "t1"."false_positive", "t1"."zones", "t1"."thumbnail", "t1"."has_clip", "t1"."has_snapshot", "t1"."region", "t1"."box", "t1"."area" FROM "event" AS "t1" WHERE ("t1"."id" = ?) LIMIT ? OFFSET ?', ['1636149300.962908-9xjndf', 1, 0])
[2021-11-07 14:21:50] peewee                         DEBUG   : ('SELECT "t1"."id", "t1"."label", "t1"."camera", "t1"."start_time", "t1"."end_time", "t1"."top_score", "t1"."false_positive", "t1"."zones", "t1"."thumbnail", "t1"."has_clip", "t1"."has_snapshot", "t1"."region", "t1"."box", "t1"."area" FROM "event" AS "t1" WHERE ("t1"."id" = ?) LIMIT ? OFFSET ?', ['1636149890.068059-rrzcc5', 1, 0])
[2021-11-07 14:21:50] peewee                         DEBUG   : ('SELECT "t1"."id", "t1"."label", "t1"."camera", "t1"."start_time", "t1"."end_time", "t1"."top_score", "t1"."false_positive", "t1"."zones", "t1"."thumbnail", "t1"."has_clip", "t1"."has_snapshot", "t1"."region", "t1"."box", "t1"."area" FROM "event" AS "t1" WHERE ("t1"."id" = ?) LIMIT ? OFFSET ?', ['1636075750.052352-p0jyz8', 1, 0])
[2021-11-07 14:21:51] frigate.mqtt                   DEBUG   : Received mqtt message on frigate/events.
[2021-11-07 14:21:51] frigate.events                 DEBUG   : Event received: end corridor_downstairs 1636291301.679693-bvxslb
[2021-11-07 14:21:51] peewee.sqliteq                 DEBUG   : received query INSERT INTO "event" ("id", "label", "camera", "start_time", "end_time", "top_score", "false_positive", "zones", "thumbnail", "has_clip", "has_snapshot", "region", "box", "area") VALUES (?, ?, ?, ?, ?, ?, ?, json(?), ?, ?, ?, json(?), json(?), ?)
[2021-11-07 14:21:51] peewee                         DEBUG   : ('INSERT INTO "event" ("id", "label", "camera", "start_time", "end_time", "top_score", "false_positive", "zones", "thumbnail", "has_clip", "has_snapshot", "region", "box", "area") VALUES (?, ?, ?, ?, ?, ?, ?, json(?), ?, ?, ?, json(?), json(?), ?)', ['1636291301.679693-bvxslb', 'person', 'corridor_downstairs', 1636291296.679693, 1636291316.079251, 0.833984375, False, '[]', '/9j/4AAQSkZJRgABAQAAAQABAAD/2wBDAAoHBwgHBgoICAgLCgoLDhgQDg0NDh0VFhEYIx8lJCIfIiEmKzcvJik0KSEiMEExNDk7Pj4+JS5ESUM8SDc9Pjv/2wBDAQoLCw4NDhwQEBw7KCIoOzs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozv/wAARCACvAK8DASIAAhEBAxEB/8QAHwAAAQUBAQEBAQEAAAAAAAAAAAECAwQFBgcICQ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BcmIBQ7KxdlULjGDuJwQdw5Ht6isXFmykuhsaDMZ1EhGOo/Gn61cTo0UcTlVcHdg4pmk2s2nubeYENuLDIwcEelR6ufNljCnJXOf0rzJLlrnpwvKiXdU1e0nnQ2UJRUiRCW7sFAJAqjbI93IWOSoPJPc1TCbRz1rU044gKjs3NbyqOT1MVTUFoWkhVPvc+3arKvgYA/CoV5qRwUiG3h26ewqHIVjzpxnkU2pB6U1l7iu05BYlZpAqck9qneJ4mxIpU+4qsCQcjgirVxqE91BHFIRiMk5HVj6mk7jL2l6i1pII5DmFj/3z716F4WufK1WLn5ZQUz9eR+oFeUpL2NdJ4e1x7a4ghk52sPLcdQc8A1DVpKSLTvFxZ7BqX79RbKev3j7d/8APvUMFpFCAAoAFQWVzJJbrM8Mjsyj5gV6fiaivtYitYmLhlbHAI6nsOK7209TgUWtCe9vIoVIUAleBx3/AM/1rg9f0uW8ukniGWxg4FdGlzbSkBp9x9dp5P5etXIorcjcp3H6Vm22aJJGdp8DaRo6QKP3jDc3rk1inw8+qT+e4fdIc5z1Hb9K6O53SEgjAJCj2z3q/bBY0zjpSbcnuUlymNaeHreyjWFFPXLHJ5NVPGGhm8tomhyvlAsTy3b61vyTfOTUN9L5lqF9SFx6jPP6ZpPYaWtzz/8AsfWbcjbe3CbQoG124x079u1VzYanbhtt9PHvYs2GYbiepPPWu5kYDtVC4XzcggYrByt1NkjkE+227ZknaUdPmJJH0NTBsjdgkDvWpe2RCfLg5ZePxFQRweWDjisnGM3qbRnKC0KqKrcj9as27+Q+cZU9RUE5KNwoFRrcEDkcZrCVOS2OiNSMlqb1q0c8irkqOpzVryfNkLkdegz0FQ6XbMybnA4PFbMMArByCSSeh//Z', True, True, '[203, 1, 747, 545]', '[482, 38, 541, 258]', 12980])
[2021-11-07 14:21:51] frigate.mqtt                   DEBUG   : Received mqtt message on frigate/corridor_downstairs/person.
[2021-11-07 14:21:51] frigate.mqtt                   DEBUG   : Received mqtt message on frigate/corridor_downstairs/person/snapshot.
[2021-11-07 14:21:51] frigate.mqtt                   DEBUG   : MQTT payload for frigate/corridor_downstairs/person/snapshot wasn't text. Skipping...
[2021-11-07 14:21:52] peewee                         DEBUG   : ('SELECT "t1"."id", "t1"."label", "t1"."camera", "t1"."start_time", "t1"."end_time", "t1"."top_score", "t1"."false_positive", "t1"."zones", "t1"."thumbnail", "t1"."has_clip", "t1"."has_snapshot", "t1"."region", "t1"."box", "t1"."area" FROM "event" AS "t1" WHERE ("t1"."id" = ?) LIMIT ? OFFSET ?', ['1636291301.4361-xnqc5g', 1, 0])
[2021-11-07 14:21:53] peewee                         DEBUG   : ('SELECT "t1"."id", "t1"."label", "t1"."camera", "t1"."start_time", "t1"."end_time", "t1"."top_score", "t1"."false_positive", "t1"."zones", "t1"."thumbnail", "t1"."has_clip", "t1"."has_snapshot", "t1"."region", "t1"."box", "t1"."area" FROM "event" AS "t1" WHERE ("t1"."id" = ?) LIMIT ? OFFSET ?', ['1636291301.4361-xnqc5g', 1, 0])
[2021-11-07 14:21:53] peewee                         DEBUG   : ('SELECT "t1"."id", "t1"."camera", "t1"."path", "t1"."start_time", "t1"."end_time", "t1"."duration" FROM "recordings" AS "t1" WHERE (((("t1"."start_time" BETWEEN ? AND ?) OR ("t1"."end_time" BETWEEN ? AND ?)) OR (("t1"."start_time" < ?) AND ("t1"."end_time" > ?))) AND ("t1"."camera" = ?)) ORDER BY "t1"."start_time" ASC', [1636291296.4361, 1636291311.710399, 1636291296.4361, 1636291311.710399, 1636291296.4361, 1636291311.710399, 'corridor_downstairs'])
[2021-11-07 14:21:57] peewee                         DEBUG   : ('SELECT "t1"."id", "t1"."label", "t1"."camera", "t1"."start_time", "t1"."end_time", "t1"."top_score", "t1"."false_positive", "t1"."zones", "t1"."thumbnail", "t1"."has_clip", "t1"."has_snapshot", "t1"."region", "t1"."box", "t1"."area" FROM "event" AS "t1" WHERE ("t1"."id" = ?) LIMIT ? OFFSET ?', ['1636291301.4361-xnqc5g', 1, 0])
[2021-11-07 14:21:58] peewee                         DEBUG   : ('SELECT "t1"."id", "t1"."label", "t1"."camera", "t1"."start_time", "t1"."end_time", "t1"."top_score", "t1"."false_positive", "t1"."zones", "t1"."thumbnail", "t1"."has_clip", "t1"."has_snapshot", "t1"."region", "t1"."box", "t1"."area" FROM "event" AS "t1" WHERE ("t1"."id" = ?) LIMIT ? OFFSET ?', ['1636172790.272215-901sp4', 1, 0])
[2021-11-07 14:21:58] peewee                         DEBUG   : ('SELECT "t1"."id", "t1"."label", "t1"."camera", "t1"."start_time", "t1"."end_time", "t1"."top_score", "t1"."false_positive", "t1"."zones", "t1"."thumbnail", "t1"."has_clip", "t1"."has_snapshot", "t1"."region", "t1"."box", "t1"."area" FROM "event" AS "t1" WHERE ("t1"."id" = ?) LIMIT ? OFFSET ?', ['1636175086.208521-sbo8sf', 1, 0])
[2021-11-07 14:21:58] peewee                         DEBUG   : ('SELECT "t1"."id", "t1"."label", "t1"."camera", "t1"."start_time", "t1"."end_time", "t1"."top_score", "t1"."false_positive", "t1"."zones", "t1"."thumbnail", "t1"."has_clip", "t1"."has_snapshot", "t1"."region", "t1"."box", "t1"."area" FROM "event" AS "t1" WHERE ("t1"."id" = ?) LIMIT ? OFFSET ?', ['1636175062.254683-mrnxpa', 1, 0])
[2021-11-07 14:21:58] peewee                         DEBUG   : ('SELECT "t1"."id", "t1"."label", "t1"."camera", "t1"."start_time", "t1"."end_time", "t1"."top_score", "t1"."false_positive", "t1"."zones", "t1"."thumbnail", "t1"."has_clip", "t1"."has_snapshot", "t1"."region", "t1"."box", "t1"."area" FROM "event" AS "t1" WHERE ("t1"."id" = ?) LIMIT ? OFFSET ?', ['1636175034.467727-jp8hd1', 1, 0])
[2021-11-07 14:21:58] peewee                         DEBUG   : ('SELECT "t1"."id", "t1"."label", "t1"."camera", "t1"."start_time", "t1"."end_time", "t1"."top_score", "t1"."false_positive", "t1"."zones", "t1"."thumbnail", "t1"."has_clip", "t1"."has_snapshot", "t1"."region", "t1"."box", "t1"."area" FROM "event" AS "t1" WHERE ("t1"."id" = ?) LIMIT ? OFFSET ?', ['1636175025.651075-sf9ar0', 1, 0])
[2021-11-07 14:21:58] peewee                         DEBUG   : ('SELECT "t1"."id", "t1"."label", "t1"."camera", "t1"."start_time", "t1"."end_time", "t1"."top_score", "t1"."false_positive", "t1"."zones", "t1"."thumbnail", "t1"."has_clip", "t1"."has_snapshot", "t1"."region", "t1"."box", "t1"."area" FROM "event" AS "t1" WHERE ("t1"."id" = ?) LIMIT ? OFFSET ?', ['1636174771.155678-uj5umb', 1, 0])
[2021-11-07 14:21:58] peewee                         DEBUG   : ('SELECT "t1"."id", "t1"."label", "t1"."camera", "t1"."start_time", "t1"."end_time", "t1"."top_score", "t1"."false_positive", "t1"."zones", "t1"."thumbnail", "t1"."has_clip", "t1"."has_snapshot", "t1"."region", "t1"."box", "t1"."area" FROM "event" AS "t1" WHERE ("t1"."id" = ?) LIMIT ? OFFSET ?', ['1636174714.994324-nxyoij', 1, 0])
[2021-11-07 14:21:58] peewee                         DEBUG   : ('SELECT "t1"."id", "t1"."label", "t1"."camera", "t1"."start_time", "t1"."end_time", "t1"."top_score", "t1"."false_positive", "t1"."zones", "t1"."thumbnail", "t1"."has_clip", "t1"."has_snapshot", "t1"."region", "t1"."box", "t1"."area" FROM "event" AS "t1" WHERE ("t1"."id" = ?) LIMIT ? OFFSET ?', ['1636174684.808782-raaaij', 1, 0])
[2021-11-07 14:21:58] peewee                         DEBUG   : ('SELECT "t1"."id", "t1"."label", "t1"."camera", "t1"."start_time", "t1"."end_time", "t1"."top_score", "t1"."false_positive", "t1"."zones", "t1"."thumbnail", "t1"."has_clip", "t1"."has_snapshot", "t1"."region", "t1"."box", "t1"."area" FROM "event" AS "t1" WHERE ("t1"."id" = ?) LIMIT ? OFFSET ?', ['1636174610.993538-f2s3nw', 1, 0])
[2021-11-07 14:21:58] peewee                         DEBUG   : ('SELECT "t1"."id", "t1"."label", "t1"."camera", "t1"."start_time", "t1"."end_time", "t1"."top_score", "t1"."false_positive", "t1"."zones", "t1"."thumbnail", "t1"."has_clip", "t1"."has_snapshot", "t1"."region", "t1"."box", "t1"."area" FROM "event" AS "t1" WHERE ("t1"."id" = ?) LIMIT ? OFFSET ?', ['1636174402.168913-0xgf56', 1, 0])
[2021-11-07 14:21:58] peewee                         DEBUG   : ('SELECT "t1"."id", "t1"."label", "t1"."camera", "t1"."start_time", "t1"."end_time", "t1"."top_score", "t1"."false_positive", "t1"."zones", "t1"."thumbnail", "t1"."has_clip", "t1"."has_snapshot", "t1"."region", "t1"."box", "t1"."area" FROM "event" AS "t1" WHERE ("t1"."id" = ?) LIMIT ? OFFSET ?', ['1636174339.725231-9uwmmt', 1, 0])
[2021-11-07 14:21:58] peewee                         DEBUG   : ('SELECT "t1"."id", "t1"."label", "t1"."camera", "t1"."start_time", "t1"."end_time", "t1"."top_score", "t1"."false_positive", "t1"."zones", "t1"."thumbnail", "t1"."has_clip", "t1"."has_snapshot", "t1"."region", "t1"."box", "t1"."area" FROM "event" AS "t1" WHERE ("t1"."id" = ?) LIMIT ? OFFSET ?', ['1636173966.667303-eiiapi', 1, 0])
[2021-11-07 14:21:58] peewee                         DEBUG   : ('SELECT "t1"."id", "t1"."label", "t1"."camera", "t1"."start_time", "t1"."end_time", "t1"."top_score", "t1"."false_positive", "t1"."zones", "t1"."thumbnail", "t1"."has_clip", "t1"."has_snapshot", "t1"."region", "t1"."box", "t1"."area" FROM "event" AS "t1" WHERE ("t1"."id" = ?) LIMIT ? OFFSET ?', ['1636173957.683155-pa7e7s', 1, 0])
[2021-11-07 14:21:58] peewee                         DEBUG   : ('SELECT "t1"."id", "t1"."label", "t1"."camera", "t1"."start_time", "t1"."end_time", "t1"."top_score", "t1"."false_positive", "t1"."zones", "t1"."thumbnail", "t1"."has_clip", "t1"."has_snapshot", "t1"."region", "t1"."box", "t1"."area" FROM "event" AS "t1" WHERE ("t1"."id" = ?) LIMIT ? OFFSET ?', ['1636173957.464033-1ekrzx', 1, 0])
[2021-11-07 14:21:58] peewee                         DEBUG   : ('SELECT "t1"."id", "t1"."label", "t1"."camera", "t1"."start_time", "t1"."end_time", "t1"."top_score", "t1"."false_positive", "t1"."zones", "t1"."thumbnail", "t1"."has_clip", "t1"."has_snapshot", "t1"."region", "t1"."box", "t1"."area" FROM "event" AS "t1" WHERE ("t1"."id" = ?) LIMIT ? OFFSET ?', ['1636173916.055801-xxnv1p', 1, 0])
[2021-11-07 14:21:58] peewee                         DEBUG   : ('SELECT "t1"."id", "t1"."label", "t1"."camera", "t1"."start_time", "t1"."end_time", "t1"."top_score", "t1"."false_positive", "t1"."zones", "t1"."thumbnail", "t1"."has_clip", "t1"."has_snapshot", "t1"."region", "t1"."box", "t1"."area" FROM "event" AS "t1" WHERE ("t1"."id" = ?) LIMIT ? OFFSET ?', ['1636173872.677003-rwm57f', 1, 0])
[2021-11-07 14:21:58] peewee                         DEBUG   : ('SELECT "t1"."id", "t1"."label", "t1"."camera", "t1"."start_time", "t1"."end_time", "t1"."top_score", "t1"."false_positive", "t1"."zones", "t1"."thumbnail", "t1"."has_clip", "t1"."has_snapshot", "t1"."region", "t1"."box", "t1"."area" FROM "event" AS "t1" WHERE ("t1"."id" = ?) LIMIT ? OFFSET ?', ['1636173621.632022-t6ugba', 1, 0])
[2021-11-07 14:21:58] peewee                         DEBUG   : ('SELECT "t1"."id", "t1"."label", "t1"."camera", "t1"."start_time", "t1"."end_time", "t1"."top_score", "t1"."false_positive", "t1"."zones", "t1"."thumbnail", "t1"."has_clip", "t1"."has_snapshot", "t1"."region", "t1"."box", "t1"."area" FROM "event" AS "t1" WHERE ("t1"."id" = ?) LIMIT ? OFFSET ?', ['1636173397.112908-ctfogj', 1, 0])
[2021-11-07 14:21:58] peewee                         DEBUG   : ('SELECT "t1"."id", "t1"."label", "t1"."camera", "t1"."start_time", "t1"."end_time", "t1"."top_score", "t1"."false_positive", "t1"."zones", "t1"."thumbnail", "t1"."has_clip", "t1"."has_snapshot", "t1"."region", "t1"."box", "t1"."area" FROM "event" AS "t1" WHERE ("t1"."id" = ?) LIMIT ? OFFSET ?', ['1636149890.068059-rrzcc5', 1, 0])
[2021-11-07 14:21:58] peewee                         DEBUG   : ('SELECT "t1"."id", "t1"."label", "t1"."camera", "t1"."start_time", "t1"."end_time", "t1"."top_score", "t1"."false_positive", "t1"."zones", "t1"."thumbnail", "t1"."has_clip", "t1"."has_snapshot", "t1"."region", "t1"."box", "t1"."area" FROM "event" AS "t1" WHERE ("t1"."id" = ?) LIMIT ? OFFSET ?', ['1636149300.962908-9xjndf', 1, 0])
[2021-11-07 14:21:58] peewee                         DEBUG   : ('SELECT "t1"."id", "t1"."label", "t1"."camera", "t1"."start_time", "t1"."end_time", "t1"."top_score", "t1"."false_positive", "t1"."zones", "t1"."thumbnail", "t1"."has_clip", "t1"."has_snapshot", "t1"."region", "t1"."box", "t1"."area" FROM "event" AS "t1" WHERE ("t1"."id" = ?) LIMIT ? OFFSET ?', ['1636070549.434465-7q8fcu', 1, 0])
[2021-11-07 14:21:58] peewee                         DEBUG   : ('SELECT "t1"."id", "t1"."label", "t1"."camera", "t1"."start_time", "t1"."end_time", "t1"."top_score", "t1"."false_positive", "t1"."zones", "t1"."thumbnail", "t1"."has_clip", "t1"."has_snapshot", "t1"."region", "t1"."box", "t1"."area" FROM "event" AS "t1" WHERE ("t1"."id" = ?) LIMIT ? OFFSET ?', ['1636149877.238987-1loma9', 1, 0])
[2021-11-07 14:21:58] peewee                         DEBUG   : ('SELECT "t1"."id", "t1"."label", "t1"."camera", "t1"."start_time", "t1"."end_time", "t1"."top_score", "t1"."false_positive", "t1"."zones", "t1"."thumbnail", "t1"."has_clip", "t1"."has_snapshot", "t1"."region", "t1"."box", "t1"."area" FROM "event" AS "t1" WHERE ("t1"."id" = ?) LIMIT ? OFFSET ?', ['1636075753.575614-oqgg2t', 1, 0])
[2021-11-07 14:21:58] peewee                         DEBUG   : ('SELECT "t1"."id", "t1"."label", "t1"."camera", "t1"."start_time", "t1"."end_time", "t1"."top_score", "t1"."false_positive", "t1"."zones", "t1"."thumbnail", "t1"."has_clip", "t1"."has_snapshot", "t1"."region", "t1"."box", "t1"."area" FROM "event" AS "t1" WHERE ("t1"."id" = ?) LIMIT ? OFFSET ?', ['1636075750.052352-p0jyz8', 1, 0])
[2021-11-07 14:22:00] peewee                         DEBUG   : ('SELECT "t1"."id", "t1"."label", "t1"."camera", "t1"."start_time", "t1"."end_time", "t1"."top_score", "t1"."false_positive", "t1"."zones", "t1"."thumbnail", "t1"."has_clip", "t1"."has_snapshot", "t1"."region", "t1"."box", "t1"."area" FROM "event" AS "t1" WHERE ("t1"."id" = ?) LIMIT ? OFFSET ?', ['1636291301.4361-xnqc5g', 1, 0])
[2021-11-07 14:22:00] peewee                         DEBUG   : ('SELECT "t1"."id", "t1"."camera", "t1"."path", "t1"."start_time", "t1"."end_time", "t1"."duration" FROM "recordings" AS "t1" WHERE (((("t1"."start_time" BETWEEN ? AND ?) OR ("t1"."end_time" BETWEEN ? AND ?)) OR (("t1"."start_time" < ?) AND ("t1"."end_time" > ?))) AND ("t1"."camera" = ?)) ORDER BY "t1"."start_time" ASC', [1636291296.4361, 1636291311.710399, 1636291296.4361, 1636291311.710399, 1636291296.4361, 1636291311.710399, 'corridor_downstairs'])
euro2 commented 3 years ago

Looks very similair to my problem.

https://github.com/blakeblackshear/frigate/issues/2163

It happened again some days ago. No small mp4 files are produced. Just 1 cam called voortuin_cam, seems to keep working all the time. 1 of 3 wyze v3 cams.

EDIT: As you can see in my yaml i have frigate5 as prefix and id. Now when i change both to a new one, e.g frigate6, and restart frigate recording starts working again. So SOMETHING is reset in the progress


mqtt:
  host: 192.168.1.9
  user: x
  password: x
  topic_prefix: frigate5
  client_id: frigate5

detectors:
  cpu1:
    type: cpu
  cpu2:
    type: cpu
  cpu3:
    type: cpu
  cpu4:
    type: cpu
  cpu5:
    type: cpu
  cpu6:
    type: cpu
  cpu7:
    type: cpu
  cpu8:
    type: cpu
  cpu9:
    type: cpu
  cpu10:
    type: cpu

live:
  height: 720
  quality: 8

timestamp_style:
  position: "tl"
  format: "%d-%m-%Y %H:%M:%S"
  color:
    red: 255
    green: 0
    blue: 0
  thickness: 2

birdseye:
  enabled: False
  width: 1920
  height: 1080
  quality: 8
  mode: motion

objects:
  track:
    - person
  filters:
    person:
      min_score: 0.5

rtmp:
  enabled: False

record:
  enabled: True
  retain_days: 0
  events:
    max_seconds: 240
    pre_capture: 2
    post_capture: 8
    retain:
      default: 7

snapshots:
  enabled: True
  timestamp: True
  bounding_box: True
  crop: False
  required_zones: []
  retain:
    default: 7

cameras:
  voortuin_cam:
    ffmpeg:
      inputs:
        - path: rtsp://x:x@192.168.1.181/live
          roles:
            - detect
            - record
            - clips
    detect:    
      width: 1920
      height: 1080
      fps: 4
      enabled: True
    motion:
      mask: 
        - 880,223,848,410,937,422,972,280,1021,251,1158,281,1119,424,1423,650,1471,575,1725,763,1920,493,1920,0,628,0,0,0,0,307,0,504,0,1080,169,1080,84,603,114,71,167,77

  woonkamer_cam:
    ffmpeg:
      inputs:
        - path: rtsp://x:x@192.168.1.180/live
          roles:
            - detect
            - record
            - clips
    detect:    
      width: 1920
      height: 1080
      fps: 4
      enabled: True
    motion:
      mask:
        - 0,0,1380,0,1920,0,1920,1080,1796,1080,1794,632,1765,283,1648,52,1427,48,734,161,811,586,0,1080
      threshold: 30
      contour_area: 100
    zones:  
      keuken:
        coordinates: 976,1080,1920,1080,1920,887,1534,869,992,830,922,619,815,591,665,181,0,480,0,1080
        objects:
          - person

  achtertuin_cam:
    ffmpeg:
      inputs:
        - path: rtsp://x:x@192.168.1.182/live
          roles:
            - detect
            - record
            - clips
    detect:    
      width: 1920
      height: 1080
      fps: 4
      enabled: True
    motion:
      mask:
        - 0,377,665,164,715,238,1140,179,1434,128,1685,61,1659,0,0,0
ridizy commented 3 years ago

I started having a similar problem with clips yesterday.

In HA logs, when I have it try to send the video via Telegram, I see: Can't send file with kwargs: {'message': 'A person was detected on patio', 'url': 'https://hass.mydomain.com/api/frigate/notifications/1636307419.539033-o7w4fi/patio/clip.mp4', 'caption': 'A person was detected on patio camera'}

When I try to open that Url I see: Could not create clip from recordings for patio.

When I pull up the event in Frigate I get: The media could not be loaded, either because the server or network failed or because the format is not supported.

blakeblackshear commented 3 years ago

Looks like this might be a duplicate of https://github.com/blakeblackshear/frigate/issues/2129

runningman84 commented 3 years ago

Yes at least in my case I am enabling and disabling the recording a lot of times due to the alarm system integration. This would also explain why old clips are working fine because they have been recorded before the automation was in place.

euro2 commented 3 years ago

ive been toggling recording and snapshots a lot of times as well. when 2 mobile phones are away i enable it, and vice versa. Once broken i need to set a new topic prefix OR client_id in order to get recording going again.

rossoneri8 commented 3 years ago

@runningman84 I have found that the workaround is to make sure that all your cameras are set with recording enabled via MQTT when the frigate server is started, after that point you can enable/disable recording and it should properly create the clips. I found that if my cameras were disabled when I restarted frigate, re-enabling never got recording to work again. Hopefully this helps you out.

Firerouge commented 3 years ago

Something very similar to this started happening with my instance of Frigate as well.

The root source of the error for me seems to be the host getting overloaded, and Frigate being unable to clear the tmpfs fast enough, once the tmpfs is full, subsequent clips can't be allocated (lots of zero size clips in the directory), and while mqtt records the event data, and the screenshots are saved, trying to play the clips gives this error as they never get saved.

Perhaps Frigate can recover from this state on it's own after load subsides, causing it intermittently, but restarting Frigate always (temporarily) solves it as it resets the tmpfs back to empty.

I believe it's possible that this was introduced in an update, either via a bug or an increase in computational load somewhere, as my Frigate instance had been running stably, but borderline max resources, with it's current config for quite awhile, and only recently started having this issue.

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.

hua-bing commented 1 year ago

I am experiencing this with v0.12.0 as well. Some event clips from the exact same camera just don't play (from a standalone docker container), showing "The media could not be loaded, either because the server or network failed or because the format is not supported".