Skip to content

Commit

Permalink
fix: improve debanding, change manual links from master to stable
Browse files Browse the repository at this point in the history
  • Loading branch information
noelsimbolon committed Jun 20, 2023
1 parent 117fb50 commit a482141
Showing 1 changed file with 15 additions and 14 deletions.
29 changes: 15 additions & 14 deletions mpv.conf
Original file line number Diff line number Diff line change
Expand Up @@ -12,11 +12,11 @@

profile=gpu-hq # Allows for higher quality playback on mpv
# Uses scaling methods that are significantly better than default mpv, VLC and MPC
vo=gpu # https://mpv.io/manual/master/#video-output-drivers-gpu
vo=gpu # https://mpv.io/manual/stable/#video-output-drivers-gpu
priority=high # Makes PC prioritize MPV for allocating resources (Windows only)
# gpu-api=vulkan offers better overall performance but breaks too often, use opengl instead
# For displaying HDR content (not HDR -> SDR) "d3d11" is recommended (Windows only)
gpu-api=opengl # https://mpv.io/manual/master/#options-gpu-api
gpu-api=opengl # https://mpv.io/manual/stable/#options-gpu-api
fullscreen=yes # Start in fullscreen
taskbar-progress=no # Disable playback progress rendering in taskbar
force-seekable=yes # If the player thinks that the media is not seekable, force enable seeking
Expand All @@ -40,7 +40,7 @@ scale=ewa_lanczossharp # Luma upscaler
dscale=mitchell # Luma downscaler
cscale=ewa_lanczossoft # Chroma up&downscaler

gpu-shader-cache-dir='~~/shaders/cache' # https://mpv.io/manual/master/#options-gpu-shader-cache-dir
gpu-shader-cache-dir='~~/shaders/cache' # https://mpv.io/manual/stable/#options-gpu-shader-cache-dir

# FSRCNNX (more powerful, but tend to cause overshoot), use nnedi13 (below) instead if you notice dropped frames
glsl-shader="~~/shaders/FSRCNNX_x2_16-0-4-1.glsl" # Luma upscaler
Expand All @@ -49,7 +49,7 @@ glsl-shader="~~/shaders/FSRCNNX_x2_16-0-4-1.glsl" # Luma upscaler
# use nns128 instead of nns256 if you notice dropped frames
# glsl-shader="~~/shaders/nnedi3-nns256-win8x4.hook" # Luma upscaler
# glsl-shader="~~/shaders/nnedi3-nns128-win8x4.hook" # Luma upscaler
# no-scaler-resizes-only # Fixing the pixel shift https://mpv.io/manual/master/#options-scaler-resizes-only
# no-scaler-resizes-only # Fixing the pixel shift https://mpv.io/manual/stable/#options-scaler-resizes-only

# SSimDownscaler
glsl-shader="~~/shaders/SSimDownscaler.glsl" # Luma downscaler
Expand Down Expand Up @@ -79,9 +79,10 @@ glsl-shader="~~/shaders/SSimDownscaler.glsl" # Luma downscaler
# 6 minute explanation of what causes banding: https://www.youtube.com/watch?v=h9j89L8eQQk

deband=no # Turn on only for videos with banding. (Keybind=d)
deband-iterations=16 # https://mpv.io/manual/master/#options-deband-iterations
deband-threshold=48 # https://mpv.io/manual/master/#options-deband-threshold
deband-grain=48 # Default value https://mpv.io/manual/master/#options-deband-grain
deband-iterations=2 # https://mpv.io/manual/stable/#options-deband-iterations
deband-threshold=64 # https://mpv.io/manual/stable/#options-deband-threshold
deband-range=17 # https://mpv.io/manual/stable/#options-deband-range
deband-grain=12 # https://mpv.io/manual/stable/#options-deband-grain



Expand All @@ -94,10 +95,10 @@ border=no # Optional for modern OSC, but r
cursor-autohide-fs-only=yes # If this option is given, the cursor is always visible in windowed mode
# In fullscreen mode, the cursor is shown or hidden according to --cursor-autohide
cursor-autohide=300 # Cursor hide in ms
osd-level=1 # https://mpv.io/manual/master/#options-osd-level
osd-level=1 # https://mpv.io/manual/stable/#options-osd-level
osd-duration=1000 # Set the duration of the OSD messages in ms
hr-seek=yes # Select when to use precise seeks that are not limited to keyframes
# https://mpv.io/manual/master/#options-hr-seek
# https://mpv.io/manual/stable/#options-hr-seek

osd-font='Verdana'
osd-font-size=20
Expand All @@ -122,17 +123,17 @@ slang=en,eng # Subtitle language priority
volume=100 # default volume, 100 = unchanged
audio-file-auto=fuzzy # Load external audio with (almost) the same name as the video
volume-max=200 # Max volume of the player
audio-pitch-correction=yes # https://mpv.io/manual/master/#options-audio-pitch-correction
audio-pitch-correction=yes # https://mpv.io/manual/stable/#options-audio-pitch-correction




# ========== SUBTITLES ==========

demuxer-mkv-subtitle-preroll=yes # https://mpv.io/manual/master/#options-mkv-subtitle-preroll
sub-ass-vsfilter-blur-compat=no # https://mpv.io/manual/master/#options-sub-ass-vsfilter-aspect-compat
sub-fix-timing=no # https://mpv.io/manual/master/#options-sub-fix-timing
sub-auto=fuzzy # https://mpv.io/manual/master/#options-no-sub-auto
demuxer-mkv-subtitle-preroll=yes # https://mpv.io/manual/stable/#options-mkv-subtitle-preroll
sub-ass-vsfilter-blur-compat=no # https://mpv.io/manual/stable/#options-sub-ass-vsfilter-aspect-compat
sub-fix-timing=no # https://mpv.io/manual/stable/#options-sub-fix-timing
sub-auto=fuzzy # https://mpv.io/manual/stable/#options-no-sub-auto
# Load all subs containing the media filename

# The following options only apply to subtitles without own styling
Expand Down

0 comments on commit a482141

Please sign in to comment.