From c4fbe6df656f0baead17e24ed10d394ed0269932 Mon Sep 17 00:00:00 2001 From: Nicolas Mowen Date: Mon, 8 Jul 2024 17:18:06 -0600 Subject: [PATCH] Correct the number of frames saved --- frigate/video.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/frigate/video.py b/frigate/video.py index 744635624..88a265381 100755 --- a/frigate/video.py +++ b/frigate/video.py @@ -109,7 +109,7 @@ def capture_frames( skipped_eps = EventsPerSecond() skipped_eps.start() - shm_count = 5 + shm_count = max(10, config.detect.fps * 2) shm_frames: list[str] = [] while True: