1# vim: syntax=config23input-ipc-server=/tmp/mpvsocket # listen for IPC on this socket4# save-position-on-quit # handled by a script56no-border # no window title bar7msg-module # prepend module name to log messages8msg-color # color log messages on terminal9term-osd-bar # display a progress bar on the terminal10use-filedir-conf # look for additional config files in the directory of the opened file11pause # no autoplay12keep-open # keep the player open when a file's end is reached13cursor-autohide-fs-only # don't autohide the cursor in window mode, only fullscreen14input-media-keys=no # enable/disable OSX media keys15cursor-autohide=1000 # autohide the curser after 1s16prefetch-playlist=yes17force-seekable=yes1819screenshot-format=png20screenshot-png-compression=821screenshot-template='pics/screenshots/%F (%P) %n'2223# profile=high-quality24profile=gpu-hq25video-sync=display-resample26interpolation2728[default]29cache=yes30demuxer-max-bytes=400MiB31demuxer-max-back-bytes=150MiB323334#############35# Subtitles #36#############37demuxer-mkv-subtitle-preroll=yes # try to show embedded subs when seeking even when no index information is present38demuxer-mkv-subtitle-preroll-secs=23940sub-auto=fuzzy # external subs don't have to match the file name exactly to autoload41sub-file-paths-append=ass # search for external subs in these relative subdirectories42sub-file-paths-append=srt43sub-file-paths-append=sub44sub-file-paths-append=subs45sub-file-paths-append=subtitles4647embeddedfonts=yes # use embedded fonts for SSA/ASS subs48sub-fix-timing=no # do not try to fix gaps (which might make it worse in some cases)49sub-ass-style-overrides=Kerning=yes # allows you to override style parameters of ASS scripts50sub-use-margins51sub-ass-force-margins5253# the following options only apply to subtitles without own styling (i.e. not ASS but e.g. SRT)54sub-font="Noto Sans"55sub-font-size=3656sub-color="#FFFFFFFF"57sub-border-color="#FF262626"58sub-border-size=3.259sub-shadow-offset=160sub-shadow-color="#33000000"61sub-spacing=0.56263blend-subtitles=video6465slang=chi,chs,enm,en,eng,de,deu,ger # automatically select these subtitles (decreasing priority)66alang=chi,chs,ja,jp,jpn,en,eng,de,deu,ger # automatically select these audio tracks (decreasing priority)6768audio-file-auto=fuzzy # external audio doesn't has to match the file name exactly to autoload69audio-pitch-correction=yes # automatically insert scaletempo when playing with higher speed70audio-display=no # hide audio display71volume-max=200 # maximum volume in %, everything above 100 results in amplification72volume=100 # default volume, 100 = unchanged7374# Defaults for all profiles75# tscale=linear76tscale=oversample # [sharp] oversample <-> linear (triangle) <-> catmull_rom <-> mitchell <-> gaussian <-> bicubic [smooth]77opengl-early-flush=no78opengl-pbo=yes # "yes" is currently bugged: https://github.com/mpv-player/mpv/issues/498879icc-profile-auto80# hwdec=auto-safe81hwdec=vulkan82hwdec-codecs=all83gpu-api=vulkan848586[high-quality]87profile-desc=cond:is_high(get('width', 0), get('height', 0), get('estimated-vf-fps', 0))88scale=ewa_hanning89scale-radius=3.238315484166236290scale=ewa_lanczossharp91cscale=ewa_lanczossoft92dscale=mitchell93scale-antiring=094cscale-antiring=095dither-depth=auto96correct-downscaling=yes97sigmoid-upscaling=yes98deband=yes99glsl-shaders-append="~/.config/mpv/shaders/ravu-lite-r4.hook"100glsl-shaders-append="~/.config/mpv/shaders/ravu-lite-r4.hook"101glsl-shaders-append="~/.config/mpv/shaders/ravu-lite-r4.hook"102103[mid-quality]104profile-desc=cond:is_mid(get('width', 0), get('height', 0), get('estimated-vf-fps', 0))105scale=spline36106cscale=bicubic107dscale=mitchell108scale-antiring=1.0109cscale-antiring=1.0110dither-depth=auto111correct-downscaling=yes112sigmoid-upscaling=yes113deband=yes114glsl-shaders-set=""115116[low-quality]117profile-desc=cond:is_low(get('width', 0), get('height', 0), get('estimated-vf-fps', 0))118scale=bilinear119cscale=bilinear120dscale=bilinear121scale-antiring=0122cscale-antiring=0123dither-depth=no124correct-downscaling=no125sigmoid-upscaling=no126deband=no127glsl-shaders-set=""128129[4K-lavc-threads]130profile-desc=cond:get('width', -math.huge) >= 3840131vd-lavc-threads=32132133[4K-lavc-threads-inverted]134profile-desc=cond:get('width', math.huge) < 3840135vd-lavc-threads=0136137[protocol.https]138cache=yes139user-agent='Mozilla/5.0 (Macintosh; Intel Mac OS X 10.11; rv:57.0) Gecko/20100101 Firefox/58.0'140141[protocol.http]142cache=yes143user-agent='Mozilla/5.0 (Macintosh; Intel Mac OS X 10.11; rv:57.0) Gecko/20100101 Firefox/58.0'144