NVR with realtime local object detection for IP cameras
TypeScript aicameragoogle-coralhome-assistanthome-automationhomeautomationmqttnvrobject-detectionrealtimertsptensorflow
Update Rpi preset (#6385)
Nicolas Mowen305323c9e929
diff --git a/frigate/ffmpeg_presets.py b/frigate/ffmpeg_presets.pyindex 185ce0d867..353a8b9229 100644--- a/frigate/ffmpeg_presets.py+++ b/frigate/ffmpeg_presets.py@@ -53,8 +53,8 @@ _user_agent_args = []PRESETS_HW_ACCEL_DECODE = {- "preset-rpi-32-h264": ["-c:v", "h264_v4l2m2m"],- "preset-rpi-64-h264": ["-c:v", "h264_v4l2m2m"],+ "preset-rpi-32-h264": ["-c:v:1", "h264_v4l2m2m"],+ "preset-rpi-64-h264": ["-c:v:1", "h264_v4l2m2m"],"preset-vaapi": ["-hwaccel_flags","allow_profile_mismatch",diff --git a/frigate/test/test_ffmpeg_presets.py b/frigate/test/test_ffmpeg_presets.pyindex 6ea6237900..92e0fa3bd9 100644--- a/frigate/test/test_ffmpeg_presets.py+++ b/frigate/test/test_ffmpeg_presets.py@@ -52,7 +52,7 @@ class TestFfmpegPresets(unittest.TestCase):assert "preset-rpi-64-h264" not in (" ".join(frigate_config.cameras["back"].ffmpeg_cmds[0]["cmd"]))- assert "-c:v h264_v4l2m2m" in (+ assert "-c:v:1 h264_v4l2m2m" in (" ".join(frigate_config.cameras["back"].ffmpeg_cmds[0]["cmd"]))