From e72991f7904632f5fd290510ccf8049f4f36ce69 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Motiejus=20Jak=C5=A1tys?= Date: Mon, 10 Feb 2025 18:59:14 +0200 Subject: [PATCH] detect: force-reduce resolution --- hosts/fwminex/configuration.nix | 12 ++++++++++-- 1 file changed, 10 insertions(+), 2 deletions(-) diff --git a/hosts/fwminex/configuration.nix b/hosts/fwminex/configuration.nix index 4ac5e0f..9014c29 100644 --- a/hosts/fwminex/configuration.nix +++ b/hosts/fwminex/configuration.nix @@ -400,7 +400,11 @@ in cameras = { vno4-dome-panorama = { enabled = true; - detect.enabled = true; + detect = { + enabled = true; + width = 1280; + height = 720; + }; ffmpeg = { hwaccel_args = "preset-vaapi"; output_args = { @@ -424,7 +428,11 @@ in }; vno4-dome-ptz = { enabled = true; - detect.enabled = true; + detect = { + enabled = true; + width = 1280; + height = 720; + }; ffmpeg = { output_args = { record = "preset-record-generic-audio-copy";