mirror of
https://github.com/rydesun/dotfiles.git
synced 2025-12-26 22:55:00 +08:00
Update mpv config
This commit is contained in:
parent
7eb0975322
commit
f0bd8b6293
2 changed files with 10 additions and 3 deletions
|
|
@ -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}
|
||||
|
|
|
|||
|
|
@ -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 加载外置字幕
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue