X-Git-Url: https://ruderich.org/simon/gitweb/?a=blobdiff_plain;f=multimedia%2Fmpv%2Fmpv.conf;h=31d6c8eff88e8d3cd104b4d24ddbab37fd6fec40;hb=d6d4106445e4a4bcbe318cfa05792544bfabc8ce;hp=eb4ff5ca9f8123f56cf0349a54043037080c9562;hpb=416ce61606a742ea16b9e121b2e279416375860a;p=config%2Fdotfiles.git diff --git a/multimedia/mpv/mpv.conf b/multimedia/mpv/mpv.conf index eb4ff5c..31d6c8e 100644 --- a/multimedia/mpv/mpv.conf +++ b/multimedia/mpv/mpv.conf @@ -1,6 +1,6 @@ # Mpv (mplayer2 fork) configuration file. -# Copyright (C) 2011-2016 Simon Ruderich +# Copyright (C) 2011-2023 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,6 +16,9 @@ # along with this file. If not, see . +# Use hardware decoding if possible +hwdec=auto + # Use ALSA as audio driver. ao=alsa # Set default value of internal mixer (0-100). Since 0.18.1 mpv has no access @@ -59,9 +62,21 @@ 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}%}" +osd-status-msg="${time-pos} / ${duration} (${percent-pos}%)${?demuxer-cache-duration: Cache: ${demuxer-cache-duration}s}" # Don't display attached pictures in sound files. audio-display=no +# Increase cache size +demuxer-max-bytes=300MiB + +# Load and cache next title in playlist before the current file is ending. +# Very useful when watching series. +prefetch-playlist=yes + +# Save secondary-sid to watch-later state files. Note that this won't work if +# --secondary-sid is used on the command line (mpv only saves settings with a +# different value). +watch-later-options-append=secondary-sid + # vim: ft=mplayerconf