mirror of
https://github.com/rydesun/dotfiles.git
synced 2025-12-26 14:44:58 +08:00
Update mpv config
This commit is contained in:
parent
4e1448fa34
commit
7eb0975322
1 changed files with 7 additions and 5 deletions
|
|
@ -8,19 +8,21 @@ keep-open
|
|||
|
||||
# 浮动窗口的尺寸最大值
|
||||
autofit-larger=90%x95%
|
||||
# 尺寸最小值
|
||||
autofit-smaller=0%x60%
|
||||
|
||||
# ==== yt-dlp ====
|
||||
# 播放网络视频时获取播放列表
|
||||
ytdl-raw-options=yes-playlist=
|
||||
ytdl-raw-options-append=yes-playlist=
|
||||
# 避开av1编码;尺寸最大1440p
|
||||
ytdl-raw-options=format-sort="fps,+vcodec:h265,res:1440"
|
||||
ytdl-raw-options-append=format-sort=fps,+vcodec:h265,res:1440
|
||||
|
||||
# ==== 字幕 ====
|
||||
# 使用 scripts/autoload_subtitles.lua 加载外置字幕
|
||||
# 所以禁用mpv内置的自动加载方式
|
||||
sub-auto=no
|
||||
# 内置字幕优先使用中文、日文、英文
|
||||
slang=zh-hans,zh-CN,zh,zho,chi,zh-TW,zh-HK,ja,jpn,en,eng
|
||||
# 内置字幕优先使用中日英
|
||||
slang=zh-Hans,zh-CN,zh,zho,chi,zh-TW,zh-HK,ja,jpn,en,eng
|
||||
# 尽量让ASS字幕在画面外
|
||||
sub-ass-force-margins
|
||||
# ==== 字幕样式 ====
|
||||
|
|
@ -35,7 +37,7 @@ sub-shadow-offset=1
|
|||
# ==== 路径 ====
|
||||
# socket文件路径
|
||||
input-ipc-server=/tmp/mpvsocket
|
||||
screenshot-template="%F(%P)-%#02n"
|
||||
screenshot-template="%{media-title}(+%P)-%#02n"
|
||||
# 截图目录由脚本 scripts/screenshot.lua 控制
|
||||
|
||||
# ==== 渲染 ====
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue