question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

[Support]: Retention not working - recording all the time instead

See original GitHub issue

Describe the problem you are having

Frigate keeps recording clips every 10 seconds even though there are no events. These are never cleaned up and eat up all the disk space eventually. What do I need to do in order to have simply a recording of an event???

image

Version

0.9.4-26AE608

Frigate config file

rtmp:
  # Optional: Enable the RTMP stream (default: True)
  enabled: False

cameras:
  # Name of your camera
  front_door:
    ffmpeg:
      inputs:
        - path: rtsp://192.168.1.159:81/entr
          roles:
            - detect
            - clips
            - record
            #- rtmp
    detect:    
      width: 960
      height: 720
      fps: 10
    
    record:
      enabled: True
      retain_days: 0     
      events:
        max_seconds: 60
        pre_capture: 5
        post_capture: 5
        objects:
          - person
          - tennis racket
        retain:
          default: 2
          objects:
            person: 5
          
    snapshots:
      # Optional: Enable writing jpg snapshot to /media/frigate/clips (default: shown below)
      # This value can be set via MQTT and will be updated in startup based on retained value
      enabled: True
      # Optional: print a timestamp on the snapshots (default: shown below)
      timestamp: True
      # Optional: draw bounding box on the snapshots (default: shown below)
      bounding_box: True
      # Optional: crop the snapshot (default: shown below)
      crop: False
      # Optional: height to resize the snapshot to (default: original size)
      #height: 175
      # Optional: Restrict snapshots to objects that entered any of the listed zones (default: no required zones)
      #required_zones: []
      # Optional: Camera override for retention settings (default: global values)
      retain:
        # Required: Default retention days (default: shown below)
        default: 5
        # Optional: Per object retention days
        objects:
          person: 5

Relevant log output

n/a

FFprobe output from your camera

n/a

Frigate stats

No response

Operating system

Debian

Install method

HassOS Addon

Coral version

PCIe

Network connection

Wired

Camera make and model

reolink 410

Any other information that may be helpful

No response

Issue Analytics

  • State:closed
  • Created 2 years ago
  • Comments:11 (4 by maintainers)

github_iconTop GitHub Comments

3reactions
blakeblackshearcommented, Feb 5, 2022

This is a known issue in 0.9.4 when recordings exist in the database, but have been removed from disk. It is being fixed in 0.10.x.

1reaction
gomblecommented, Jan 30, 2022

i have the same behaivour

Read more comments on GitHub >

github_iconTop Results From Across the Web

Learn about retention policies & labels to retain or delete
Exchange public folders, Skype, Teams and Yammer messages do not support retention labels. To retain and delete content from these locations, ...
Read more >
Managing cloud recording settings - Zoom Support
If a retention time range has been configured, recordings can't be edited or deleted until the retention period expires. Notes: This setting ...
Read more >
Event and 24/7 video history - Google Nest Help
How your Nest camera records and saves video depends on whether it has event video history, 24/7 video history, or both: With event...
Read more >
Frequently Asked Questions (FAQs) about the General ...
The Archivist of the United States issues the General Records Schedules (GRS) to provide disposition authority for records common to several or ...
Read more >
Understanding and Adjusting Your Video Storage Time
This means that a video can remain in your account for up to 180 days – or as little as 1 day –...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found