X-Git-Url: https://ruderich.org/simon/gitweb/?a=blobdiff_plain;f=multimedia%2Fmpv%2Fmpv.conf;h=96ebf6d680f24e60769f941120e67f4b580e994c;hb=e0781e9769805ba0afeeb24876f3f93689eab7f1;hp=eb4ff5ca9f8123f56cf0349a54043037080c9562;hpb=416ce61606a742ea16b9e121b2e279416375860a;p=config%2Fdotfiles.git diff --git a/multimedia/mpv/mpv.conf b/multimedia/mpv/mpv.conf index eb4ff5c..96ebf6d 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,16 @@ 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 + # vim: ft=mplayerconf