Migrate mpv override and options
This commit is contained in:
parent
2c8a79ac78
commit
28e190025c
|
@ -53,21 +53,21 @@ in
|
||||||
# mpv can also be useful without a display (e.g. for encoding)
|
# mpv can also be useful without a display (e.g. for encoding)
|
||||||
enable = nixosConfig.sbruder.gui.enable || nixosConfig.sbruder.full;
|
enable = nixosConfig.sbruder.gui.enable || nixosConfig.sbruder.full;
|
||||||
|
|
||||||
package = pkgs.wrapMpv
|
package = pkgs.mpv-unwrapped.wrapper {
|
||||||
(pkgs.mpv-unwrapped.override ({
|
mpv = pkgs.mpv-unwrapped.override {
|
||||||
vapoursynthSupport = true;
|
vapoursynthSupport = true;
|
||||||
vapoursynth = pkgs.vapoursynth.withPlugins (with pkgs; [
|
vapoursynth = pkgs.vapoursynth.withPlugins (with pkgs; [
|
||||||
vapoursynth-mvtools
|
vapoursynth-mvtools
|
||||||
]);
|
]);
|
||||||
ffmpeg = pkgs.ffmpeg-full;
|
ffmpeg = pkgs.ffmpeg-full;
|
||||||
}))
|
|
||||||
{
|
|
||||||
scripts = with pkgs.mpvScripts; [
|
|
||||||
pitchcontrol
|
|
||||||
sponsorblock
|
|
||||||
];
|
|
||||||
};
|
};
|
||||||
|
|
||||||
|
scripts = with pkgs.mpvScripts; [
|
||||||
|
pitchcontrol
|
||||||
|
sponsorblock
|
||||||
|
];
|
||||||
|
};
|
||||||
|
|
||||||
defaultProfiles = [
|
defaultProfiles = [
|
||||||
"gpu-hq" # High quality by default
|
"gpu-hq" # High quality by default
|
||||||
];
|
];
|
||||||
|
@ -189,7 +189,7 @@ in
|
||||||
"[showwaves][avectorscope]hstack=shortest=1[top]"
|
"[showwaves][avectorscope]hstack=shortest=1[top]"
|
||||||
"[top][showcqt]vstack=shortest=1,fps=${toString rate}[vo]"
|
"[top][showcqt]vstack=shortest=1,fps=${toString rate}[vo]"
|
||||||
];
|
];
|
||||||
alpha = false;
|
background = "color";
|
||||||
};
|
};
|
||||||
in
|
in
|
||||||
{
|
{
|
||||||
|
|
Loading…
Reference in a new issue