From 739a2674621a224c6b1f8323c7430dc2d0c16954 Mon Sep 17 00:00:00 2001 From: Nicolas Mowen Date: Fri, 9 Dec 2022 07:35:28 -0700 Subject: [PATCH] Don't catch presets (#4653) --- frigate/config.py | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/frigate/config.py b/frigate/config.py index 90a6be3c4..44e85f9a4 100644 --- a/frigate/config.py +++ b/frigate/config.py @@ -850,6 +850,10 @@ def verify_recording_segments_setup_with_reasonable_time( record_args: list[str] = get_ffmpeg_arg_list( camera_config.ffmpeg.output_args.record ) + + if record_args[0].startswith("preset"): + return + seg_arg_index = record_args.index("-segment_time") if seg_arg_index < 0: