]> ruderich.org/simon Gitweb - config/dotfiles.git/blob - mpv/mpv.conf
aae4784cba712cf4d8beda2a1699ddf68c37ec8f
[config/dotfiles.git] / mpv / mpv.conf
1 # Mpv (mplayer2 fork) configuration file.
2
3 # Copyright (C) 2011-2016  Simon Ruderich
4 #
5 # This file is free software: you can redistribute it and/or modify
6 # it under the terms of the GNU General Public License as published by
7 # the Free Software Foundation, either version 3 of the License, or
8 # (at your option) any later version.
9 #
10 # This file is distributed in the hope that it will be useful,
11 # but WITHOUT ANY WARRANTY; without even the implied warranty of
12 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
13 # GNU General Public License for more details.
14 #
15 # You should have received a copy of the GNU General Public License
16 # along with this file.  If not, see <http://www.gnu.org/licenses/>.
17
18
19 # Use ALSA as audio driver, use PCM for volume control.
20 ao=alsa:mixer-name=PCM
21 # Use the audio driver volume control if possible.
22 softvol=no
23
24 # Fullscreen playback.
25 fs=yes
26
27 # Prefer English and German audio and subtitles.
28 alang=jpn,en,eng,de,ger
29 slang=en,eng,de,ger
30
31 # When playing MKV files try to always display the subtitle at the exact seek
32 # position by seeking a little further when looking for it. Otherwise only the
33 # next subtitle will be displayed. Thanks to lachs0r in #mpv on Freenode
34 # (2015-03-10 02:16 CET).
35 demuxer-mkv-subtitle-preroll=yes
36
37 # But don't display subtitles by default. Thanks to wm4 in #mpv-player on
38 # Freenode (2013-10-09 23:42 CEST) for this idea.
39 sub-visibility=no
40
41 # Reduce subtitle size (default is 45).
42 sub-text-font-size=33
43 # Increase bottom margin for subtitles (default is 10). Makes them more
44 # pleasant to read for me.
45 sub-text-margin-y=30
46
47 # Try to find subtitles in similar-looking file names.
48 sub-auto=fuzzy
49
50 # Disable the mouse as I don't use it.
51 input-cursor=no
52
53 # Always hide the cursor when playing a movie in fullscreen movie.
54 cursor-autohide=always
55 cursor-autohide-fs-only
56
57 # Disable "on screen controller". I use the keyboard only.
58 osc=no
59
60 # Display position/length and cache in the progress overlay ("P" binding).
61 # Thanks to wm4 in $mpv-player on Freenode (2014-08-18 01:24 CEST).
62 osd-status-msg="${time-pos} / ${length} (${percent-pos}%)${?cache: Cache: ${cache}%}"
63
64 # Don't display attached pictures in sound files.
65 audio-display=no
66
67 # vim: ft=mplayerconf