Skip to content

Instantly share code, notes, and snippets.

@diffficult
Created November 1, 2016 04:41
Show Gist options
  • Save diffficult/97c35ca596f1fa9221b7a30355a97fae to your computer and use it in GitHub Desktop.
Save diffficult/97c35ca596f1fa9221b7a30355a97fae to your computer and use it in GitHub Desktop.
basic MPV config with high settings and ytdl settings
# Video settings
vo=opengl-hq
tscale=linear
scale=ewa_lanczossharp
cscale=ewa_lanczossoft
dscale=mitchell
scale-antiring=0.7
cscale-antiring=0.7
dither-depth=auto
correct-downscaling=yes
sigmoid-upscaling=yes
deband=yes
hwdec=auto
#video-sync=display-resample
#framedrop=vo
# window
title="${filename}"
geometry=50%:50%
autofit-larger=90%x90%
ontop
# Audio settings
softvol=yes
softvol-max=150
volume=70
# Lang Settings
slang=eng,en
alang=jpn,jp,ja,eng,en
# Subtitle settings
ass-style-override=force
ass-shaper=simple
sub-auto=fuzzy
sub-text-font-size=49
sub-text-color="#FFFFFF"
sub-text-font="Noto Sans"
sub-text-border-size=3
sub-text-border-color="#262626"
ass-force-style=Kerning=yes
# OSC settings
script-opts=osc-layout=box,osc-seekbarstyle=bar,osc-timetotal=yes,osc-fadeduration=100,osc-scalewindowed=0.7,osc-scalefullscreen=0.5,osc-deadzonesize=1,osc-valign=1,osc-halign=1.0
#Default valign=0.8, halign=0.0
# OSD settings
osd-scale=0.5
# Screenshot settings
screenshot-format=jpg
screenshot-template="%F_mpv-snapshot_%wM.%wS_%#02n"
screenshot-jpeg-quality=95
# YDL settings (get youtube-dl for streaming support)
ytdl=yes
ytdl-format=(bestvideo[ext=webm]/bestvideo[height>720]/bestvideo[fps=60])[tbr<13000]+(bestaudio[acodec=opus]/bestaudio[ext=webm]/bestaudio)/best
# Miscellaneous settings
priority=abovenormal
keep-open=yes
# Etc
[extension.webm]
loop-file=inf
[extension.jpg]
pause
[extension.png]
pause
[extension.gif]
loop-file=inf
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment