diff --git a/hosts/fwminex/configuration.nix b/hosts/fwminex/configuration.nix index 769520e..71517ec 100644 --- a/hosts/fwminex/configuration.nix +++ b/hosts/fwminex/configuration.nix @@ -739,7 +739,7 @@ in tpm2-tools amdgpu_top graphicsmagick - ffmpeg-headless + ffmpeg_7-headless # Pin to FFmpeg 7 due to FFmpeg 8 RTSP issues age-plugin-yubikey (python3.withPackages ( ps: with ps; [ diff --git a/modules/services/frigate/default.nix b/modules/services/frigate/default.nix index 1c11f0b..565265d 100644 --- a/modules/services/frigate/default.nix +++ b/modules/services/frigate/default.nix @@ -12,7 +12,7 @@ let name = "go2rtc-prober"; runtimeInputs = with pkgs; [ systemd - ffmpeg-headless + ffmpeg_7-headless ]; text = '' set -x @@ -65,6 +65,10 @@ in services.go2rtc = { enable = true; settings = { + # Pin to FFmpeg 7 due to FFmpeg 8 RTSP issues in NixOS 25.11 + # https://github.com/NixOS/nixpkgs/blob/master/doc/release-notes/rl-2511.section.md#L351 + ffmpeg.bin = lib.getExe pkgs.ffmpeg_7-headless; + # https://github.com/AlexxIT/go2rtc/issues/831 #log = { # format = "text"; @@ -98,6 +102,8 @@ in hostname = "r1.jakstys.lt"; settings = { #ui.strftime_fmt = "%F %T"; + # Pin to FFmpeg 7 due to FFmpeg 8 RTSP issues in NixOS 25.11 + ffmpeg.path = pkgs.ffmpeg_7-headless; ffmpeg.hwaccel_args = "preset-vaapi"; telemetry.version_check = false;