Skip to content

Instantly share code, notes, and snippets.

@tebowy
Created January 30, 2021 16:01
Show Gist options
  • Save tebowy/a279cb6a400289dfeba8045549726e53 to your computer and use it in GitHub Desktop.
Save tebowy/a279cb6a400289dfeba8045549726e53 to your computer and use it in GitHub Desktop.
mpv config HQ up the arse
# General #
profile=gpu-hq
vo=gpu
gpu-api=d3d11
gpu-context=d3d11
#hwdec=d3d11va
fbo-format=rgba16hf
dither-depth=auto
correct-downscaling=yes
linear-downscaling=no
sigmoid-upscaling=no
# Interpolation #
blend-subtitles=yes
video-sync=display-resample
interpolation=yes
tscale=box
tscale-window=sphinx
tscale-radius=1.0
tscale-clamp=0.
dscale=mitchell
# Deband #
deband=no
deband-iterations=1
deband-threshold=64
deband-range=16
deband-grain=0
# Tonemapping
tone-mapping=hable
hdr-compute-peak=yes
tone-mapping-desaturate=0
tone-mapping-desaturate-exponent=0
target-peak=auto
# Misc #
#osc=no
#osd-bar=no
border=no
#keep-open=yes
autofit=85%x85%
#loop-file=inf
priority=high
d3d11-exclusive-fs=yes
prefetch-playlist=yes
force-window=immediate
cursor-autohide=200
title=[${time-pos}/${duration}] ${?media-title:${media-title}}${!media-title:No file} - mpv
input-ar-delay=500
input-ar-rate=20
# Audio #
volume=100
volume-max=120
audio-file-auto=fuzzy
audio-channels=7.1
# Lang #
alang = 'ja,jpn,en,eng'
slang = 'en,eng,ja,jpn'
# Subs #
demuxer-mkv-subtitle-preroll=yes
sub-ass-vsfilter-aspect-compat=no
sub-ass-vsfilter-blur-compat=no
#sub-fix-timing=no
sub-auto=fuzzy
sub-font=Trebuchet MS
sub-font-size=35
#sub-blur=0.2
sub-border-color=0.0/0.0/0.0/1.0
sub-border-size=3.4
sub-color=1.0/1.0/1.0/1.0
sub-margin-x=100
sub-margin-y=60
sub-shadow-color=0.0/0.0/0.0/0.25
sub-shadow-offset=0.5
# Screenshot #
screenshot-high-bit-depth=yes
screenshot-tag-colorspace=yes
screenshot-directory="C:/Users/ssl/Pictures/mpv"
screenshot-format=webp
screenshot-webp-compression=6
screenshot-webp-lossless=yes
screenshot-template="SPOILER_%f-%wH.%wM.%wS.%wT"
# Shaders/Scalers #
glsl-shader="~~/adaptive-sharpen.glsl"
gpu-shader-cache-dir="~~/shaders/"
glsl-shader="~~/KrigBilateral.glsl"
glsl-shader="~~/SSimSuperRes.glsl"
glsl-shader="~~/FSRCNNX_x2_16-0-4-1.glsl"
glsl-shader="~~/SSimDownscaler.glsl"
[protocol.https]
hls-bitrate=max
cache=yes
cache-pause-initial=yes
demuxer-seekable-cache=yes
demuxer-max-bytes=2048MiB
demuxer-max-back-bytes=2048MiB
user-agent='Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/69.0.3497.100 Safari/537.36'
ytdl-format=bestvideo[height<=?1080][fps<=30]+bestaudio/best[height<=?1080]
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment