Guest User

Untitled

a guest
Nov 13th, 2018
125
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 6.26 KB | None | 0 0
  1. # vim: syntax=config
  2. #
  3. # mpv configuration file
  4. #
  5. # Configuration files are read system-wide from /usr/local/etc/mpv.conf
  6. # and per-user from ~/.config/mpv/mpv.conf, where per-user settings override
  7. # system-wide settings, all of which are overridden by the command line.
  8. #
  9. # Configuration file settings and the command line options use the same
  10. # underlying mechanisms. Most options can be put into the configuration file
  11. # by dropping the preceding '--'. See the man page for a complete list of
  12. # options.
  13. #
  14. # Lines starting with '#' are comments and are ignored.
  15. #
  16. # See the CONFIGURATION FILES section in the man page
  17. # for a detailed description of the syntax.
  18. #
  19. # Profiles should be placed at the bottom of the configuration file to ensure
  20. # that settings wanted as defaults are not restricted to specific profiles.
  21. #
  22. # Note that the commented example options usually do _not_ set the default
  23. # values. Calling mpv with --list-options is a nice way to see the default
  24. # values for most options.
  25. vd-lavc-software-fallback=no
  26. interpolation
  27. video-sync=display-resample
  28. tscale=oversample
  29. scale=ewa_lanczossharp
  30. cscale=ewa_lanczossharp
  31. ##################
  32. # video settings #
  33. ##################
  34.  
  35. # Specify default video driver (see --vo=help for a list).
  36. # vo=vdpau:icc-profile-auto
  37. # vo=opengl-hq:interpolation:scale=ewa_lanczossharp:icc-profile-auto
  38. # vo=opengl-hq:interpolation:icc-profile-auto
  39. # vo=opengl-hq:scale=ewa_lanczossharp:icc-profile-auto
  40. # vo=opengl-hq:icc-profile-auto
  41. # vo=opengl:icc-profile-auto
  42.  
  43. opengl-early-flush=no
  44. # tone-mapping=reinhard
  45. # tone-mapping-desaturate=0
  46.  
  47. # tone-mapping=clip
  48. # tone-mapping-param=0.25
  49.  
  50. # drop frames in case your computer is to slow for realtime playback
  51. # framedrop=vo
  52.  
  53. # Start in fullscreen mode by default.
  54. #fs=yes
  55.  
  56. # force starting with centered window
  57. geometry=50%+100%+50
  58.  
  59. # no border
  60. # border=no
  61.  
  62. input-doubleclick-time=0
  63.  
  64. # ontop=yes
  65.  
  66. # don't allow a new window to have a size larger than 90% of the screen size
  67. #autofit-larger=90%x90%
  68.  
  69. # Disable the On Screen Controller (OSC).
  70. # osc=no
  71.  
  72. # On Screen Display
  73. osd-level=1
  74. osd-bar-align-y=0
  75. osd-bar-h=4
  76. osd-border-size=0.4
  77. osd-color='#CCFFFFFF'
  78. osd-border-color='#99000000'
  79. osd-font="Hiragino Maru Gothic Pro"
  80. osd-playing-msg='file: ${filename}'
  81. osd-duration=2000
  82.  
  83.  
  84. # Terminal Playing Message
  85. # term-playing-msg='FPS: ${fps}'
  86. msg-color
  87. term-osd-bar
  88.  
  89. # keep the player open when a file's end is reached
  90. # no autoplay
  91. # don't force the immediate creation of a window
  92. force-window=no
  93. # use max quality for HLS streams
  94. hls-bitrate=max
  95.  
  96. ##################
  97. # audio settings #
  98. ##################
  99.  
  100. # Specify default audio driver (see --ao=help for a list).
  101. ao=coreaudio
  102. # audio-pitch-correction=yes
  103.  
  104. # Disable softvol usage, and always use the system mixer if available.
  105. # softvol=yes
  106.  
  107. # Scale audio tempo by playback speed without altering pitch. (By default does
  108. # nothing if playback speed is not changed. May introduce artifacts.)
  109. # af=scaletempo
  110. # af=drc
  111. # af=surround
  112.  
  113. # Output 5.1 audio natively, and upmix/downmix audio with a different format.
  114. # audio-channels=5.1
  115. # Disable any automatic remix, _if_ the audio output accepts the audio format.
  116. # of the currently played file.
  117. #audio-channels=empty
  118.  
  119. volume=100
  120.  
  121. ##################
  122. # other settings #
  123. ##################
  124.  
  125. # Pretend to be a web browser. Might fix playback with some streaming sites,
  126. # but also will break with shoutcast streams.
  127. #user-agent="Mozilla/5.0"
  128.  
  129. # cache settings
  130. #
  131. # Use 8MB input cache by default. The cache is enabled for network streams only.
  132. cache-default=8192
  133. #
  134. # Use 8MB input cache for everything, even local files.
  135. cache=8192
  136. #
  137. # If a seek is issued, and the target is 1024KB past the cached range, then
  138. # keep reading until the seek target is hit, instead of doing a real seek.
  139. #cache-seek-min=1024
  140. #
  141. # Disable the behavior that the player will pause if the cache goes below a
  142. # certain fill size.
  143. #cache-pause=no
  144. #
  145. # Read ahead about 5 seconds of audio and video packets.
  146. demuxer-readahead-secs=10.0
  147.  
  148. # Display English subtitles if available.
  149. # slang=en
  150. # slang=chi,zho,zh,jav,ja,eng,en
  151.  
  152. # Play Finnish audio if available, fall back to English otherwise.
  153. # alang=fi,en
  154. # alang=jp,jpn,en,eng,it,ita
  155.  
  156. # Change subtitle encoding. For Arabic subtitles use 'cp1256'.
  157. # If the file seems to be valid UTF-8, prefer UTF-8.
  158. sub-auto=fuzzy
  159. sub-codepage=utf8:gb18030
  160.  
  161. # Enable hardware decoding if available. Often, this requires using an certain
  162. # video output, otherwise no hardware decoding will be used.
  163. hwdec=videotoolbox
  164. # hwdec=vda
  165.  
  166. # save screenshots on the desktop
  167. screenshot-format=png
  168. screenshot-png-compression=8
  169. screenshot-png-filter=5
  170. screenshot-template='~/Desktop/%F (%P) %n'
  171.  
  172. save-position-on-quit
  173.  
  174. # enable/disable OSX media keys
  175. input-media-keys=no
  176.  
  177. # autohide the cursor after 1s
  178. cursor-autohide=1000
  179.  
  180. ############
  181. # Profiles #
  182. ############
  183.  
  184. # The options declared as part of profiles override global default settings,
  185. # but only take effect when the profile is active.
  186.  
  187. # The following profile can be enabled on the command line with: --profile=vdpau
  188.  
  189. #[vdpau]
  190. # The profile forces the vdpau VO.
  191. #vo=vdpau
  192. # Use hardware decoding (this might break playback of some h264 files)
  193. #hwdec=vdpau
  194. # Most video filters do not work with hardware decoding.
  195. #vf-clr=yes
  196.  
  197. # [high-quality]
  198. # profile-desc="High quality VO settings"
  199. # vo=opengl-hq:scale=ewa_lanczossharp:cscale=ewa_lanczossoft:dscale=mitchell:tscale=oversample:scale-antiring=0.8:cscale-antiring=0.9:dither-depth=auto:scaler-resizes-only:sigmoid-upscaling:target-prim=bt.709:gamma=0.9338:fancy-downscaling:temporal-dither:pbo:3dlut-size=256x256x256:icc-profile-auto
  200. #
  201. # [mid-quality]
  202. # profile-desc="Medium quality VO settings"
  203. # vo=opengl-hq:scale=spline36:cscale=spline36:dscale=mitchell:tscale=oversample:scale-antiring=0.8:cscale-antiring=0.9:dither-depth=auto:scaler-resizes-only:sigmoid-upscaling:target-prim=bt.709:gamma=0.9338:fancy-downscaling
  204. #
  205. # [low-quality]
  206. # profile-desc="Low energy VO settings"
  207. # vo=opengl:scale=lanczos:dscale=mitchell:tscale=oversample:scale-radius=2:dither-depth=auto:scaler-resizes-only:sigmoid-upscaling:target-prim=bt.709:gamma=0.9338
  208. # hwdec=auto
  209. #
  210. # [lower-quality]
  211. # vo=opengl:icc-profile-auto
  212.  
  213. # [default]
  214. # profile=mid-quality
  215.  
  216. alang=eng,en
  217. slang=eng,en,chs
  218.  
  219. #subtitle
  220. sub-file-paths=subs:Subs:subtitles:Subtitles
  221.  
  222. # You can also include other configuration files.
  223. #include=/path/to/the/file/you/want/to/include
Add Comment
Please, Sign In to add comment