SHARE
TWEET

cfg

a guest Apr 21st, 2019 111 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. # Rico's mpv configuration file for ceylon
  2. # Optimized for watching anime, using JINC scaling filter (ewa_lanczos)
  3. ###########
  4. # General #
  5. ###########
  6.  
  7. save-position-on-quit
  8. msg-module                              # prepend module name to log messages
  9. msg-color                               # color log messages on terminal
  10. term-osd-bar                            # display a progress bar on the terminal
  11. keep-open=yes                           # play the next file in folder, or exit
  12. autofit-larger=70%x65%                  # resize window in case it's larger than W%xH% of the screen
  13. deinterlace=auto                        # 'auto' does not imply interlacing-detection
  14. cursor-autohide-fs-only                 # don't autohide the cursor in window mode, only fullscreen
  15. cursor-autohide=1000                    # autohide the curser after 1s
  16. script-opts=osc-layout=box,osc-seekbarstyle=bar
  17. video-output-levels=full
  18.  
  19. #screenshot#
  20.  
  21. screenshot-format=png
  22. screenshot-png-compression=8
  23. screenshot-png-filter=0
  24. screenshot-tag-colorspace=yes
  25. screenshot-high-bit-depth=yes
  26. screenshot-template='~/Desktop/%F (%P) %n'
  27.  
  28. hls-bitrate=max                         # use max quality for HLS streams
  29. ytdl-format=bestvideo[height<=?1080][fps<=?30][vcodec!=?vp9][protocol!=http_dash_segments]+bestaudio/best #[protocol!=http_dash_segments][protocol!=rtmp]
  30.  
  31.  
  32. #########
  33. # Cache #
  34. #########
  35.  
  36. cache=yes
  37. cache-default=1000000                   # size in KB
  38. cache-backbuffer=1000000                # size in KB
  39. cache-initial=0                         # start playback when your cache is filled up with x kB
  40. cache-secs=12                           # how many seconds of audio/video to prefetch if the cache is active
  41.  
  42.  
  43. #############
  44. # OSD / OSC #
  45. #############
  46.  
  47. osd-level=1                             # enable osd and display --osd-status-msg on interaction
  48. osd-duration=2500                       # hide the osd after x ms
  49. 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}}'
  50.  
  51. osd-font='Source Sans Pro'
  52. osd-font-size=32
  53. osd-color='#CCFFFFFF'                   # ARGB format
  54. osd-border-color='#DD322640'            # ARGB format
  55. #osd-shadow-offset=1                    # pixel width for osd text and progress bar
  56. osd-bar-align-y=0                       # progress bar y alignment (-1 top, 0 centered, 1 bottom)
  57. osd-border-size=2                       # size for osd text and progress bar
  58. osd-bar-h=2                             # height of osd bar as a fractional percentage of your screen height
  59. osd-bar-w=60                            # width of " " "
  60.  
  61.  
  62. #############
  63. # Subtitles #
  64. #############
  65.  
  66. sub-use-margins
  67. sub-ass-force-margins
  68.  
  69. demuxer-mkv-subtitle-preroll            # try to correctly show embedded subs when seeking
  70. sub-auto=fuzzy                          # external subs don't have to match the file name exactly to autoload
  71. sub-paths=ass:srt:sub:subs:subtitles    # search for external subs in the listed subdirectories
  72. embeddedfonts=yes                       # use embedded fonts for SSA/ASS subs
  73. sub-fix-timing=no                       # do not try to fix gaps (which might make it worse in some cases)
  74. sub-ass-force-style=Kerning=yes         # allows you to override style parameters of ASS scripts
  75.  
  76. # the following options only apply to subtitles without own styling (i.e. not ASS but e.g. SRT)
  77. sub-font="Source Sans Pro Semibold"
  78. sub-font-size=36
  79. sub-color="#FFFFFFFF"
  80. sub-border-color="#FF262626"
  81. sub-border-size=3.2
  82. sub-shadow-offset=1
  83. sub-shadow-color="#33000000"
  84. sub-spacing=0.5
  85.  
  86.  
  87. #############
  88. # Languages #
  89. #############
  90.  
  91. slang=enm,en,eng,de,deu,ger             # automatically select these subtitles (decreasing priority)
  92. alang=ja,jp,jpn,en,eng,de,deu,ger       # automatically select these audio tracks (decreasing priority)
  93.  
  94.  
  95. #########
  96. # Audio #
  97. #########
  98.  
  99. audio-file-auto=fuzzy                   # external audio doesn't has to match the file name exactly to autoload
  100. audio-pitch-correction=yes              # automatically insert scaletempo when playing with higher speed
  101. volume-max=200                          # maximum volume in %, everything above 100 results in amplification
  102. volume=100                              # default volume, 100 = unchanged
  103.  
  104.  
  105. ################
  106. # Video Output #
  107. ################
  108.  
  109. # vo=opengl-hq
  110. profile=opengl-hq
  111. opengl-early-flush=yes
  112. opengl-pbo=no
  113. target-trc=gamma2.2
  114. gamma=-6
  115. saturation=26
  116. tv-saturation=26
  117.  
  118.  
  119. #################
  120. # Interpolation #    [<sharp>, ..., <smooth>]
  121. #################    [oversample, linear (triangle), catmull_rom, mitchell, gaussian, bicubic]
  122.  
  123. interpolation
  124. interpolation-threshold=0.001
  125. tscale=oversample
  126. tscale-antiring=0.7
  127. video-sync=display-resample
  128.  
  129.  
  130. #############    see: https://github.com/mpv-player/mpv/wiki/Upscaling
  131. # Upscaling #
  132. #############
  133. # [bilinear, lanczos, mitchell, spline16, spline36, spline64, ewa_lanczos (:scale-radius=float),
  134. #  ewa_lanczossharp, ewa_lanczossoft, robidoux, robidouxsharp, ewa_ginseng, ewa_hanning, bicubic,
  135. #  gaussian, catmull_rom, nearest, oversample, sharpen3, sharpen5, sinc:scale-radius=R]
  136.  
  137. scale=spline36
  138. cscale=bicubic #ewa_lanczossoft
  139. cscale-radius=10
  140. dscale=catmull_rom
  141. scale-antiring=0.0
  142. cscale-antiring=0.0
  143. dither-depth=auto
  144. correct-downscaling=yes
  145. sigmoid-upscaling=yes
  146. deband=yes
  147. hwdec=auto
  148. fbo-format=rgba16f
  149. glsl-shaders-append="~~/E:\Programs\MPV\shaders\ravu-3x-r4-rgb.hook"
  150. # Active VOs (and some other options) are set conditionally
  151. # See here for more information: https://github.com/wm4/mpv-scripts/blob/master/auto-profiles.lua
  152. # The script was modified to import functions from scripts/auto-profiles-functions.lua
  153.  
  154.  
  155. ###################################
  156. # Protocol Specific Configuration #
  157. ###################################
  158.  
  159. [protocol.https]
  160. cache=yes
  161. cache-default=500000                    # size in KB
  162. cache-backbuffer=250000                 # size in KB
  163. cache-secs=100                          # how many seconds of audio/video to prefetch
  164. user-agent='Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/57.0.2987.133 Safari/537.36'
  165.  
  166. [protocol.http]
  167. cache=yes
  168. cache-default=500000                    # size in KB
  169. cache-backbuffer=250000                 # size in KB
  170. cache-secs=100                          # how many seconds of audio/video to prefetch
  171. user-agent='Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/57.0.2987.133 Safari/537.36'
  172.  
  173. [extension.gif]
  174. cache=no
  175. no-pause
  176. loop-file=yes
RAW Paste Data
We use cookies for various purposes including analytics. By continuing to use Pastebin, you agree to our use of cookies as described in the Cookies Policy. OK, I Understand
 
Top