This commit is contained in:
2026-07-09 22:39:16 -07:00
parent 1128183032
commit 5e3ab9eec9
4 changed files with 125 additions and 27 deletions
+21 -21
View File
@@ -13,9 +13,8 @@ autofit=69% # Reasonable default size
# Audio (macOS-specific)
volume=75
ao=coreaudio # Native macOS audio
audio-buffer=0.8 # More headroom for transient underruns
audio-stream-silence=yes # Keep device primed between packets
audio-wait-open=0.1 # Faster audio startup
audio-buffer=1.5 # More headroom for transient underruns
audio-wait-open=0.3 # Give CoreAudio a little setup time
# Subtitle defaults
sub-font="Manrope ExtraLight"
@@ -69,17 +68,17 @@ vd-lavc-dr=yes # Keep frames on GPU
video-sync=audio # Prioritize stable audio over display resample
# Scaling & interpolation
scale=ewa_lanczossharp
dscale=catmull_rom
cscale=ewa_lanczos
scale=spline36
dscale=mitchell
cscale=spline36
tscale=oversample
interpolation=yes
interpolation=no
interpolation-threshold=0.5
sigmoid-upscaling=yes
temporal-dither=yes
temporal-dither=no
# High-quality dithering
dither=error-diffusion
# Stable default dithering
dither=fruit
dither-depth=auto
error-diffusion=sierra-lite
@@ -89,7 +88,7 @@ dscale-antiring=0.5
cscale-antiring=0.5
# Post-processing
deband=yes
deband=no
deband-iterations=2
deband-threshold=24
deband-range=16
@@ -122,12 +121,12 @@ input-ipc-server=/tmp/mpvsocket
##################
cache=yes
demuxer-max-bytes=1GiB
demuxer-max-back-bytes=200MiB
demuxer-max-bytes=512MiB
demuxer-max-back-bytes=64MiB
cache-pause=yes
cache-pause-wait=2
cache-pause-wait=1
cache-secs=30
demuxer-readahead-secs=30
demuxer-readahead-secs=20
msg-level=subs2srs,animecards,mpvacious=error
@@ -143,7 +142,8 @@ profile=gpu-hq
# Anime profile (ArtCNN is memory-heavy, use cautiously)
[anime]
profile-desc="Anime upscaling with ArtCNN"
profile-cond=filename:match("mkv$") and height <= 1080
# Manually enable with --profile=anime; auto ArtCNN can cause underruns on macOS.
# profile-cond=filename:match("mkv$") and height <= 1080
glsl-shaders="~~/shaders/ArtCNN_C4F16.glsl" # Use F16 variant (lighter)
scale=ewa_lanczossharp
deband=yes
@@ -172,7 +172,7 @@ profile-desc=SDR content
profile-cond=get("video-params/gamma", "") ~= "pq" and get("video-params/gamma", "") ~= "hlg"
profile-restore=copy
# put SDR-only tweaks here
deband=yes
deband=no
target-colorspace-hint=auto
@@ -206,10 +206,10 @@ vlang=ja,jpn
subs-with-matching-audio=yes
sub-font="Hiragino Sans, M PLUS 1 Medium, Noto Sans CJK JP"
sub-font-size=46
glsl-shaders="~~/shaders/ArtCNN_C4F32.glsl"
scale=ewa_lanczossharp
dither=error-diffusion
deband=yes # Crucial for anime gradients
glsl-shaders="~~/shaders/ArtCNN_C4F16.glsl"
scale=spline36
dither=fruit
deband=no
input-ipc-server=/tmp/subminer-socket
# Anime subtitles profile