fix: make mpv configuration usable

This commit is contained in:
Lucien Cartier-Tilet 2025-05-04 14:27:15 +02:00
parent 5254cde754
commit 08bb83e21c
Signed by: phundrak
SSH Key Fingerprint: SHA256:CE0HPsbW3L2YiJETx1zYZ2muMptaAqTN2g3498KrMkc

View File

@ -3,16 +3,14 @@
enable = true;
config = {
force-window = "immediate";
ytdl-format = "bestvideo[height<=1080]+bestaudio";
force-seekable = true; # force streams to be seekable
cache-default = 4000000;
slang = "jpn,jp,eng,en,fra,fr";
alang = "eng,en,fra,fr";
gpu-api = "vulkan";
osc = true;
profile = "gpu-hq";
geometry = "50%x50%";
autofit-larger = "90%x90%";
# geometry = "50%x50%";
# autofit-larger = "90%x90%";
# Screenshots
screenshot-format = "png";
@ -24,14 +22,12 @@
deband-iterations = 2;
deband-threshold = 35;
deband-range = 20;
deband-grand = 5;
dither-depth = "auto";
sub-auto = "fuzzy";
scale = "ewa_lanczossharp";
dscale = "mitchel";
cscale = "ewa_lanczossharp";
};
scripts = with pkgs.mpvScripts; [
@ -43,7 +39,7 @@
quality-menu
sponsorblock
thumbfast
# twitch-chat
twitch-chat
youtube-chat
youtube-upnext
];