Files
frigate/frigate
Josh Hawkins 4d20a15283 fix fps overflow restarting ffmpeg after 3 seconds instead of 3 retry intervals
This is a regression from 0.18. The watchdog has restarted ffmpeg after 3 consecutive fps overflow checks since #13651, which was 3 retry intervals (30s by default) when the loop ran every retry_interval. #21297 moved the loop to 1s ticks without converting the count, so the window shrank to 3s. camera_fps is a 10s average, so one burst of buffered frames after a stream hiccup could keep it over the limit long enough to restart a healthy camera, and the next reconnect burst could repeat it. The threshold is now 3 * retry_interval ticks. When the count filled while restarts were still rate limited, the watchdog logged "Exiting ffmpeg...", marked the camera offline and reset the count without restarting. The check now waits for can_restart, so the log, status and restart always happen together.
2026-10-22 15:15:43 -05:00
..
2026-10-16 13:49:16 -06:00
2026-10-19 04:57:35 -10:00
2026-09-19 08:10:36 -06:00
2026-10-18 04:50:25 -10:00
2026-10-10 15:01:33 -05:00
2026-10-18 04:50:25 -10:00
2026-10-18 04:50:25 -10:00
2026-10-18 04:50:25 -10:00
2021-01-26 21:40:33 -06:00
2026-10-19 04:44:37 -10:00
2026-10-10 15:01:33 -05:00
2026-03-26 12:54:12 -06:00
2026-10-10 15:01:33 -05:00