X-Git-Url: https://ruderich.org/simon/gitweb/?a=blobdiff_plain;f=mpv%2Fmpv.conf;h=eb4ff5ca9f8123f56cf0349a54043037080c9562;hb=e97bbde3f921b463259068089c1bbfd0e64eebc7;hp=f3d0d74ad79c975879d3244ab732e27477e8e9b5;hpb=31d4c9c6367cc8a457c28afe9e6855757f4318a1;p=config%2Fdotfiles.git diff --git a/mpv/mpv.conf b/mpv/mpv.conf index f3d0d74..eb4ff5c 100644 --- a/mpv/mpv.conf +++ b/mpv/mpv.conf @@ -1,6 +1,6 @@ # 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 @@ -16,26 +16,52 @@ # along with this file. If not, see . -# 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 +# Use ALSA as audio driver. +ao=alsa +# 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 # Prefer English and German audio and subtitles. -alang=en,de -slang=en,de +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 -# Disable LIRC as I don't use it. -lirc=no +# Reduce subtitle size (default is 45). +sub-font-size=33 +# Increase bottom margin for subtitles (default is 10). Makes them more +# pleasant to read for me. +sub-margin-y=30 + +# Try to find subtitles in similar-looking file names. +sub-auto=fuzzy + +# Disable the mouse as I don't use it. +input-cursor=no + +# Always hide the cursor. +cursor-autohide=always + +# 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} / ${duration} (${percent-pos}%)${?cache-percent: Cache: ${cache-percent}%}" + +# Don't display attached pictures in sound files. +audio-display=no # vim: ft=mplayerconf