-
Notifications
You must be signed in to change notification settings - Fork 167
/
Copy pathmpv.conf
188 lines (143 loc) · 4.06 KB
/
mpv.conf
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
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
### 行首如果存在注释符号 "#" 则说明该项 “未启用”
### 文档_ https://github.com/hooke007/MPV_lazy/blob/main/portable_config/mpv.conf
### 注意:当前预设下,选项 --volume --glsl-shaders 的关联属性已被全局追踪记录,移除缓存文件 saved-props.json 才能使其的更改生效
input-conf = "~~/input_uosc.conf"
include = "~~/profiles.conf"
include = "~~/script-opts.conf"
use-filedir-conf = yes
#log-file = "~~desktop/mpv-lazy.log"
########
# 基础 #
########
vo = gpu-next
#gpu-context = winvk
#d3d11-exclusive-fs = yes
#d3d11-flip = no
hwdec = auto-copy
hwdec-codecs = h264,hevc,vp8,vp9,av1
#d3d11-adapter = "NVIDIA GeForce RTX 2070 Super"
#vulkan-device = "NVIDIA GeForce RTX 2070 Super"
########
# 功能 #
########
idle = yes
#input-ipc-server = mpvpipe
input-builtin-bindings = no
#pause = yes
#target-colorspace-hint = yes
hr-seek-framedrop = no
save-position-on-quit = yes
watch-later-options = start,vid,aid,sid
#autocreate-playlist = same
#directory-filter-types = video,audio
#video-exts = avi,flv,m2ts,mkv,mov,mp4,ts,wmv
#image-exts = avif,bmp,jpeg,jpg,jxl,png,webp
#audio-exts = aiff,ape,flac,mp3,ogg,opus,wav
keep-open = yes
#ontop = yes
#title-bar = no
autofit-smaller = 50%x50%
keepaspect-window = no
#auto-window-resize = no
hidpi-window-scale = no
demuxer-max-bytes = 1024MiB
demuxer-max-back-bytes = 512MiB
#icc-cache = no
icc-cache-dir = "~~/_cache/icc"
#gpu-shader-cache = no
gpu-shader-cache-dir = "~~/_cache/shader"
watch-later-dir = "~~/_cache/watch_later"
#######
# OSD #
#######
osd-on-seek = msg
#osd-blur = 1
osd-bar-w = 100
osd-bar-h = 1.5
osd-bar-align-y = -1
osd-color = "#672168"
osd-border-color = "#FFFFFF"
osd-border-size = 1
osd-font-size = 40
osd-fractions = yes
osd-playing-msg = "${filename}"
osd-duration = 2000
osd-playing-msg-duration = 3000
########
# 音频 #
########
ao = wasapi
#audio-device = "wasapi/{xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx}"
#audio-exclusive = yes
volume = 100 # 注意:此参数当前在 script-opts.conf 文件中存在关联处理(参见 “保存全局属性并恢复” 部分)
volume-max = 130
audio-channels = stereo
#alang = chs,sc,zh-cn,chi,zh,zh-tw,cht,zho,ze
audio-file-auto = fuzzy
########
# 视频 #
########
#icc-profile-auto = yes
#target-prim = display-p3
#target-trc = gamma2.2
video-sync = display-resample
video-sync-max-video-change = 5
interpolation = yes
#tscale = sphinx
cscale = bilinear
scale = spline36
dscale = bicubic
sigmoid-upscaling = no
correct-downscaling = no
dither-depth = no
#deband = yes
deinterlace = auto
#tone-mapping = hable
#gamut-mapping-mode = clip
hdr-peak-percentile = 99.99
####################
# 脚本 滤镜 着色器 #
####################
osc = no
#ytdl-raw-options-append = cookies-from-browser=edge
#load-scripts = no
glsl-shaders-append = "~~/shaders/AMD_FSR_EASU_rgb_RT.glsl" # 注意:此参数当前在 script-opts.conf 文件中存在关联处理(参见 “保存全局属性并恢复” 部分)
########
# 字幕 #
########
sub-auto = fuzzy
sub-file-paths = sub;subtitles
slang = chs,sc,zh-cn,chi,zh,zh-tw,cht,zho,ze
subs-fallback = yes
#blend-subtitles = yes
sub-font = "LXGW WenKai Mono"
sub-font-size = 44
#sub-scale-with-window = no
sub-border-size = 4
sub-blur = 1
sub-color = "#FFD766"
#sub-back-color = "#641C1C1C"
#sub-shadow-offset = 2
sub-use-margins = yes
#sub-ass-vsfilter-aspect-compat = no
sub-ass-vsfilter-blur-compat = no
#sub-ass-override = force
#sub-ass-scale-with-window = yes
sub-ass-force-margins = yes
#sub-ass-style-overrides = Fontname=LXGW WenKai Mono
#stretch-image-subs-to-screen = yes
#image-subs-video-resolution = yes
########
# 截图 #
########
screenshot-format = png
screenshot-jpeg-quality = 100
#screenshot-jpeg-source-chroma = no
screenshot-png-compression = 4
screenshot-webp-lossless = yes
#screenshot-webp-quality = 100
#screenshot-webp-compression = 0
screenshot-jxl-distance = 0
screenshot-tag-colorspace = no
screenshot-high-bit-depth = no
screenshot-template = "~~desktop/MPV-%P-N%n"