added mpv config

This commit is contained in:
2026-06-11 18:26:15 +02:00
parent 27855eca53
commit 795cf18368
11 changed files with 1228 additions and 0 deletions
+117
View File
@@ -0,0 +1,117 @@
# 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
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
# 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
# # for stupid fucking braindead audbile drm bs
demuxer-lavf-o=activation_bytes=162dfd19
# Can fix stuttering in some cases, in other cases probably causes it. Try it if you experience stuttering.
# opengl-early-flush=yes
# if using mpv_thumbnail_script
# https://github.com/TheAMM/mpv_thumbnail_script
# 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
# catppuccin colors:
# Main mpv options
# osd-color='#cdd6f4'
# osd-shadow-color='#1e1e2e'
# ; # Stats script options
# ; # Options are on separate lines for clarity
# ; # Colors are in #BBGGRR format
# ; script-opts-append=stats-border_color=251818
# ; script-opts-append=stats-font_color=f4d6cd
# ; script-opts-append=stats-plot_bg_border_color=d5e294
# ; script-opts-append=stats-plot_bg_color=251818
# ; script-opts-append=stats-plot_color=d5e294
# ;
# ; # External script options
# ; # It is fine to leave these here even if one does not use these scripts because they are just ignored unless a script uses them
# ;
# ; # UOSC options
# ; script-opts-append=uosc-color=foreground=94e2d5,foreground_text=313244,background=1e1e2e,background_text=cdd6f4,curtain=181825,success=a6e3a1,error=f38ba8