Skip to content

Commit

Permalink
Modified HDR settings and reference manual links to git master
Browse files Browse the repository at this point in the history
  • Loading branch information
noelsimbolon committed Aug 23, 2022
1 parent a4bfee8 commit 36a688b
Showing 1 changed file with 15 additions and 18 deletions.
33 changes: 15 additions & 18 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/stable/#video-output-drivers-gpu
vo=gpu # https://mpv.io/manual/master/#video-output-drivers-gpu
priority=high # Makes PC prioritize MPV for allocating resources
# 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/stable/#options-gpu-api
gpu-api=opengl # https://mpv.io/manual/master/#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/stable/#options-gpu-shader-cache-dir
gpu-shader-cache-dir='~~/shaders/cache' # https://mpv.io/manual/master/#options-gpu-shader-cache-dir

# FSRCNNX (more powerful, but tend to cause overshoot)
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/stable/#options-scaler-resizes-only
# no-scaler-resizes-only # Fixing the pixel shift https://mpv.io/manual/master/#options-scaler-resizes-only

# SSimDownscaler
glsl-shader="~~/shaders/SSimDownscaler.glsl" # Luma downscaler
Expand All @@ -74,9 +74,9 @@ glsl-shader="~~/shaders/SSimDownscaler.glsl" # Luma downscaler
# ========== DEBANDING ==========

deband=no # Turn on only for videos with banding. (Keybind=d)
deband-iterations=16 # https://mpv.io/manual/stable/#options-deband-iterations
deband-threshold=48 # https://mpv.io/manual/stable/#options-deband-threshold
deband-grain=48 # Default value https://mpv.io/manual/stable/#options-deband-grain
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



Expand All @@ -89,10 +89,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/stable/#options-osd-level
osd-level=1 # https://mpv.io/manual/master/#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/stable/#options-hr-seek
# https://mpv.io/manual/master/#options-hr-seek

osd-font='Verdana'
osd-font-size=20
Expand All @@ -117,17 +117,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/stable/#options-audio-pitch-correction
audio-pitch-correction=yes # https://mpv.io/manual/master/#options-audio-pitch-correction




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

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
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
# Load all subs containing the media filename

# The following options only apply to subtitles without own styling (i.e. not ASS but e.g. SRT)
Expand Down Expand Up @@ -171,12 +171,9 @@ screenshot-template="%f-%wH.%wM.%wS.%wT-#%#00n" # Name format (filen
profile-desc=Tone mapping using reinhard
profile-restore=copy-equal
tone-mapping=reinhard
tone-mapping-param=0.6
hdr-compute-peak=no
gamut-clipping=no
blend-subtitles=video
tone-mapping-param=0.6
tone-mapping-desaturate=0.9
tone-mapping-desaturate-exponent=0.0

# [Clip]
# profile-desc=Tone mapping using clip
Expand Down

0 comments on commit 36a688b

Please sign in to comment.