]> ruderich.org/simon Gitweb - config/dotfiles.git/blob - multimedia/mpv/mpv.conf
shell: set GOTOOLCHAIN=local
[config/dotfiles.git] / multimedia / mpv / mpv.conf
1 # Mpv (mplayer2 fork) configuration file.
2
3 # Copyright (C) 2011-2023  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 hardware decoding if possible
20 hwdec=auto
21
22 # Set default value of internal mixer (0-100). Since 0.18.1 mpv has no access
23 # to hardware mixer.
24 volume=50
25
26 # Fullscreen playback.
27 fs=yes
28
29 # Prefer English and German audio and subtitles.
30 alang=jpn,en,eng,de,ger
31 slang=en,eng,de,ger
32
33 # When playing MKV files try to always display the subtitle at the exact seek
34 # position by seeking a little further when looking for it. Otherwise only the
35 # next subtitle will be displayed. Thanks to lachs0r in #mpv on Freenode
36 # (2015-03-10 02:16 CET).
37 demuxer-mkv-subtitle-preroll=yes
38
39 # But don't display subtitles by default. Thanks to wm4 in #mpv-player on
40 # Freenode (2013-10-09 23:42 CEST) for this idea.
41 sub-visibility=no
42
43 # Reduce subtitle size (default is 45).
44 sub-font-size=33
45 # Increase bottom margin for subtitles (default is 10). Makes them more
46 # pleasant to read for me.
47 sub-margin-y=30
48
49 # Try to find subtitles in similar-looking file names.
50 sub-auto=fuzzy
51
52 # Disable the mouse as I don't use it.
53 input-cursor=no
54
55 # Always hide the cursor.
56 cursor-autohide=always
57
58 # Disable "on screen controller". I use the keyboard only.
59 osc=no
60
61 # Display position/length and cache in the progress overlay ("P" binding).
62 # Thanks to wm4 in $mpv-player on Freenode (2014-08-18 01:24 CEST).
63 osd-status-msg="${time-pos} / ${duration} (${percent-pos}%)${?demuxer-cache-duration: Cache: ${demuxer-cache-duration}s}"
64
65 # Don't display attached pictures in sound files.
66 audio-display=no
67
68 # Increase cache size
69 demuxer-max-bytes=300MiB
70
71 # Load and cache next title in playlist before the current file is ending.
72 # Very useful when watching series.
73 prefetch-playlist=yes
74
75 # Save secondary-sid to watch-later state files. Note that this won't work if
76 # --secondary-sid is used on the command line (mpv only saves settings with a
77 # different value).
78 watch-later-options-append=secondary-sid
79 # Also keep play/pause state (necessary since 0.37).
80 watch-later-options-append=pause
81
82 # vim: ft=mplayerconf