Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- # Renderer #
- vo=gpu-next
- target-colorspace-hint=yes
- --tone-mapping=spline
- profile=gpu-hq
- gpu-api=vulkan
- log-file=C:/.mpv/log.txt
- #glsl-shaders="~~/shaders/crt.glsl" #crt look thanks to haas can look good on some pre90s anime
- # GENERAL #
- #fs=yes #start in fullscreen
- ytdl=yes
- save-position-on-quit
- keep-open=yes
- autofit=45%
- geometry=50%:50% #start with window in the middle
- watch-later-directory=C:/.mpv/tmp #default directory for save-position-on-quit
- input-ipc-server=mpvpipe
- hr-seek-framedrop=no
- border=no
- msg-color=yes
- msg-module=yes
- # Screenshots #
- screenshot-template="%x\Screens\Screenshot-%F-T%wH.%wM.%wS.%wT-F%{estimated-frame-number}"
- screenshot-format=png # Set screenshot format
- screenshot-png-compression=4 # Range is 0 to 10. 0 being no compression. compute-time to size is log so 4 is best
- screenshot-tag-colorspace=yes
- screenshot-high-bit-depth=yes # Same output bitdepth as the videoz
- --screenshot-tag-colorspace=yes
- # OSC/OSD #
- osc=yes
- osd-bar=yes # Do not remove/comment if mpv_thumbnail_script_client_osc.lua is being used.
- osd-font='Public Sans Light' # Set a font for OSC
- osd-font-size=30 # Set a font size
- osd-color='#CCFFFFFF' # ARGB format
- osd-border-color='#DD322640' # ARGB format
- osd-bar-align-y=-1 # progress bar y alignment (-1 top, 0 centered, 1 bottom)
- osd-border-size=2 # size for osd text and progress bar
- osd-bar-h=1 # height of osd bar as a fractional percentage of your screen height
- osd-bar-w=60 # width of " " "
- # Subs #
- #blend-subtitles=no # <yes|video|no>
- sub-ass-vsfilter-blur-compat=yes # Backward compatibility for vsfilter fansubs
- sub-ass-scale-with-window=no # May have undesired effects with signs being misplaced.
- sub-fix-timing=yes
- sub-auto=fuzzy # external subs don't have to match the file name exactly to autoload
- #sub-gauss=0.6 # Some settings fixing VOB/PGS subtitles (creating blur & changing yellow subs to gray)
- sub-file-paths-append=ass # search for external subs in these relative subdirectories
- sub-file-paths-append=srt
- sub-file-paths-append=sub
- sub-file-paths-append=subs
- sub-file-paths-append=subtitles
- demuxer-mkv-subtitle-preroll=yes # try to correctly show embedded subs when seeking
- embeddedfonts=yes # use embedded fonts for SSA/ASS subs
- sub-fix-timing=no # do not try to fix gaps (which might make it worse in some cases). Enable if there are scenebleeds.
- # Subs - Forced #
- sub-font=Public Sans SemiBold
- sub-font-size=54
- sub-blur=0.3
- sub-border-color=0.0/0.0/0.0/1.0
- sub-border-size=3.4
- sub-color=0.95/0.95/0.95/1.00
- sub-margin-x=100
- sub-margin-y=50
- sub-shadow-color=0.0/0.0/0.0/0.33
- sub-shadow-offset=0
- # Audio #
- volume-max=150 # maximum volume in %, everything above 100 results in amplification
- #audio-exclusive=yes # bitstream
- audio-stream-silence # fix audio popping on random seek
- audio-file-auto=fuzzy # external audio doesn't has to match the file name exactly to autoload
- audio-pitch-correction=yes # automatically insert scaletempo when playing with higher speed
- # Languages #
- alang=jpn,jp,eng,en,enUS,en-US,de,ger
- slang=eng,en,und,de,ger,jp,jap
- # Video Profiles #
- dither=fruit
- scale=ewa_lanczos
- cscale=lanczos
- dscale=mitchell
- scale-antiring=0
- cscale-antiring=0
- correct-downscaling=yes
- linear-downscaling=no
- sigmoid-upscaling=yes
- # Debanding #
- deband=no
- deband-iterations=2
- deband-threshold=40 #increase this number to increase deband strenght but lose some detail
- deband-range=16
- deband-grain=10
- dither-depth=auto
- # interpolation #
- interpolation=no #can be toggled with key i
- video-sync=display-resample
- tscale=oversample
- blend-subtitles=no
- # force audio-output (open cmd/terminal in mpv directory and type mpv --audio-device=help) #
- [audio-out]
- --audio-device='wasapi/{13f10bac-9ffd-448d-98ff-edea569ccf67}'
- #alternative upscale#
- [altup]
- vo=gpu
- scale=mitchell
- glsl-shaders-clr
- glsl-shaders="~~/shaders/Anime4K_Restore_CNN_Soft_VL.glsl"
- glsl-shaders-append="~~/shaders/Anime4K_Upscale_CNN_x2_VL.glsl"
- glsl-shaders-append="~~/shaders/Anime4K_Thin_HQ.glsl"
- glsl-shaders-append="~~/shaders/Anime4K_Darken_HQ.glsl"
- #altup toggle#
- [ssim]
- vo=gpu-next
- scale=lanczos
- glsl-shaders-clr
- glsl-shaders-append="~~/shaders/adaptive-sharpen4k.glsl"
- glsl-shaders-append="~~/shaders/SSimSuperRes.glsl"
- glsl-shaders-append="~~/shaders/SSimDownscaler.glsl"
- deband-grain=30
- #AUDIO PLAYER OSC#
- [audio]
- --script-opts=osc-visibility=always
- --save-position-on-quit=no
- glsl-shaders-clr
- scale=lanczos
- glsl-shaders-append="~~/shaders/SSimSuperRes.glsl"
- glsl-shaders-append="~~/shaders/SSimDownscaler.glsl"
- [extension.mp3]
- profile=audio
- [extension.m4a]
- profile=audio
- [extension.wav]
- profile=audio
- [extension.flac]
- profile=audio
- [extension.ogg]
- profile=audio
- [extension.opus]
- profile=audio
- [extension.cue]
- profile=audio
- [extension.m3a]
- profile=audio
- [extension.mkv]
- profile=mkv
- #[mkv]
- #cache=yes
- #demuxer-max-bytes=2000MiB
- [interlaced footage]
- profile-cond=p["video-frame-info/interlaced"]
- deinterlace=yes
- [low-res video]
- profile-desc=cond:(get('height', math.huge) < 720) and (get('estimated-frame-count', math.huge) > 2)
- scale=lanczos
- glsl-shaders-append="~~/shaders/NVSharpen.glsl"
- glsl-shaders-append="~~/shaders/KrigBilateral.glsl"
- deband-grain=60
- [720p video]
- profile-desc=cond:(get('height', math.huge) < 721) and (get('height', math.huge) > 719) and (get('estimated-frame-count', math.huge) > 2)
- scale=lanczos
- glsl-shaders-append="~~/shaders/SSimSuperRes.glsl"
- glsl-shaders-append="~~/shaders/KrigBilateral.glsl"
- deband-grain=100
- [hi-res video]
- profile-desc=cond:get('height', math.huge) > 720 and (get('estimated-frame-count', math.huge) > 2) or (get('estimated-frame-count', math.huge) ~= 0)
- scale=lanczos
- glsl-shaders-append="~~/shaders/SSimSuperRes.glsl"
- glsl-shaders-append="~~/shaders/adaptive-sharpen.glsl"
- glsl-shaders-append="~~/shaders/KrigBilateral.glsl"
- #image shaders#
- [hi-res-image]
- profile-desc=cond:(get('current-window-scale', math.huge) <= 1) and (get('estimated-frame-count', math.huge) == 1 or get('estimated-frame-count', math.huge) == 0)
- dscale=lanczos
- dscale-blur=0.8
- glsl-shaders-clr
- glsl-shaders="~~/shaders/SSimDownscaler.glsl"
- glsl-shaders="~~/shaders/KrigBilateral.glsl"
- [low-res-image]
- profile-desc=cond:(get('current-window-scale', math.huge) > 1) and (get('estimated-frame-count', math.huge) == 1 or get('estimated-frame-count', math.huge) == 0)
- glsl-shaders-clr
- scale=lanczos
- glsl-shaders-append="~~/shaders/NVSharpen.glsl"
- glsl-shaders-append="~~/shaders/KrigBilateral.glsl"
- glsl-shaders-append="~~/shaders/SSimDownscaler.glsl"
- [basic]
- glsl-shaders-clr #binded to button b in input config to clear shaders-for testing only
- scale=ewa_lanczossharp
- #[raw-mode]
- #profile-desc=cond:(get('height', math.huge)*get('width', math.huge)/(get('video-bitrate', math.huge)) < 80 )
- #SDR switch#
- [gpu-next]
- vo=gpu-next
- --icc-profile-auto=no
- --inverse-tone-mapping=no
- --target-trc=auto
- [gpu]
- vo=gpu
- --icc-profile-auto=no
- --inverse-tone-mapping=no
- [hdr-force]
- vo=gpu-next
- target-colorspace-hint
- --icc-profile-auto=no
- --inverse-tone-mapping=no
- --target-trc=pq
- #Sharpen image
- [sharp1]
- glsl-shaders-clr
- scale=lanczos
- glsl-shaders-append="~~/shaders/adaptive-sharpen8k.glsl"
- glsl-shaders-append="~~/shaders/SSimSuperRes.glsl"
- glsl-shaders-append="~~/shaders/SSimDownscaler.glsl"
- deband-grain=60
- [sharp0]
- glsl-shaders-clr
- scale=lanczos
- dscale=lanczos
- glsl-shaders-append="~~/shaders/FSRCNNX_x2_8-0-4-1.glsl"
- glsl-shaders-append="~~/shaders/KrigBilateral.glsl"
- glsl-shaders-append="~~/shaders/SSimDownscaler.glsl"
- [protocol.file]
- network-timeout=0
- force-window=yes
- cache=yes
- demuxer-max-bytes=2000MiB
- demuxer-readahead-secs=300
- force-seekable=yes
- [protocol-network]
- network-timeout=5
- #force-window=immediate
- hls-bitrate=max
- cache=yes
- demuxer-max-bytes=2000MiB
- demuxer-readahead-secs=300
- [protocol.http]
- profile=protocol-network
- [protocol.https]
- profile=protocol-network
- [not-image]
- profile-cond=(get('estimated-frame-count', math.huge) >= 2)
- --script-opts=osc-visibility=auto
- [image]
- profile-cond=(get('estimated-frame-count', math.huge) < 2)
- --icc-profile-auto=no
- --script-opts=osc-visibility=never
- --save-position-on-quit=no
- #background=0.1 # dark grey background instead of pure black
- #mute=yes
- osc=no # the osc is mostly useful for videos
- sub-auto=no # don't try to autoload subtitles or audio files
- audio-file-auto=no # get rid of the useless V: 00:00:00 / 00:00:00 line
- image-display-duration=inf # don't slideshow by default
- loop-file=inf # loop files in case of webms or gifs
- loop-playlist=inf # and loop the whole playlist
- window-dragging=no # you need this if you plan to use drag-to-pan or pan-follows-cursor with MOUSE_LEFT
- deband=no
- [extension.png]
- video-aspect-override=no
- [extension.jpg]
- video-aspect-override=no
- [extension.jpeg]
- profile=extension.jpg
- [silent]
- msg-level=all=no
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement