-
Notifications
You must be signed in to change notification settings - Fork 0
/
mpv.conf
181 lines (152 loc) · 4.47 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
## GENERAL ##
border=no
## VIDEO ##
profile=Default_Settings
# Screenshot
screenshot-format = png
screenshot-directory="~/Pictures\MPV Screenshots\"
screenshot-png-compression=0
screenshot-tag-colorspace=yes
screenshot-high-bit-depth=yes
## AUDIO ##
volume-max=150
audio-stream-silence
audio-file-auto=fuzzy
audio-pitch-correction=yes
#af=lavfi=[acompressor=6]
keep-open=yes
## SUBTITLES ##
embeddedfonts=yes
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
sub-ass-vsfilter-blur-compat=yes # Backward compatibility for vsfilter fansubs
demuxer-mkv-subtitle-preroll # try to correctly show embedded subs when seeking
sub-auto=fuzzy # external subs don't have to match the file name exactly to autoload
sub-ass-scale-with-window=no
sub-fix-timing=no
## OSC ##
osc=no
## AUDIO ##
audio-stream-silence # fix audio popping on random seek
audio-pitch-correction=yes # automatically insert scaletempo when playing with higher speed
## OSD ##
osd-bar=no
#osd-font=Ubuntu
osd-font=Bebas Neue
osd-font-size=52
## EXTENSIONS ##
glsl-shaders-clr
glsl-shaders="~~/shaders/SSimSuperRes.glsl"
glsl-shaders-append="~~/shaders/KrigBilateral.glsl"
## YT-DLP Options ##
# cookies-from-browser=[brave, chrome, chromium, edge, firefox, opera, safari, vivaldi]
ytdl-raw-options=cookies-from-browser=firefox,retries=infinite,ignore-config=,no-write-subs=,no-embed-subs=
ytdl-format=bestvideo[height<=?1080]+bestaudio/best[height<=?1080]
ytdl=no
[Default_Settings]
profile-restore=default
video-sync=display-resample
volume-max=150
cache=yes
vo=gpu
profile=gpu-hq
gpu-api=opengl
gpu-context=win
vulkan-swap-mode=fifo-relaxed
hwdec=auto-safe
dither-depth=auto
scale=ewa_lanczos4sharpest
cscale=spline64
dscale=mitchell
correct-downscaling=yes
linear-downscaling=yes
sigmoid-upscaling=yes
hr-seek-framedrop=no
msg-color=yes
msg-module=yes
target-colorspace-hint=yes
hdr-compute-peak=auto
tone-mapping=auto
autocreate-playlist=same # autoload.lua native replacement
deband=yes # Activate debanding
deband-iterations=4 # 1 Deband steps (More = Better quality, but higher GPU cost)
deband-threshold=48 # 70 Deband strength (More = Less banding, but more detail loss)
deband-range=16 # Deband range (More = Less banding, but higher GPU cost)
deband-grain=48 # 5 Dynamic Grain (More = More dynamic grain)
dither=fruit
slang=eng,en,jpn,jp
af-clr
profile=Default_Shaders
[Downmix_Audio_5_1]
# Automatic Audio Downmix Profile 5.1
profile-cond=get("audio-params/channel-count") >= 5 and get("audio-params/channel-count") < 7
profile-restore=copy-equal
volume-max=200
af=lavfi="lowpass=c=LFE:f=120,volume=1.6,pan=stereo|FL=0.5*FC+0.707*FL+0.707*BL+0.5*LFE|FR=0.5*FC+0.707*FR+0.707*BR+0.5*LFE"
[Downmix_Audio_7_1]
# Automatic Audio Downmix Profile 7.1
profile-cond=get("audio-params/channel-count") >= 7
profile-restore=copy-equal
volume-max=200
af=lavfi="lowpass=c=LFE:f=120,volume=1.6,pan=stereo|FL=0.5*FC+0.3*FLC+0.3*FL+0.3*BL+0.3*SL+0.5*LFE|FR=0.5*FC+0.3*FRC+0.3*FR+0.3*BR+0.3*SR+0.5*LFE"
[Default_Shaders]
profile-restore=default
glsl-shaders="~~/shaders/SSimSuperRes.glsl"
glsl-shaders-append="~~/shaders/KrigBilateral.glsl"
[removeshaders_from_higher_than_1080]
profile-cond=height > 1080
profile-restore=copy-equal
glsl-shaders-set=""
[powersavingmode]
# DISABLE ALL ENHANCEMENTS
profile-restore=copy
video-sync=audio
scale=bilinear
cscale=bilinear
dscale=bilinear
deband=yes
dither=fruit
hdr-compute-peak=auto
cache=yes
fbo-format=auto
glsl-shaders-set=""
deband-iterations=1 # 1 Deband steps (More = Better quality, but higher GPU cost)
deband-threshold=48 # 70 Deband strength (More = Less banding, but more detail loss)
deband-range=16 # Deband range (More = Less banding, but higher GPU cost)
deband-grain=48 # 5 Dynamic Grain (More = More dynamic grain)
[protocol-network]
network-timeout=50
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
[protocol.file]
network-timeout=5
force-window=immediate
cache=yes
demuxer-max-bytes=2000MiB
demuxer-readahead-secs=300
force-seekable=yes
[extension.gif]
cache=no
no-pause
loop-file=yes
[audio-only]
profile-restore=copy
osd-level=3
scale=bilinear
cscale=bilinear
dscale=bilinear
deband=no
dither=fruit
fbo-format=auto
hdr-compute-peak = auto
glsl-shaders-set=""