tweaked vaapi driver

This commit is contained in:
fwastring 2026-03-29 15:20:18 +02:00
parent 966970c256
commit e413d301f6
2 changed files with 21 additions and 0 deletions

View file

@ -26,6 +26,13 @@ in
enable = true;
};
hardware.graphics = {
enable = true;
extraPackages = with pkgs; [
intel-media-driver
];
};
webcam-rtsp = {
enable = true;
streams = {
@ -35,6 +42,7 @@ in
framerate = 12;
videoSize = "1280x720";
useVaapi = true;
vaapiDriver = "iHD";
vaapiQp = 26;
bitrateKbps = 900;
maxrateKbps = 1100;
@ -46,6 +54,7 @@ in
framerate = 12;
videoSize = "1280x720";
useVaapi = true;
vaapiDriver = "iHD";
vaapiQp = 26;
bitrateKbps = 900;
maxrateKbps = 1100;