-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathmpv.conf
146 lines (121 loc) · 3.04 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
# osd
#osd-level=3
osc=no
# uosc provides its own seeking/volume indicators, so you also don't need this
osd-bar=no
# uosc will draw its own window controls if you disable window border
border=no
osd-fractions
# Video settings
#vd-lavc-dr=yes
vd-lavc-dr=no
#vulkan-async-compute
#spirv-compiler=shaderc
#vulkan-queue-count=3
hdr-compute-peak=yes
swapchain-depth=3
vo=gpu
gpu-api=vulkan
profile=gpu-hq
deband=no
scale=ewa_lanczossharp
cscale=ewa_lanczossharp
video-sync=display-resample
interpolation
tscale=oversample
#glsl-shader="~/.config/mpv/shaders/FSRCNNX_x2_8-0-4-1.glsl"
#glsl-shaders="~~/shaders/Anime4K_Denoise_Bilateral_Mode.glsl:~~/shaders/Anime4K_DarkLines_HQ.glsl:~~/shaders/Anime4K_ThinLines_HQ.glsl:~~/shaders/Anime4K_Upscale_CNN_M_x2_Deblur.glsl"
vd-lavc-threads=16
deband-iterations=2
deband-threshold=48
deband-range=10
deband-grain=16
video-sync=display-resample
dither-depth=8
dither=fruit
dither-size-fruit=6
temporal-dither
temporal-dither-period=1
# Screenshots
screenshot-directory="/home/kbaran/usr/screenshots/mpv"
screenshot-template="shot-%P"
screenshot-format=png
screenshot-png-compression=9
screenshot-tag-colorspace=yes
screenshot-high-bit-depth=yes
# Audio speed
af=scaletempo
# Window size
autofit=40%
#border
#blend-subtitles=yes
# youtube-dl settings
#ytdl-format="(bestvideo[height<=?720][vcodec!=?vp9]/bestvideo)+(bestaudio[acodec=opus]/bestaudio)/best[height<=?720][vcodec!=?vp9]/best[height<=?720]/best"
# New useragent
user-agent="Mozilla/5.0 (Windows NT 10.0; rv:78.0) Gecko/20100101 Firefox/78.0"
#ao=jack
volume=70
volume-max=100
audio-channels=2
# Hide album art
audio-display=no
# Miscellaneous
fullscreen=no
msg-color=yes
force-seekable
#ass-force-style=Kerning=yes
# Default sub lang
slang=pl,eng,en,enUS,en-US
alang=pl,eng,en,enUS,en-US
ytdl-raw-options=sub-lang="pl,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="sans"
#osd-font-size=20
osd-color="#ffffffff"
osd-border-color="#ff151515"
osd-border-size=3
osd-shadow-offset=1
osd-shadow-color="#11000000"
# Sub rice (eg. for srt)
#sub-font="Source Sans Pro Semibold"
sub-font="sans"
sub-font-size=45
sub-margin-y=20
sub-color="#FFFFFFFF"
sub-color="#edda62"
sub-border-color="#FF151515"
sub-border-size=3.2
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=yes
## 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
loop-file=inf
[protocol.https]
profile=protocol.http
[protocol.ytdl]
profile=protocol.http
# Audio-only content
[audio]
force-window=no
no-video
ytdl-format=bestaudio/best
# Image files (e.g. for using mpv as a pseudo image viewer)
[image]
mute=yes
scale=ewa_lanczossharp
background=0.1
video-unscaled=yes
title="mvi - ${?media-title:${media-title}}${!media-title:No file}"
image-display-duration=inf
loop-file=yes
pause
[nocms]
profile=image
icc-profile-auto=no