-
Notifications
You must be signed in to change notification settings - Fork 0
/
mpv.conf
135 lines (86 loc) · 2.3 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
# Audio {{{
# Specify the audio output drivers to be used.
ao=pulse
# }}}
# Input {{{
# Disable default key bindings.
input-default-bindings=no
# }}}
# Track selection {{{
# Specify a priority list of audio languages to use.
alang=eng,jpn
# Specify a priority list of subtitle languages to use.
slang=eng,ell
# }}}
# Network {{{
# User agent for HTTP streaming.
user-agent="Mozilla/5.0 (X11; Linux x86_64) mpv/0.33.0"
# }}}
# OSD {{{
# Set the duration of the OSD messages in ms.
osd-duration=5000
# Specify font to use for OSD.
osd-font="Fantasque Sans Mono"
# Specify the OSD font size.
osd-font-size=25
# }}}
# Program Behavior {{{
# Makes mpv wait idly instead of quitting
# when there is no file to play.
idle=yes
# Always save the current playback position on quit.
save-position-on-quit=yes
# Video format/quality that is directly passed to youtube-dl.
ytdl-format=bv*[height<=1080]+ba/b
# Options that are directly passed to youtube-dl.
ytdl-raw-options="yes-playlist="
# }}}
# Screenshot {{{
# Store screenshots in this directory.
screenshot-directory=~/Pictures/
# Set the image file type used for saving screenshots.
screenshot-format=webp
# Set the WebP compression level.
screenshot-webp-compression=5
# Write lossless WebP files.
screenshot-webp-lossless=yes
# Specify the filename template used to save screenshots.
screenshot-template=shot_%F_%wH-%wM-%wS
# }}}
# Video {{{
# Specify the hardware video decoding API
# that should be used if possible.
hwdec=vaapi
# Specify the video output backend to be used.
vo=gpu
# Control the accepted graphics API.
# gpu-api=vulkan
#
# Select the GPU context.
# gpu-context=x11vk
# }}}
# Window {{{
# Do not terminate when playing or seeking
# beyond the end of the file.
keep-open=yes
# In multi-monitor configurations, this option
# tells mpv which screen to display the video on.
screen=1
# }}}
# Subtitles {{{
# Load all subs in the current and sub-file-paths directories.
sub-auto=fuzzy
# Specify extra directories to search for subtitles.
sub-file-paths=Subs
# Specify the default subtitle font.
sub-font="FiraGO Medium"
# }}}
# Profiles {{{
# Restore values when changing profiles.
profile-restore=copy-equal
[anime]
profile-cond="filename:match('%[ASW]') ~= nil"
sub-ass-override=force
sub-font-size=46
# }}}
# vim:ft=cfg:fdm=marker:fdl=1: