Advertisement
Guest User

mpv cat

a guest
Apr 26th, 2018
58
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 4.29 KB | None | 0 0
  1. # vim: syntax=config
  2.  
  3.  
  4. ###########
  5. # General #
  6. ###########
  7.  
  8. #save-position-on-quit
  9. no-border # no window title bar
  10. msg-module # prepend module name to log messages
  11. msg-color # color log messages on terminal
  12. term-osd-bar # display a progress bar on the terminal
  13. use-filedir-conf # look for additional config files in the directory of the opened file
  14. keep-open # keep the player open when a file's end is reached
  15. autofit-larger=100%x95% # resize window in case it's larger than W%xH% of the screen
  16. deinterlace=auto # 'auto' does not imply interlacing-detection
  17. cursor-autohide-fs-only # don't autohide the cursor in window mode, only fullscreen
  18. input-media-keys=no # enable/disable OSX media keys
  19. cursor-autohide=1000 # autohide the curser after 1s
  20.  
  21. screenshot-format=png
  22. screenshot-png-compression=8
  23. screenshot-template='~/Desktop/%F (%P) %n'
  24.  
  25. hls-bitrate=max # use max quality for HLS streams
  26. ytdl-format=bestvideo[height<=?1080][fps<=?30][vcodec!=?vp9][protocol!=http_dash_segments]+bestaudio/best #[protocol!=http_dash_segments][protocol!=rtmp]
  27.  
  28.  
  29.  
  30. #########
  31. # Cache #
  32. #########
  33.  
  34. cache=yes
  35. cache-default=5000000 # size in KB
  36. cache-backbuffer=25000 # size in KB
  37. cache-initial=0 # start playback when your cache is filled up with x kB
  38. cache-secs=10 # how many seconds of audio/video to prefetch if the cache is active
  39.  
  40.  
  41. #############
  42. # OSD / OSC #
  43. #############
  44.  
  45. osd-level=1 # enable osd and display --osd-status-msg on interaction
  46. osd-duration=2500 # hide the osd after x ms
  47. osd-status-msg='${time-pos} / ${duration}${?percent-pos: (${percent-pos}%)}${?frame-drop-count:${!frame-drop-count==0: Dropped: ${frame-drop-count}}}\n${?chapter:Chapter: ${chapter}}'
  48.  
  49. osd-font='Source Sans Pro'
  50. osd-font-size=32
  51. osd-color='#CCFFFFFF' # ARGB format
  52. osd-border-color='#DD322640' # ARGB format
  53. #osd-shadow-offset=1 # pixel width for osd text and progress bar
  54. osd-bar-align-y=0 # progress bar y alignment (-1 top, 0 centered, 1 bottom)
  55. osd-border-size=2 # size for osd text and progress bar
  56. osd-bar-h=2 # height of osd bar as a fractional percentage of your screen height
  57. osd-bar-w=60 # width of " " "
  58.  
  59.  
  60. #############
  61. # Subtitles #
  62. #############
  63.  
  64. sub-use-margins
  65. sub-ass-force-margins
  66.  
  67. demuxer-mkv-subtitle-preroll # try to correctly show embedded subs when seeking
  68. sub-auto=fuzzy # external subs don't have to match the file name exactly to autoload
  69. sub-paths=ass:srt:sub:subs:subtitles # search for external subs in the listed subdirectories
  70. embeddedfonts=yes # use embedded fonts for SSA/ASS subs
  71. sub-fix-timing=no # do not try to fix gaps (which might make it worse in some cases)
  72. sub-ass-force-style=Kerning=yes # allows you to override style parameters of ASS scripts
  73.  
  74. # the following options only apply to subtitles without own styling (i.e. not ASS but e.g. SRT)
  75. sub-font="Source Sans Pro Semibold"
  76. sub-font-size=36
  77. sub-color="#FFFFFFFF"
  78. sub-border-color="#FF262626"
  79. sub-border-size=3.2
  80. sub-shadow-offset=1
  81. sub-shadow-color="#33000000"
  82. sub-spacing=0.5
  83.  
  84.  
  85. #############
  86. # Languages #
  87. #############
  88.  
  89. slang=enm,en,eng,de,deu,ger # automatically select these subtitles (decreasing priority)
  90. alang=en,eng,ja,jp,jpn,de,deu,ger # automatically select these audio tracks (decreasing priority)
  91.  
  92.  
  93. #########
  94. # Audio #
  95. #########
  96.  
  97. audio-file-auto=fuzzy # external audio doesn't has to match the file name exactly to autoload
  98. audio-pitch-correction=yes # automatically insert scaletempo when playing with higher speed
  99. volume-max=200 # maximum volume in %, everything above 100 results in amplification
  100. volume=100 # default volume, 100 = unchanged
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement