fixing a lot of mpv schtuff
This commit is contained in:
parent
649d3cc79a
commit
b4f720cd72
9 changed files with 413 additions and 1242 deletions
|
@ -238,6 +238,16 @@
|
|||
plugins = [ pkgs.obs-studio-plugins.obs-move-transition ];
|
||||
};
|
||||
|
||||
# programs.mpv = {
|
||||
# enable = true;
|
||||
# scripts = with pkgs.mpvScripts; [ mpris thumbnail youtube-quality sponsorblock ];
|
||||
# };
|
||||
|
||||
home.file.".config/mpv" = {
|
||||
source = ../mpv;
|
||||
recursive = true;
|
||||
};
|
||||
|
||||
services.nextcloud-client = {
|
||||
enable = true;
|
||||
startInBackground = true;
|
||||
|
@ -378,45 +388,6 @@
|
|||
source = ../qutebrowser/qsettings;
|
||||
};
|
||||
|
||||
programs.mpv = {
|
||||
enable = true;
|
||||
scripts = with pkgs.mpvScripts; [ mpris thumbnail youtube-quality sponsorblock];
|
||||
config = {
|
||||
osc = false;
|
||||
vo = "gpu";
|
||||
af = "scaletempo2";
|
||||
autofit = "4000x2900";
|
||||
geometry = "50%:50%";
|
||||
hwdec = "auto";
|
||||
rtsp-transport = "udp";
|
||||
speed = 1.95;
|
||||
ytdl-format = "bestvideo[height<=?720][fps<=?30]+bestaudio/best";
|
||||
};
|
||||
profiles = {
|
||||
fast = {
|
||||
speed = 1.95;
|
||||
};
|
||||
slow = {
|
||||
speed = 1;
|
||||
};
|
||||
wc = {
|
||||
speed = 1;
|
||||
osd-level = 0;
|
||||
osc = false;
|
||||
load-scripts = false;
|
||||
profile = "low-latency";
|
||||
demuxer-lavf-format = "video4linux2";
|
||||
demuxer-lavf-o-set = "input_format=mjpeg,video_size=1920x1080,framerate=60";
|
||||
fps = 60;
|
||||
};
|
||||
};
|
||||
};
|
||||
|
||||
home.file.".config/mpv/scripts" = {
|
||||
source = ../mpv/scripts;
|
||||
recursive = true;
|
||||
};
|
||||
|
||||
home.file.".config/imv" = {
|
||||
source = ../imv;
|
||||
recursive = true;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue