2021-07-08 01:43:45 +00:00
|
|
|
{ pkgs, ... }:
|
|
|
|
{
|
|
|
|
programs.mpv = {
|
|
|
|
enable = true;
|
|
|
|
config = {
|
|
|
|
slang = "eng,en";
|
|
|
|
alang = "eng,en";
|
|
|
|
hwdec = "vaapi";
|
|
|
|
vo = "gpu";
|
|
|
|
|
2021-08-05 14:01:03 +00:00
|
|
|
audio-display = "no";
|
|
|
|
audio-normalize-downmix = "yes";
|
2021-07-08 01:43:45 +00:00
|
|
|
replaygain = "track";
|
|
|
|
};
|
|
|
|
# Don't make this profile default since not all machines can handle it
|
|
|
|
profiles.gpu-hq = {
|
|
|
|
scale = "ewa_lanczossharp";
|
|
|
|
cscale = "ewa_lanczossharp";
|
|
|
|
};
|
|
|
|
|
|
|
|
bindings = {
|
|
|
|
WHEEL_UP = "ignore";
|
|
|
|
WHEEL_DOWN = "ignore";
|
|
|
|
WHEEL_LEFT = "ignore";
|
|
|
|
WHEEL_RIGHT = "ignore";
|
|
|
|
k = "add sub-scale -0.1";
|
|
|
|
K = "add sub-scale +0.1";
|
2021-08-01 19:48:12 +00:00
|
|
|
"[" = "add speed -0.1";
|
|
|
|
"]" = "add speed 0.1";
|
|
|
|
"{" = "add speed -1";
|
|
|
|
"}" = "add speed 1";
|
2021-07-08 01:43:45 +00:00
|
|
|
};
|
|
|
|
};
|
|
|
|
}
|