trying hw acceleration
This commit is contained in:
@@ -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";
|
||||||
};
|
};
|
||||||
|
|||||||
Reference in New Issue
Block a user