X-Git-Url: https://ruderich.org/simon/gitweb/?p=config%2Fdotfiles.git;a=blobdiff_plain;f=multimedia%2Fmpv%2Fmpv.conf;fp=multimedia%2Fmpv%2Fmpv.conf;h=19eeaa3203f9fc522ae2995bc624ceea2a79bb6a;hp=0000000000000000000000000000000000000000;hb=8442aaf94abd0faeda81b6d2700c5e81a3357649;hpb=fa4f8dee46debc5351b37d24a25bde34cae9ee12 diff --git a/multimedia/mpv/mpv.conf b/multimedia/mpv/mpv.conf new file mode 100644 index 0000000..19eeaa3 --- /dev/null +++ b/multimedia/mpv/mpv.conf @@ -0,0 +1,64 @@ +# Mpv (mplayer2 fork) configuration file. + +# Copyright (C) 2011-2015 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 +# the Free Software Foundation, either version 3 of the License, or +# (at your option) any later version. +# +# This file is distributed in the hope that it will be useful, +# but WITHOUT ANY WARRANTY; without even the implied warranty of +# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +# GNU General Public License for more details. +# +# You should have received a copy of the GNU General Public License +# along with this file. If not, see . + + +# 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 + +# Fullscreen playback. +fs=yes + +# Prefer English and German audio and subtitles. +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 + +# Reduce subtitle size (default is 45). +sub-text-font-size=33 +# Increase bottom margin for subtitles (default is 10). Makes them more +# pleasant to read for me. +sub-text-margin-y=30 + +# Disable the mouse as I don't use it. +input-cursor=no + +# Always hide the cursor when playing a movie in fullscreen movie. +cursor-autohide=always +cursor-autohide-fs-only + +# Disable "on screen controller". I use the keyboard only. +osc=no + +# Display position/length and cache in the progress overlay ("P" binding). +# 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