nix

configuration files that power my machines
Log | Files | Refs | README | LICENSE

mpv.conf (913B)


      1 sub-font="DejaVu Sans"
      2 sub-font-size=60
      3 
      4 cache=yes
      5 cache-secs=20
      6 demuxer-max-back-bytes=200M
      7 
      8 screenshot-format=jpeg
      9 screenshot-template="%F-%P"
     10 screenshot-directory=~/misc/screenshots
     11 
     12 save-position-on-quit
     13 save-watch-history
     14 resume-playback
     15 
     16 # This makes things safer for F1 and similar videos with common titles after
     17 # https://github.com/mpv-player/mpv/commit/e143966a7
     18 resume-playback-check-mtime
     19 
     20 script-opts=ytdl_hook-ytdl_path=yt-dlp
     21 ytdl-format=bestvideo[height<=?720][fps<=?60][vcodec!=?vp9]+bestaudio/best
     22 
     23 # Without downmix sometimes speech is really drowned out by environmental
     24 # noise.
     25 
     26 # For eac this may need to be adjusted to 3 to avoid shenanigans with
     27 # https://github.com/mpv-player/mpv/issues/6300
     28 ad-lavc-downmix=yes
     29 audio-channels=2
     30 
     31 # Some sources are just too quiet, so allow increasing softvol to avoid
     32 # twiddling with the speakers
     33 volume-max=200
     34 
     35 vd-lavc-threads=4
     36 demuxer-thread=yes