This repository has been archived by the owner on Jan 3, 2021. It is now read-only.
/
config
211 lines (175 loc) · 4.09 KB
/
config
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
# Muh placebo
vo=gpu
gpu-api=opengl
profile=gpu-hq
vd-lavc-dr=yes
opengl-pbo=yes
scale=haasnsoft
scale-clamp=0.2
cscale=ewa_lanczos
glsl-shader=~~/shaders/ravu-r3-rgb.hook
glsl-shader=~~/shaders/ravu-r3-rgb.hook
icc-profile-auto=yes
icc-cache-dir=/tmp/mpv-icc
gpu-shader-cache-dir=/tmp/mpv-shaders/
# Interpolation
video-sync=display-resample
interpolation=yes
tscale=oversample
blend-subtitles=yes
# Misc video settings
deband-iterations=2
deband-range=12
temporal-dither=yes
vf-defaults=yadif:interlaced-only=no
# TFW fell for the 64 GiB RAM meme
cache=auto
cache-secs=1000000
demuxer-seekable-cache=yes
demuxer-max-bytes=2000000000
demuxer-max-back-bytes=1000000000
# youtube-dl settings
ytdl=yes
ytdl-format=(bestvideo[vcodec=vp9.2]/bestvideo[vcodec=vp9][fps>30]/bestvideo[vcodec=vp9][height>=1080]/bestvideo[fps>30]/bestvideo[height>720])+(bestaudio[acodec=opus]/bestaudio)/best
# Sigh, ALSA is even worse than PulseAudio
ao=pulse
pulse-buffer=250
pulse-latency-hacks=yes
volume=50
volume-max=100
audio-pitch-correction=no
audio-normalize-downmix=yes
audio-device='alsa_output.usb-Yoyodyne_Consulting_ODAC-revB-01.iec958-stereo'
af-add=@audnorm:!loudnorm=I=-25:TP=-1.5:LRA=1
af-add=@dynnorm:!dynaudnorm=f=200:g=5:r=0.1
# Hide album art
audio-display=no
# Miscellaneous
fullscreen=no
msg-color=yes
msg-module=yes
screenshot-directory=/mem
load-unsafe-playlists=yes
# torque/progressbar is better
no-osc
# Default sub lang
slang=eng,en,enUS,en-US
alang=jpn,jp,eng,en,enUS,en-US
ytdl-raw-options=sub-lang="en,eng,enUS,en-US",write-sub=
# Output some video stats
term-playing-msg='Resolution: ${width}x${height}, Framerate: ${container-fps} Hz'
# OSD rice (for file info)
osd-font-size=20
osd-color="#ffffffff"
osd-border-color="#ff151515"
osd-border-size=2
osd-shadow-offset=1
osd-shadow-color="#11000000"
osd-fractions
# Sub rice
sub-ass-force-style=Kerning=yes
sub-ass-override=scale
sub-scale=0.5
sub-pos=60
sub-font="Liberation Sans"
sub-font-size=70
sub-margin-y=50
sub-color="#FFFFFFFF"
sub-border-color="#FF151515"
sub-border-size=6
sub-shadow-offset=1
sub-shadow-color="#33000000"
sub-spacing=0.5
# Stupidly hard to read subs on a 60° display
sub-scale-by-window=no
## Profiles
# I don't want to wait ages for the window to finally show up before I can move my focus around again
[protocol.http]
force-window=immediate
[protocol.https]
profile=protocol.http
[protocol.ytdl]
profile=protocol.http
# Audio-only content
[audio]
mute=no
force-window=no
no-video
ytdl-format=bestaudio/best
cache-initial=1
[normalize]
volume=70
af-toggle=@audnorm
[yeti]
profile=audio
profile=normalize
pause=no
volume=100
audio-device='pulse/alsa_output.usb-Blue_Microphones_Yeti_Stereo_Microphone_REV8-00.analog-stereo'
[bot]
profile=audio
audio-device='pulse/alsa_output.platform-snd_aloop.0.analog-stereo'
# Play a youtube playlist in reverse
[reverse]
ytdl-raw-options=playlist-reverse=
# Fix up broken color ranges
[fixtv]
contrast=9
brightness=-7
[nobass]
af-pre=bass=gain=-10
[nodir]
sub-auto=no
audio-file-auto=no
# Image files (e.g. for using mpv as a pseudo image viewer)
[image]
profile=nodir
glsl-shaders-clr
mute=yes
scale=ewa_lanczos
background=0.1
input-conf=~~/input-image.conf
video-unscaled=yes
title="mvi - ${?media-title:${media-title}}${!media-title:No file}"
image-display-duration=inf
loop-file=yes
[extension.gif]
interpolation=no
# Ignore aspect ratio information for PNG and JPG, because it's universally bust
[extension.png]
video-aspect=no
[extension.jpg]
video-aspect=no
[extension.jpeg]
profile=extension.jpg
[nocms]
profile=image
icc-profile-auto=no
[web]
profile=normalize
loop-file=yes
[booru]
profile=image
profile=normalize
video-unscaled=no
force-window=immediate
# Higher quality screenshots. Low compression rate to speed up saving,
# since I'm saving to tmpfs anyway
[scrot]
screenshot-format=png
screenshot-png-compression=0
screenshot-png-filter=0
screenshot-tag-colorspace=yes
screenshot-high-bit-depth=yes
[bench]
audio=no
untimed=yes
video-sync=display-desync
vulkan-swap-mode=immediate
opengl-swapinterval=0
osd-msg1="FPS: ${estimated-display-fps}"
[4k]
profile=normalize
fullscreen=yes
vd-lavc-threads=32
deband=no