tweaked vaapi driver
This commit is contained in:
parent
966970c256
commit
e413d301f6
2 changed files with 21 additions and 0 deletions
|
|
@ -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;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue