Skip to content

Instantly share code, notes, and snippets.

@Qofar
Created February 15, 2018 15:30
Show Gist options
  • Save Qofar/0a674333071b765f80ea2badc9a32a85 to your computer and use it in GitHub Desktop.
Save Qofar/0a674333071b765f80ea2badc9a32a85 to your computer and use it in GitHub Desktop.
## https://mpv.io/manual/stable/
## window
title="mpv"
no-sub
no-border
no-taskbar-progress
force-window
snap-window
keep-open
geometry=50%:0
cursor-autohide=2000
## video
profile=opengl-hq
hwdec=auto
correct-pts=yes
#display-fps=60
#video-sync=display-resample
#hr-seek=yes
#framedrop=no
## audio
#ao=wasapi
#audio-channels=2
## screenshot
#screenshot-format=png
#screenshot-jpeg-quality=95
#screenshot-template=D:\Temp\%f_%p
## cache
cache=no
#cache=yes
cache-secs=3
# https://github.com/mpv-player/mpv/wiki/FAQ#why-does-the-cache-not-work-for-twitch-hls-sites-and-some-youtube-links
demuxer-seekable-cache=no
## youtube-dl
#ytdl=yes
#ytdl-format=bestvideo+bestaudio/best
#ytdl-format=(bestvideo[ext=webm]/bestvideo[fps=60])+(bestaudio[acodec=opus]/bestaudio)/best
#ytdl-format=bestvideo[height<=?1080][fps<=?30][vcodec!=?vp9][protocol!=http_dash_segments]+bestaudio/best
## Looping images
[extension.webm]
loop-file=inf
[extension.gif]
loop-file=inf
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment