Skip to content

Instantly share code, notes, and snippets.

@wariw
Created April 10, 2015 18:06
Show Gist options
  • Save wariw/c2e1892ed5832ea6d2fd to your computer and use it in GitHub Desktop.
Save wariw/c2e1892ed5832ea6d2fd to your computer and use it in GitHub Desktop.
mpv settings
i show_text "Filename: ${filename}\n\nVideo Codec: ${video-format} ${width}x${height} -> ${width}x${height} ${window-scale} ${aspect} ${video-bitrate} ${fps}\nAudio: ${audio-bitrate} ${samplerate}"
# CHAPTERS (!@)
#############
#ctrl+z add chapter -1
#ctrl+x add chapter 1
ctrl+c show_text "Chapters:\n${chapter-list}"
# SIZING
##############
F1 set window-scale 0.5
F2 set window-scale 1
F3 set window-scale 2
F4 add window-scale -0.1
F5 add window-scale 0.1
# 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
# 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"
# 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
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment