From 7e1502dae30a8ebf031ea156241b0b39bc2d194e Mon Sep 17 00:00:00 2001 From: Dmitry Voronin Date: Tue, 24 Dec 2024 06:39:16 +0300 Subject: [PATCH] Sway: Tweak screen recorder. --- home/file/sway/default.nix | 3 --- 1 file changed, 3 deletions(-) diff --git a/home/file/sway/default.nix b/home/file/sway/default.nix index 04456e06..0950f14b 100644 --- a/home/file/sway/default.nix +++ b/home/file/sway/default.nix @@ -24,7 +24,6 @@ let container = "mp4"; format = "%Y-%m-%d_%H-%M-%S"; framerate = 30; - keyint = framerate * 5; opacity = "26"; pixfmt = "yuv420p10le"; selection = "slurp -d -b ${color.bg.light}${opacity} -c ${color.fg.light} -w 0 -s 00000000"; @@ -111,9 +110,7 @@ let ffmpeg \ -i "''${scrFile}" \ -c:v ${codec} \ - -svtav1-params "tune=0" \ -pix_fmt ${pixfmt} \ - -g ${toString keyint} \ -f ${container} \ "''${scrFile}_" \ && mv "''${scrFile}_" "''${scrFile}" \