# Mpv (mplayer2 fork) configuration file.
-# Copyright (C) 2011-2014 Simon Ruderich
+# Copyright (C) 2011-2016 Simon Ruderich
#
# This file is free software: you can redistribute it and/or modify
# it under the terms of the GNU General Public License as published by
# along with this file. If not, see <http://www.gnu.org/licenses/>.
-# Use option (high quality, preferred), xv (hardware accelerated) or x11 as
-# video driver.
-vo=opengl-hq,xv,x11
# Use ALSA as audio driver, use PCM for volume control.
ao=alsa:mixer-name=PCM
-# Use the audio driver volume control if possible.
-softvol=no
+# Set default value of internal mixer (0-100). Since 0.18.1 mpv has no access
+# to hardware mixer.
+volume=50
# Fullscreen playback.
fs=yes
alang=jpn,en,eng,de,ger
slang=en,eng,de,ger
+# When playing MKV files try to always display the subtitle at the exact seek
+# position by seeking a little further when looking for it. Otherwise only the
+# next subtitle will be displayed. Thanks to lachs0r in #mpv on Freenode
+# (2015-03-10 02:16 CET).
+demuxer-mkv-subtitle-preroll=yes
+
# But don't display subtitles by default. Thanks to wm4 in #mpv-player on
# Freenode (2013-10-09 23:42 CEST) for this idea.
sub-visibility=no
# pleasant to read for me.
sub-text-margin-y=30
-# Disable LIRC as I don't use it.
-input-lirc=no
+# Try to find subtitles in similar-looking file names.
+sub-auto=fuzzy
+
# Disable the mouse as I don't use it.
input-cursor=no
# Thanks to wm4 in $mpv-player on Freenode (2014-08-18 01:24 CEST).
osd-status-msg="${time-pos} / ${length} (${percent-pos}%)${?cache: Cache: ${cache}%}"
+# Don't display attached pictures in sound files.
+audio-display=no
+
# vim: ft=mplayerconf