Skip to content

Instantly share code, notes, and snippets.

@iiiGerardoiii
Last active March 4, 2022 07:09
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save iiiGerardoiii/852444657616cf6bb685d884617c5494 to your computer and use it in GitHub Desktop.
Save iiiGerardoiii/852444657616cf6bb685d884617c5494 to your computer and use it in GitHub Desktop.
at ~/.config/mpv
# disable OSC because mpv_thumbnail_script_server.lua takes care of it
osc=no
log-file="C:\Users\GerardosPC\Downloads"
snap-window
# High quality video rendering for fast computer.
profile=gpu-hq
deband=no
#hwdec=no
#vf=vapoursynth=~/.config/mpv/mvtools.vpy
# 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%
# Keep the player window on top of all other windows.
#ontop=yes
#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
# Subtitle settings
# the following options only apply to subtitles without own styling (i.e. not ASS but e.g. SRT)
sub-font='HelveticaLTStd-Bold'
sub-font-size=36
sub-color="#f7bd2f"
sub-border-size=0
sub-shadow-color="#100a08"
sub-spacing=0.5
#sub-ass-override = force
sub-shadow-offset=2.5
#sub-bold=yes
# Screenshot settings
screenshot-format=jpg
screenshot-template=E:\Dropbox\Capturas de pantalla\mpv-shot%n
# Window settings
border=no
# OSC settings
#script-opts=osc-layout=bottombar,osc-seekbarstyle=bar
# OSD settings
osd-font="HelveticaLTStd-Roman"
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=yt-dlp
# Youtube Download Quality
ytdl=yes
# ytdl-format=299"""720 h264 at 60fps"""+bestaudio/137"""1080 h264 at 30fps"""+bestaudio/bestvideo[height<=?720][vcodec!=?vp9]+bestaudio/720p60__source__/720p60/720/best
#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]
# 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