NVR with realtime local object detection for IP cameras
TypeScript aicameragoogle-coralhome-assistanthome-automationhomeautomationmqttnvrobject-detectionrealtimertsptensorflow
fix: wrong index for FPS replacement in preset-http-jpeg-generic (#22465)
ryzendigo722ef6a1fed8
diff --git a/frigate/ffmpeg_presets.py b/frigate/ffmpeg_presets.pyindex 75e2b901d4..ec40bf0c52 100644--- a/frigate/ffmpeg_presets.py+++ b/frigate/ffmpeg_presets.py@@ -436,7 +436,7 @@ def parse_preset_input(arg: Any, detect_fps: int) -> list[str]:if arg == "preset-http-jpeg-generic":input = PRESETS_INPUT[arg].copy()- input[len(_user_agent_args) + 1] = str(detect_fps)+ input[1] = str(detect_fps)return inputreturn PRESETS_INPUT.get(arg, None)