1
+
1
2
# Uses GPU-accelerated video output by default.
2
3
vo=gpu
3
- # Can cause performance problems with some drivers and GPUs.
4
+ # Can cause performance problems with some GPU drivers and GPUs.
4
5
profile=gpu-hq
5
6
6
- # ===== REMOVE THE ABOVE LINES AND RESAVE IF YOU ENCOUNTER PLAYBACK ISSUES =====
7
+ # ===== REMOVE THE ABOVE FOUR LINES AND RESAVE IF YOU ENCOUNTER PLAYBACK ISSUES AFTER =====
7
8
8
9
# Source: https://github.com/hl2guide/better-mpv-config
9
10
11
+ # External Sources:
12
+ # * https://raw.githubusercontent.com/classicjazz/mpv-config/master/mpv.conf
13
+
14
+ # Enables best HW decoder; turn off for software decoding
15
+ hwdec=auto
16
+
17
+ border=no # hides the window title bar
18
+ msg-color=yes # color log messages on terminal
19
+ term-osd-bar=yes # display a progress bar on the terminal
20
+ cursor-autohide=1000 # autohide the curser after 1s
21
+
22
+ # Sets a custom font
23
+ osd-font='Iosevka'
24
+ # osd-font-size=55
25
+ # osd-scale=0.5
26
+
10
27
# Saves the seekbar position on exit
11
28
save-position-on-quit=yes
12
29
13
30
# Uses a large seekable RAM cache even for local input.
14
31
cache=yes
15
32
# cache-secs=300
16
33
# Uses extra large RAM cache (needs cache=yes to make it useful).
17
- demuxer-max-bytes=800M
18
- demuxer-max-back-bytes=200M
19
- # Sets volume to 70%.
20
- volume=70
34
+ demuxer-max-bytes=1800M
35
+ demuxer-max-back-bytes=1200M
21
36
37
+ # ===== Audio =====
38
+
39
+ # Sets volume to 60%.
40
+ volume=60
41
+
42
+ # Normalizes audio
22
43
af-add='dynaudnorm=g=5:f=250:r=0.9:p=0.5'
23
44
24
- # Custom Profiles
45
+ # ===== Color Space =====
46
+ target-trc=auto
47
+ gamma-auto
48
+ vf=format=colorlevels=full:colormatrix=auto
49
+ video-output-levels=full
50
+
51
+ # ===== Dithering =====
52
+ dither-depth=auto
53
+ temporal-dither=yes
54
+ dither=fruit
55
+
56
+ # ===== Debanding =====
57
+ deband=yes # enabled by default
58
+ deband-iterations=4 # deband steps
59
+ deband-threshold=48 # deband strength
60
+ deband-range=16 # deband range
61
+ deband-grain=48 # dynamic grain: set to "0" if using the static grain shader
62
+
63
+ # ===== Subtitles =====
64
+ blend-subtitles=yes
65
+
66
+ # ===== Motion Interpolation =====
67
+ override-display-fps=60
68
+ video-sync=display-resample
69
+ interpolation=yes
70
+ tscale=oversample # smoothmotion
71
+
72
+ # ===== Anti-Ringing =====
73
+ scale-antiring=0.7 # luma upscale deringing
74
+ dscale-antiring=0.7 # luma downscale deringing
75
+ cscale-antiring=0.7 # chroma upscale deringing
76
+
77
+ # ===== Upscaling & Processing =====
78
+ glsl-shaders-clr
79
+ # luma upscaling
80
+ # note: any FSRCNNX above FSRCNNX_x2_8-0-4-1 is not worth the additional computional overhead
81
+ glsl-shaders="~/AppData\Roaming\mpv\shaders\FSRCNNX_x2_8-0-4-1.glsl"
82
+ scale=ewa_lanczos
83
+ # luma downscaling
84
+ # note: ssimdownscaler is tuned for mitchell and downscaling=no
85
+ glsl-shaders-append="~/AppData\Roaming\mpv\shaders\SSimDownscaler.glsl"
86
+ dscale=mitchell
87
+ linear-downscaling=no
88
+ # chroma upscaling and downscaling
89
+ glsl-shaders-append="~/AppData\Roaming\mpv\shaders\KrigBilateral.glsl"
90
+ cscale=mitchell
91
+ sigmoid-upscaling=yes
92
+
93
+ # ===== Custom Profiles =====
25
94
# Uses specific naming convensions for shorter easier typing.
26
95
# Naming Convensions:
27
96
# V = Very Low, L = Low, M = Medium, H = High, U = Ultra, S = Supreme
@@ -65,7 +134,7 @@ ytdl-format=bestvideo[height<=?480][fps<=?60][vcodec!=?vp9]+bestaudio/best
65
134
[V30]
66
135
ytdl-format=bestvideo[height<=?480][fps<=?30][vcodec!=?vp9]+bestaudio/best
67
136
68
- # File Type Profiles
137
+ # ===== File Type Profiles =====
69
138
# GIF Files
70
139
[extension.gif]
71
140
cache=no
@@ -76,5 +145,15 @@ loop-file=yes
76
145
no-pause
77
146
loop-file=yes
78
147
79
- osd-scale=1
80
- osd-font-size=55
148
+ # ===== Protocol Specific Configuration =====
149
+
150
+ [protocol.http]
151
+ hls-bitrate=max # use max quality for HLS streams
152
+ cache=yes
153
+ no-cache-pause # don't pause when the cache runs low
154
+
155
+ [protocol.https]
156
+ profile=protocol.http
157
+
158
+ [protocol.ytdl]
159
+ profile=protocol.http
0 commit comments