This repository has been archived by the owner. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathmpv.conf
220 lines (174 loc) · 6.49 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
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
# Renderer #
profile=gpu-hq
gpu-api=vulkan #if not nvidia use gpu-api=d3d11
# other shaders to use #
#glsl-shaders-append="~~/shaders/KrigBilateral.glsl" #this is chroma upscale but i use it only for still images
#glsl-shaders="~~/shaders/FSRCNNX_x2_8-0-4-1.glsl" #default FSRCNNX
#glsl-shaders="~~/shaders/FSRCNNX_x2_16-0-4-1.glsl" #sharper FSCRNNX
#glsl-shaders="~~/shaders/crt.glsl" #crt look thanks to haas can look good on some pre90s anime
# GENERAL #
#fs=yes
ytdl=yes #start in fullscreen
save-position-on-quit
keep-open=yes
autofit=45%
geometry=50%:50% #start with window in the middle
watch-later-directory=C:/.mpvplayer/tmp #default directory for save-position-on-quit
input-ipc-server=mpvpipe
hr-seek-framedrop=no
border=no
msg-color=yes
msg-module=yes
# Screenshots #
screenshot-template="%x\Screens\Screenshot-%F-T%wH.%wM.%wS.%wT-F%{estimated-frame-number}"
screenshot-format=png # Set screenshot format
screenshot-png-compression=4 # Range is 0 to 10. 0 being no compression. compute-time to size is log so 4 is best
screenshot-tag-colorspace=yes
screenshot-high-bit-depth=yes # Same output bitdepth as the video
# OSC/OSD #
osc=yes
osd-bar=yes # Do not remove/comment if mpv_thumbnail_script_client_osc.lua is being used.
osd-font='Readex Pro' # Set a font for OSC
osd-font-size=30 # Set a font size
osd-color='#CCFFFFFF' # ARGB format
osd-border-color='#DD322640' # ARGB format
osd-bar-align-y=-1 # progress bar y alignment (-1 top, 0 centered, 1 bottom)
osd-border-size=2 # size for osd text and progress bar
osd-bar-h=1 # height of osd bar as a fractional percentage of your screen height
osd-bar-w=60 # width of " " "
# Subs #
sub-ass-vsfilter-blur-compat=yes # Backward compatibility for vsfilter fansubs
sub-ass-scale-with-window=no # May have undesired effects with signs being misplaced.
sub-fix-timing=yes
sub-auto=fuzzy # external subs don't have to match the file name exactly to autoload
#sub-gauss=0.6 # Some settings fixing VOB/PGS subtitles (creating blur & changing yellow subs to gray)
sub-file-paths-append=ass # search for external subs in these relative subdirectories
sub-file-paths-append=srt
sub-file-paths-append=sub
sub-file-paths-append=subs
sub-file-paths-append=subtitles
demuxer-mkv-subtitle-preroll=yes # try to correctly show embedded subs when seeking
embeddedfonts=yes # use embedded fonts for SSA/ASS subs
sub-fix-timing=no # do not try to fix gaps (which might make it worse in some cases). Enable if there are scenebleeds.
# Subs - Forced #
sub-font=Open Sans SemiBold
sub-font-size=46
sub-blur=0.3
sub-border-color=0.0/0.0/0.0/0.8
sub-border-size=3.2
sub-color=0.9/0.9/0.9/1.0
sub-margin-x=100
sub-margin-y=50
sub-shadow-color=0.0/0.0/0.0/0.25
sub-shadow-offset=0
# Audio #
volume-max=150 # maximum volume in %, everything above 100 results in amplification
audio-stream-silence # fix audio popping on random seek
audio-file-auto=fuzzy # external audio doesn't has to match the file name exactly to autoload
audio-pitch-correction=yes # automatically insert scaletempo when playing with higher speed
# Languages #
alang=jpn,jp,eng,en,enUS,en-US,de,ger
slang=eng,en,und,de,ger,jp,jap
# Video Profiles #
dither=error-diffusion
scale=ewa_lanczossharp
cscale=mitchell
dscale=mitchell
scale-antiring=0
cscale-antiring=0
correct-downscaling=yes
linear-downscaling=no
sigmoid-upscaling=yes
# Debanding #
deband=yes
deband-iterations=2
deband-threshold=34
deband-range=16
deband-grain=48
#HDR#
#--tone-mapping=
--tone-mapping-max-boost=1.25
hdr-compute-peak=yes
# interpolation #
interpolation=no #can be toggled with key i
video-sync=display-resample
tscale=box
tscale-window=sphinx
tscale-radius=1.0
tscale-clamp=0.0
blend-subtitles=no
hwdec=d3d11-copy
[low-res video]
profile-desc=cond:(get('height', math.huge) < 720) and (get('estimated-frame-count', math.huge) > 1)
scale=mitchell
glsl-shaders-clr
glsl-shaders-append="~~/shaders/nnedi3-nns128-win8x4.hook"
deband-grain=60
[720p video]
profile-desc=cond:(get('height', math.huge) < 721) and (get('height', math.huge) > 719) and (get('estimated-frame-count', math.huge) > 1)
scale=mitchell
glsl-shaders-clr
fbo-format=rgba16hf
glsl-shaders-append="~~/shaders/SSimSuperRes.glsl"
deband-grain=100
[hi-res video]
profile-desc=cond:get('height', math.huge) > 720 and (get('estimated-frame-count', math.huge) > 1)
fbo-format=rgba16hf #if not nvidia use fbo-format=rgba16f
glsl-shaders-append="~~/shaders/FSRCNNX_x2_8-0-4-1.glsl"
glsl-shaders-append="~~/shaders/SSimDownscaler.glsl"
#image shaders#
[low-res-image]
profile-desc=cond:(get('current-window-scale', math.huge) > 1) and (get('estimated-frame-count', math.huge) < 2)
scale=mitchell
fbo-format=rgba16hf
glsl-shaders-clr
glsl-shaders-append="~~/shaders/FSRCNNX_x2_16-0-4-1.glsl"
glsl-shaders-append="~~/shaders/KrigBilateral.glsl"
deband=no
[hi-res-image]
profile-desc=cond:(get('current-window-scale', math.huge) <= 1) and (get('estimated-frame-count', math.huge) < 2)
deband=no
dscale=lanczos
[basic]
glsl-shaders-clr #binded to button b in input config to clear shaders-for testing only
scale=ewa_lanczossharp
#[raw-mode]
#profile-desc=cond:(get('height', math.huge)*get('width', math.huge)/(get('video-bitrate', math.huge)) < 80 )
[protocol.file]
network-timeout=0
force-window=yes
cache=yes
demuxer-max-bytes=2000MiB
demuxer-readahead-secs=300
force-seekable=yes
[protocol-network]
network-timeout=5
#force-window=immediate
hls-bitrate=max
cache=yes
demuxer-max-bytes=2000MiB
demuxer-readahead-secs=300
[protocol.http]
profile=protocol-network
[protocol.https]
profile=protocol-network
[image]
profile-cond=image
background=0.1 # dark grey background instead of pure black
mute=yes
osc=no # the osc is mostly useful for videos
sub-auto=no # don't try to autoload subtitles or audio files
audio-file-auto=no # get rid of the useless V: 00:00:00 / 00:00:00 line
image-display-duration=inf # don't slideshow by default
loop-file=inf # loop files in case of webms or gifs
loop-playlist=inf # and loop the whole playlist
window-dragging=no # you need this if you plan to use drag-to-pan or pan-follows-cursor with MOUSE_LEFT
deband=no
[extension.png]
video-aspect-override=no
[extension.jpg]
video-aspect-override=no
[extension.jpeg]
profile=extension.jpg
[silent]
msg-level=all=no