From f0bd8b6293ea7e4a100a507a60d6c357146d9f5f Mon Sep 17 00:00:00 2001 From: rydesun Date: Sun, 16 Nov 2025 13:03:13 +0800 Subject: [PATCH] Update mpv config --- .config/mpv/input.conf | 2 +- .config/mpv/mpv.conf | 11 +++++++++-- 2 files changed, 10 insertions(+), 3 deletions(-) diff --git a/.config/mpv/input.conf b/.config/mpv/input.conf index 6588c61..1a93442 100644 --- a/.config/mpv/input.conf +++ b/.config/mpv/input.conf @@ -26,7 +26,7 @@ o script-binding uosc/open-file < script-binding uosc/prev Ctrl+h cycle_values hwdec auto-safe auto-copy no -Ctrl+r cycle_values video-rotate 90 180 270 0; set geometry 90%x95%+50%+50% +Ctrl+r cycle_values video-rotate 90 180 270 0 Ctrl+1 apply-profile common-shaders; show_text glsl-shaders=${glsl-shaders} Ctrl+2 apply-profile anime-shaders; show_text glsl-shaders=${glsl-shaders} diff --git a/.config/mpv/mpv.conf b/.config/mpv/mpv.conf index 0d59a13..1c81390 100644 --- a/.config/mpv/mpv.conf +++ b/.config/mpv/mpv.conf @@ -7,15 +7,22 @@ hwdec=auto-safe keep-open # 浮动窗口的尺寸最大值 -autofit-larger=90%x95% +autofit-larger=90%x90% # 尺寸最小值 -autofit-smaller=0%x60% +autofit-smaller=1280x720 + +# 窗口变化后移动到初始位置 +force-window-position # ==== yt-dlp ==== # 播放网络视频时获取播放列表 ytdl-raw-options-append=yes-playlist= # 避开av1编码;尺寸最大1440p ytdl-raw-options-append=format-sort=fps,+vcodec:h265,res:1440 +# 减少以节约流量 +demuxer-max-bytes=50M + +network-timeout=10 # ==== 字幕 ==== # 使用 scripts/autoload_subtitles.lua 加载外置字幕