Skip to content

Instantly share code, notes, and snippets.

@wariw
Created April 28, 2015 19:48
Show Gist options
  • Star 1 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save wariw/32a293080c19a4434971 to your computer and use it in GitHub Desktop.
Save wariw/32a293080c19a4434971 to your computer and use it in GitHub Desktop.
mpv.conf
# Video
#vo = opengl-hq,direct3d
# vo=opengl-hq:interpolation:scale=ewa_lanczos:cscale=ewa_lanczos:tscale=mitchell:scaler-resizes-only:dither-depth=8:temporal-dither:waitvsync:pbo
vo=opengl-hq:interpolation:scale=haasnsoft:cscale=haasnsoft:source-shader=[D:\Documents\mpvhq\deband.glsl]:tscale=mitchell:dscale=triangle:scaler-resizes-only:dither-depth=8:temporal-dither:waitvsync:pbo
# Audio
ao = wasapi,dsound,openal
alang = jpn,jap,jp,Japanese,en,eng,English
# Subtitles
slang = jpn,jap,jp,Japanese,en,eng,English
sub-codepage = utf8:cp1250
sub-scale-with-window = yes
demuxer-mkv-subtitle-preroll
ass-force-style = Kerning=yes
sub-gray
# Program Behavior
save-position-on-quit
# script-opts = osc-seekbarstyle=bar
msg-color = yes
osd-font = "Source Sans Pro Semibold"
osd-font-size = 25
osd-color = "#ffffffff"
osd-border-color = "#ff262626"
osd-border-size = 2
osd-shadow-offset = 1
osd-shadow-color = "#33000000"
osd-msg3 = "${osd-sym-cc}${osd-ass-cc/0} ${playback-time/full}${?length: / ${length/full}}\\N\\N{\\fnSource Sans Pro Black}File:{\\r} ${osd-ass-cc/1}${filename}${osd-ass-cc/0}{\\fnSource Sans Pro Black}${?avsync:\\N\\h\\h\\h\\hA-V:}{\\r}${?avsync: ${avsync}}\\N\\h\\h\\h\\h{\\fnSource Sans Pro Black}Dropped:{\\r} ${drop-frame-count}\\h\\h\\h\\h{\\fnSource Sans Pro Black}VO:{\\r} ${vo-drop-frame-count}\\N\\h\\h\\h\\h{\\fnSource Sans Pro Black}FPS:{\\r} ${estimated-vf-fps}${?cache-used:\\N\\h\\h\\h\\h}{\\fnSource Sans Pro Black}${?cache-used:Cache:}{\\r}${?cache-used: ${cache-used} +${demuxer-cache-duration}s}\\N\\N{\\fnSource Sans Pro Black}Video:{\\r} ${video-codec}\\N\\h\\h\\h\\h{\\fnSource Sans Pro Black}Frame size:{\\r} ${video-params/w}x${video-params/h}\\N\\h\\h\\h\\h{\\fnSource Sans Pro Black}DAR:{\\r} ${video-params/aspect}\\N\\h\\h\\h\\h{\\fnSource Sans Pro Black}Pixel format:{\\r} ${video-params/pixelformat}\\N\\h\\h\\h\\h{\\fnSource Sans Pro Black}Colormatrix:{\\r} ${video-params/colormatrix}\\N\\h\\h\\h\\h{\\fnSource Sans Pro Black}Primaries:{\\r} ${video-params/primaries}\\N\\h\\h\\h\\h{\\fnSource Sans Pro Black}Levels:{\\r} ${video-params/colorlevels}${?audio-codec:\\N\\N}{\\fnSource Sans Pro Black}${?audio-codec:Audio:}{\\r}${?audio-codec: ${audio-codec}\\N\\h\\h\\h\\h}{\\fnSource Sans Pro Black}${?audio-codec:Sample rate:}{\\r}${?audio-codec: ${audio-samplerate}\\N\\h\\h\\h\\h}{\\fnSource Sans Pro Black}${?audio-codec:Channels:}{\\r}${?audio-codec: ${audio-channels}}"
# Window
title = ${filename}
geometry = 50%:50%
autofit = 1280x720
cursor-autohide = 1500
# Screenshot
screenshot-format = png
screenshot-template = "D:\Pictures\Screenshots\%F - %#03n (mpvhq)"
# ytdl
ytdl = yes
ytdl-format = bestvideo+bestaudio/best
[kino]
ao = wasapi
audio-channels = 5.1 #quad
[extension.webm]
autofit = 0
autofit-larger = 1280x720
no-border
loop-file
save-position-on-quit = no
#video
#vo=opengl-hq:scale=ewa_lanczossharp:scale-antiring=1.0:cscale=ewa_lanczossharp:cscale-antiring=1.0:source-shader=~~/deband.glsl:dscale=mitchell:fbo-format=rgb32f:target-trc=srgb:target-prim=bt709:sigmoid-upscaling:interpolation:tscale=mitchell:tscale-antiring=1.0:dither-depth=auto:swapinterval=1:linear-scaling
vo=opengl-hq:interpolation:scale=haasnsoft:cscale=haasnsoft:source-shader=~~/deband.glsl:tscale=mitchell:dscale=triangle:scaler-resizes-only:dither-depth=8:temporal-dither:waitvsync:pbo
#vo=opengl-vhq
# Cache
cache=auto
cache-default=8000000
cache-initial=1000
cache-seek-min=2000
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment