]> ruderich.org/simon Gitweb - config/dotfiles.git/blob - multimedia/mpv/mpv.conf
Merge branch 'multimedia'
[config/dotfiles.git] / multimedia / mpv / mpv.conf
1 # Mpv (mplayer2 fork) configuration file.
2
3 # Copyright (C) 2011-2015  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 # Disable the mouse as I don't use it.
48 input-cursor=no
49
50 # Always hide the cursor when playing a movie in fullscreen movie.
51 cursor-autohide=always
52 cursor-autohide-fs-only
53
54 # Disable "on screen controller". I use the keyboard only.
55 osc=no
56
57 # Display position/length and cache in the progress overlay ("P" binding).
58 # Thanks to wm4 in $mpv-player on Freenode (2014-08-18 01:24 CEST).
59 osd-status-msg="${time-pos} / ${length} (${percent-pos}%)${?cache: Cache: ${cache}%}"
60
61 # Don't display attached pictures in sound files.
62 audio-display=no
63
64 # vim: ft=mplayerconf