You are on page 1of 2

# THIS FILE WILL BE OVERWRITTEN WITH THE PACKAGE UPDATE

# Use %APPDATA%/mpv/mpv.conf
# OR SVP's menu -> Information -> Add. information -> mpv config. file
# to define your own customized configuration
#
# Sample mpv configuration
#

# this is required for SVP to "catch" the mpv


input-ipc-server=mpvpipe
yes-resume-playback # keep the player open when a
file's end is reached
no-border # no window title bar
keep-open

# Defaults for all profiles


tscale=linear # [sharp] oversample <-> linear (triangle) <->
catmull_rom <-> mitchell <-> gaussian <-> bicubic [smooth]
opengl-pbo=no # "yes" is currently bugged:
https://github.com/mpv-player/mpv/issues/4988
target-prim=bt.2020
target-trc=gamma2.2

video-sync=display-resample
video-sync-max-video-change=5
priority=high
sws-fast=yes

#########
# Cache #
#########

cache=yes
demuxer-max-bytes=400MiB
demuxer-max-back-bytes=150MiB

# hardware video decoder


hwdec=no
hwdec-codecs=all

alang = 'por,jp,eng,en'
slang = 'por,en,enUS'

vo=gpu

# high quality video output, require rather fast video card


#profile=gpu-hq

# D3D11 renderer (default) is required for the HDR playback


gpu-api=d3d11

# use VULKAN API if you have problems with the default d3d11 renderer
#gpu-api=vulkan

# miscellaneous options

# comment this one if you want mpv to remember the playback position
save-position-on-quit=yes
# fixes audio desync
hr-seek-framedrop=no

ontop

ytdl-format=bestvideo[height<=?1080]+bestaudio/best
demuxer-max-bytes=150000000 # 150 MB
demuxer-max-back-bytes=75000000 # 75 MB
force-seekable=yes

# Subtitles #
#############

demuxer-mkv-subtitle-preroll=yes # try to show embedded subs when seeking


even when no index information is present
demuxer-mkv-subtitle-preroll-secs=2

sub-auto=fuzzy # external subs don't have to match the


file name exactly to autoload
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

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)
sub-ass-force-style=Kerning=yes # allows you to override style parameters
of ASS scripts
sub-use-margins
sub-ass-force-margins

# the following options only apply to subtitles without own styling (i.e. not ASS
but e.g. SRT)
sub-font="Arial Rounded MT"
sub-font-size=36
sub-color="#FFFF00"
sub-border-color="#000000"
sub-border-size=2.8
sub-shadow-offset=1
sub-shadow-color="#000000"
sub-pos=95 # subtitle position

#log-file=mpv.log

You might also like