-
-
Notifications
You must be signed in to change notification settings - Fork 2
/
Copy pathmpv.conf
136 lines (118 loc) · 4.01 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
#########################################
# Misc settings, not related to quality #
#########################################
# Display time elapsed and playtime in the top left corner
#osd-level=3
save-position-on-quit
#display-fps=60
screenshot-format=png
ad-lavc-downmix=no
audio-channels=stereo
af=dynaudnorm
# Default sub/audio lang.
slang=enGB,en-GB,en,eng,enUS,en-US,unknown
alang=ja,jp,jpn,enGB,en-GB,en,eng,enUS,en-US
ytdl-raw-options=sub-lang="ja,jp,jpn,enGB,en-GB,en,eng,enUS,en-US",write-sub=
# Forces showing subtitles while seeking through the video
demuxer-mkv-subtitle-preroll
# Backward compatibility for vsfilter fansubs
sub-ass-use-video-data=all
no-border
osd-font='Alte Haas Grotesk Regular'
osd-font-size=14
osd-bar-h=2.125
osd-bold=no
osd-color='#CCFFFFFF' # ARGB format
osd-border-color='#DD322640' # ARGB format
#osd-shadow-offset=1 # pixel width for osd text and progress bar
osd-bar-align-y=0 # progress bar y alignment (-1 top, 0 centered, 1 bottom)
osd-border-size=2 # size for osd text and progress bar
osd-bar-h=2 # height of osd bar as a fractional percentage of your screen height
osd-bar-w=60 # width of " " "
hls-bitrate=max # use max quality for HLS streams
sub-use-margins
sub-ass-force-margins
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-file-paths=ass:srt:sub:subs:subtitles # search for external subs in the listed subdirectories
embeddedfonts=yes # use embedded fonts for SSA/ASS subs
sub-ass-style-overrides=Kerning=yes # allows you to override style parameters of ASS scripts
# the following options only apply to subtitles without own styling (i.e. not ASS but e.g. SRT)
sub-font="Alte Haas Grotesk Bold"
sub-font-size=36
sub-color="#FFFFFFFF"
sub-border-color="#FF262626"
sub-border-size=1.5
sub-shadow-offset=1
sub-shadow-color="#33000000"
sub-spacing=0.5
sub-ass-override=force
blend-subtitles
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
fs=yes
pause=yes
autofit-larger=90%x90%
hls-bitrate=max
hdr-compute-peak
################
# Video Output #
################
[high-quality]
profile-desc="High quality VO settings"
video-output-levels=full
opengl-swapinterval=1
scale=ewa_lanczossharp
cscale=ewa_lanczossoft
dscale=ewa_lanczossharp
tscale=box
tscale-window=quadric
tscale-radius=1
tscale-radius=1.1 #1.025
tscale-clamp=0.0
scale-radius=2
scale-antiring=1
cscale-antiring=1
scaler-resizes-only
sigmoid-upscaling
hdr-compute-peak=yes
correct-downscaling
temporal-dither
#deband
deband=no
deband-iterations=4
deband-threshold=48
deband-range=16
deband-grain=48
dither-depth=auto
gpu-context=auto
blend-subtitles=yes
interpolation=yes
video-sync=display-resample
sigmoid-upscaling
vulkan-async-compute=yes
vulkan-async-transfer=yes
vulkan-queue-count=1
no-pause
target-colorspace-hint=yes
interpolation-preserve
window-corners=round
#hwdec=auto
[default]
profile=high-quality
###################################
# Protocol Specific Configuration #
###################################
[protocol.https]
cache-secs=100 # how many seconds of audio/video to prefetch
user-agent='Mozilla/5.0 (Macintosh; Intel Mac OS X 10.11; rv:47.0) Gecko/20100101 Firefox/47.0'
[protocol.http]
cache-secs=100 # how many seconds of audio/video to prefetch
user-agent='Mozilla/5.0 (Macintosh; Intel Mac OS X 10.11; rv:47.0) Gecko/20100101 Firefox/47.0'
[extension.gif]
cache=no
no-pause
loop-file=yes
[extension.webm]
no-pause
loop-file=yes