downgrade ffmpeg for now

This commit is contained in:
2025-12-01 23:19:17 +00:00
parent 87ad38ad6c
commit 44626b5960
2 changed files with 8 additions and 2 deletions

View File

@@ -739,7 +739,7 @@ in
tpm2-tools tpm2-tools
amdgpu_top amdgpu_top
graphicsmagick graphicsmagick
ffmpeg-headless ffmpeg_7-headless # Pin to FFmpeg 7 due to FFmpeg 8 RTSP issues
age-plugin-yubikey age-plugin-yubikey
(python3.withPackages ( (python3.withPackages (
ps: with ps; [ ps: with ps; [

View File

@@ -12,7 +12,7 @@ let
name = "go2rtc-prober"; name = "go2rtc-prober";
runtimeInputs = with pkgs; [ runtimeInputs = with pkgs; [
systemd systemd
ffmpeg-headless ffmpeg_7-headless
]; ];
text = '' text = ''
set -x set -x
@@ -65,6 +65,10 @@ in
services.go2rtc = { services.go2rtc = {
enable = true; enable = true;
settings = { 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 # https://github.com/AlexxIT/go2rtc/issues/831
#log = { #log = {
# format = "text"; # format = "text";
@@ -98,6 +102,8 @@ in
hostname = "r1.jakstys.lt"; hostname = "r1.jakstys.lt";
settings = { settings = {
#ui.strftime_fmt = "%F %T"; #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"; ffmpeg.hwaccel_args = "preset-vaapi";
telemetry.version_check = false; telemetry.version_check = false;