我的mpv配置文件
2026-03-18 16:17:24

主要来自vcb社区的推荐配置。

1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
script-opts=ytdl_hook-ytdl_path=/usr/bin/yt-dlp

vo=gpu
gpu-context=waylandvk
gpu-api=vulkan
hwdec=nvdec-copy
idle
pause
# vulkan-device='NVIDIA GeForce RTX 2050'
# vulkan-device='Intel(R) Graphics (ADL GT2)'

# ao=pipewire
alang=jpn,zh,chs,zh-Hans
audio-file-auto=exact
volume-max=100
audio-pitch-correction

osd-on-seek=msg-bar
osd-font="HYZhengYuan-55S"
osd-font-size=40
osd-playing-msg="${filename}"

# profile=gpu-hq
# icc-profile-auto
profile=high-quality
blend-subtitles=video
deband
scale=ewa_lanczossharp
cscale=catmull_rom
video-sync=display-resample
interpolation
tscale=oversample
#autofit-larger=50%
# window-scale=0.667
# autofit=1920
# autofit-smaller=50%x50%
# video-aspect=1.9

slang=chs,sc,zh,chi,zho,zh-Hans
sub-auto=fuzzy
sub-font="HYZhengYuan-55S"
# sub-scale=0.8
# sub-font="FZZhunYuan-M02"

glsl-shaders="~~/shaders/FSR.glsl"

[intel]
vo=gpu
gpu-context=wayland
gpu-api=opengl
vaapi-device='Intel(R) Graphics (ADL GT2)'
hwdec=vaapi-copy
glsl-shaders="~~/shaders/FSR.glsl"
# scale=lanczos

# mpv-handler profile
[danmaku]
pause=no
loop=inf
profile=bili-v
vf=lavfi="fps=fps=60:round=down"
referrer="https://www.bilibili.com/"
script="/home/xwx/.config/mpv/scripts/bilibiliAssert/main.lua"

[bili-live]
# msg-level=all=v
# autofit=960
pause=no
referrer='https://live.bilibili.com'
script-opts-append=osc-visibility=never
ytdl-raw-options=format=best[vcodec!=hevc]
ytdl-raw-options-append=cookies-from-browser=chrome
# ytdl-raw-options-append=external-downloader=aria2c
# ytdl-raw-options-append=downloader-args='aria2c:"-x 8 -k 1M"'

[bili-v]
# msg-level=all=v
# autofit=960
pause=no
referrer='https://www.bilibili.com'
script-opts-append=osc-visibility=never
ytdl-raw-options-append="cookies-from-browser=chrome"
ytdl-raw-options-append="external-downloader=aria2c"
ytdl-raw-options-append="downloader-args=aria2c:'-x 8 -k 1M'"

上一页
2026-03-18 16:17:24
下一页