minor mpv config cleanup

This commit is contained in:
2026-06-11 18:43:11 +02:00
parent 795cf18368
commit d4241fc61c
5 changed files with 7 additions and 218 deletions
+5 -65
View File
@@ -1,55 +1,21 @@
# profile=svp
# profile=smoothmotion
# written by fennek182
# version 1
# last change: Wed 2026-01-21
#[smoothmotion]
# see 2.1.2 High quality configurations
# https://wiki.archlinux.org/title/mpv#High-quality-configurations
#profile=high-quality
#video-sync=display-resample
#interpolation
#tscale=oversample
# vf=vapoursynth="~/.config/mpv/filters/mvtools.vpy":buffered-frames=4:concurrent-frames=4
# video-sync=display-resample
# interpolation = yes
# tscale = box
# tscale-clamp = 0.0
# tscale-radius = 1.0
# tscale-window = sphinx
# ========== PROFILES ==========
# [svp]
# input-ipc-server=/tmp/mpvsocket
# version 2
# last change: Thu 2026-06-11
input-ipc-server=/tmp/mpvsocket
hr-seek-framedrop=no
# watch-later-options-remove=vf
hwdec=auto-copy
hwdec-codecs=all
# [FrameInterpolation]
# vf=vapoursynth="~/.config/mpv/filters/mvtools.vpy"
# profile-restore = copy
# ============================================
resume-playback=no
volume-max=200
cache=yes
cache=auto
keep-open
ytdl-format=bestvideo+bestaudio/best
# set max cache size to 20 Gigabytes
demuxer-max-bytes=21474836480
# ============== YT-DLP ==============
# limit yt-dlp to 1440p60
# ytdl-format=bestvideo[height<=?1440]+bestaudio/best
ytdl-format=bestvideo+bestaudio/best
# ============== YT-DLP ==============
# open window immediately (not waiting for yt-dlp)
force-window=immediate
@@ -64,34 +30,8 @@ demuxer-lavf-o=activation_bytes=162dfd19
# then mpv's built-in osc must be disabled
# osc=no
# =============== TEST HDR 2026-01-21 ==============
# Renderer:
# gpu-next requires the latest (unreleased) git version of libplacebo and the latest (unreleased) git version of mpv.
# It's still in testing/fixing/development stages and isn't recommended unless people want to test unfinished, bleeding-edge code.
# The main benefits of GPU-Next are that it has much more efficient rendering code, and that it supports HDR tonemapping, including HDR/DV, and including HDR/DV to SDR (useful for Linux users since Linux lacks HDR support).
# differences gpu/gpu-next: https://github.com/mpv-player/mpv/wiki/GPU-Next-vs-GPU
# vo=gpu-next
# target-colorspace-hint=yes
# get apis by "mpv --gpu-api=help":
# gpu-api=vulkan
# gpu-context=waylandvk
# =============== TEST HDR 2026-01-21 ==============
# ----------- old - delete
# --keepaspect-window (the default) will lock the window size to the video aspect.
# --no-keepaspect-window disables this behavior, and will instead add black bars if window aspect and video aspect mismatch.
# Whether this actually works depends on the VO backend. (Ignored in fullscreen mode.)
# no-keepaspect-window
# target-colorspace-hint=yes
# --tone-mapping=spline
# profile=gpu-hq
# always open a new instance of mpv instead of replacing currently playing video
#process-instance=multi
# use yt-dlp instead of youtube-dl since it's slow now (Oct 21)
# script-opts=ytdl_hook-ytdl_path=/usr/bin/yt-dlp