Advertisement
Guest User

[OS X] mpv.conf

a guest
Nov 7th, 2015
589
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 4.38 KB | None | 0 0
  1. # from /g/
  2.  
  3. vo=opengl-hq
  4.  
  5. hwdec=no
  6.  
  7. [extension.gif]
  8. cache=no
  9. no-pause
  10. loop-file=yes
  11.  
  12. [extension.webm]
  13. cache=no
  14. no-pause
  15. loop-file=yes
  16.  
  17. # from https://github.com/Argon-/mpv-config/blob/master/mpv.conf
  18.  
  19. no-border # no window title bar
  20. msg-module # prepend module name to log messages
  21. msg-color # color log messages on terminal
  22. term-osd-bar # display a progress bar on the terminal
  23. use-filedir-conf # look for additional config files in the directory of the opened file
  24. #pause # no autoplay
  25. keep-open # keep the player open when a file's end is reached
  26. framedrop=vo # drop frames in case your computer is to slow for realtime playback
  27. autofit-larger=100%x95% # resize window in case it's larger than W%xH% of the screen
  28. deinterlace=auto # 'auto' does not imply interlacing-detection
  29. cursor-autohide-fs-only # don't autohide the cursor in window mode, only fullscreen
  30. input-media-keys=yes # enable/disable OSX media keys
  31. cursor-autohide=1000 # autohide the curser after 1s
  32.  
  33. #########
  34. # Cache #
  35. #########
  36.  
  37. cache=yes
  38. cache-default=50000 # size in KB
  39. cache-backbuffer=25000 # size in KB
  40. cache-initial=0 # start playback when your cache is filled up with x kB
  41. cache-secs=2 # how many seconds of audio/video to prefetch if the cache is active
  42.  
  43. #############
  44. # OSD / OSC #
  45. #############
  46.  
  47. osc # activate on screen controls
  48.  
  49. osd-level=1 # enable osd and display --osd-status-msg on interaction
  50. #osd-duration=2500 # hide the osd after x ms
  51. osd-status-msg='${time-pos} / ${duration}${?percent-pos: (${percent-pos}%)}${?vo-drop-frame-count:${!vo-drop-frame-count==0: Dropped: ${vo-drop-frame-count}}}\n${?chapter:Chapter: ${chapter}}'
  52.  
  53. #############
  54. # Subtitles #
  55. #############
  56.  
  57. demuxer-mkv-subtitle-preroll # try to correctly show embedded subs when seeking
  58. sub-auto=fuzzy # external subs don't have to match the file name exactly to autoload
  59. sub-paths=ass:srt:sub:subs:subtitles # search for external subs in the listed subdirectories
  60. embeddedfonts=yes # use embedded fonts for SSA/ASS subs
  61.  
  62. #########
  63. # Audio #
  64. #########
  65.  
  66. audio-pitch-correction=yes # automatically insert scaletempo when playing with higher speed
  67. softvol=yes
  68. softvol-max=150 # maximum volume in %, everything above 100 results in amplification
  69. volume=90 # default volume, 100 = unchanged
  70.  
  71. ###################################
  72. # Protocol Specific Configuration #
  73. ###################################
  74.  
  75. [protocol.https]
  76. cache=yes
  77. cache-default=500000 # size in KB
  78. cache-backbuffer=250000 # size in KB
  79. cache-secs=60 # how many seconds of audio/video to prefetch
  80. no-cache-pause # if the player should pause when the cache runs low
  81. user-agent='Mozilla/5.0 (Macintosh; Intel Mac OS X 10.10; rv:37.0) Gecko/20100101 Firefox/37.0'
  82.  
  83. [protocol.http]
  84. cache=yes
  85. cache-default=500000 # size in KB
  86. cache-backbuffer=250000 # size in KB
  87. cache-secs=60 # how many seconds of audio/video to prefetch
  88. no-cache-pause # if the player should pause when the cache runs low
  89. user-agent='Mozilla/5.0 (Macintosh; Intel Mac OS X 10.10; rv:37.0) Gecko/20100101 Firefox/37.0'
  90.  
  91. # from https://archive.rebeccablacktech.com/g/thread/S50085366#p50090439
  92.  
  93. # Subtitles Font
  94. sub-text-font='Helvetica Neue'
  95. sub-text-font-size=42
  96. sub-text-margin-y=36
  97. sub-text-color="#ffffffff"
  98. sub-text-border-color="#ff262626"
  99. sub-text-border-size=2
  100. sub-text-shadow-offset=1
  101. sub-text-shadow-color="#33000000"
  102. sub-text-spacing=-0.2
  103.  
  104. # OSD
  105. osd-font='Helvetica Neue:style=Light'
  106. osd-font-size=42
  107. osd-bar-align-y=0.75
  108. osd-bar-h=5
  109. osd-bar-w=80
  110. osd-border-size=1
  111. osd-color='#fdfdfd'
  112. osd-border-color='#ff262626'
  113. osd-shadow-color='#ff262626'
  114. osd-shadow-offset=0.5
  115.  
  116. osd-duration=3000
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement