trying hw acceleration

This commit is contained in:
2025-01-26 23:53:35 +02:00
parent d0bb3554db
commit 3782fcde97

View File

@@ -78,7 +78,14 @@ in
}; };
}; };
hardware.cpu.intel.updateMicrocode = true; hardware = {
cpu.intel.updateMicrocode = true;
graphics = {
enable = true;
extraPackages = [ pkgs.intel-media-driver ];
};
};
nixpkgs.hostPlatform = "x86_64-linux"; nixpkgs.hostPlatform = "x86_64-linux";
systemd = { systemd = {
@@ -398,6 +405,7 @@ in
enabled = true; enabled = true;
detect.enabled = false; detect.enabled = false;
ffmpeg = { ffmpeg = {
#hwaccel_args = "preset-vaapi";
output_args = { output_args = {
record = "preset-record-generic-audio-copy"; record = "preset-record-generic-audio-copy";
}; };