Skip to content

Instantly share code, notes, and snippets.

@iiiGerardoiii
Last active August 24, 2025 09:08
Show Gist options
  • Select an option

  • Save iiiGerardoiii/852444657616cf6bb685d884617c5494 to your computer and use it in GitHub Desktop.

Select an option

Save iiiGerardoiii/852444657616cf6bb685d884617c5494 to your computer and use it in GitHub Desktop.
at ~/.config/mpv
# osc=no
# deinterlacing settings.
deint-mode=temporal
log-file="C:\Users\GerardosPC\Downloads"
snap-window
gpu-api=vulkan
# High quality video rendering for fast computer.
#profile=gpu-hq
#deband=no
#hwdec=no
#vf=vapoursynth="C:\Users\GerardosPC\mpv-x86_64-20190707-git-c379950\mpv\scripts\mvtools.vpy":buffered-frames=4:concurrent-frames=32
# force starting with centered window
#geometry=50%:50%
# don't allow a new window to have a size larger than 90% of the screen size
#autofit-larger=90%x90%
#geometry=10%:50%
#Volume control
volume=50
# Output 5.1 audio natively, and upmix/downmix audio with a different format.
#audio-channels=5.1
# Disable any automatic remix, _if_ the audio output accepts the audio format.
# of the currently played file. See caveats mentioned in the manpage.
# (This is the default.)
#audio-channels=auto
audio-channels=stereo
# Subtitle settings
# the following options only apply to subtitles without own styling (i.e. not ASS but e.g. SRT)
sub-font='Helvetica Bold'
sub-font-size=36
sub-color="#f7bd2f"
sub-border-size=.2
sub-shadow-color="#100a08"
sub-spacing=0.5
sub-ass-override = force
sub-shadow-offset=2.4
#sub-bold=yes
sub-auto=all
# Screenshot settings
screenshot-format=jpg
screenshot-template=E:\Dropbox\Capturas de pantalla\mpv-shot%n
# Window settings
border=yes
# OSC settings
#script-opts=osc-layout=bottombar,osc-seekbarstyle=bar
# OSD settings
osd-font="Helvetica Bold"
osd-font-size=26
osd-border-size=2
osd-duration=5000
osd-bar="no"
# Use yt-dlp instead of the dead yt-dl
#ytdl_path=C:\Users\GerardosPC\yt-dlp.exe
# Youtube Download Quality
ytdl=yes
ytdl-format=bestvideo[height<=?3840]+bestaudio/299"""720 h264 at 60fps"""+bestaudio/137"""1080 h264 at 30fps"""+bestaudio/bestvideo[height<=?720][vcodec!=?vp9]+bestaudio/720p60__source__/720p60/720/best <- This one used to work
#ytdl-format=bestvideo[height<=?720]+bestaudio/best <- I used to use this one
#ytdl-format=bestvideo[vcodec=VP9][height>=1440][tbr<13000]+bestaudio/bestvideo[tbr<13000][height>720]+bestaudio/best[height>480]/bestvideo[height=480]+bestaudio/best[/cpde]
demuxer-max-back-bytes=1073741824
# don't slideshow by default
image-display-duration=inf
# loop files in case of webms or gifs
loop-file=inf
# and loop the whole playlist
loop-playlist=inf
## IMAGE
# classic opengl-hq parameter, change at will
scale=spline36
cscale=spline36
dscale=mitchell
dither-depth=auto
correct-downscaling
sigmoid-upscaling
# debanding seems rarely useful with images
#deband
# dark grey background instead of pure black
#background=0.2
#according to haasn, aspect ratio info for PNG and JPG is "universally bust"
[extension.png]
video-aspect-override=no
[extension.jpg]
video-aspect-override=no
[extension.jpeg]
profile=extension.jpg
terminal=yes
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment