Advertisement
Guest User

Zweeflol's mpv.conf

a guest
Oct 23rd, 2017
73
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 5.50 KB | None | 0 0
  1. #
  2. # mpv configuration file
  3. #
  4. # https://github.com/mpv-player/mpv/blob/master/etc/example.conf
  5. # https://github.com/mpv-player/mpv/blob/master/etc/mpv.conf
  6. #
  7. # Configuration files are read system-wide from /usr/local/etc/mpv.conf
  8. # and per-user from ~/.config/mpv/mpv.conf, where per-user settings override
  9. # system-wide settings, all of which are overridden by the command line.
  10. #
  11. # Configuration file settings and the command line options use the same
  12. # underlying mechanisms. Most options can be put into the configuration file
  13. # by dropping the preceding '--'. See the man page for a complete list of
  14. # options.
  15. #
  16. # Lines starting with '#' are comments and are ignored.
  17. #
  18. # See the CONFIGURATION FILES section in the man page
  19. # for a detailed description of the syntax.
  20. #
  21. # Profiles should be placed at the bottom of the configuration file to ensure
  22. # that settings wanted as defaults are not restricted to specific profiles.
  23. #
  24. # Note that the commented example options usually do _not_ set the default
  25. # values. Calling mpv with --list-options is a nice way to see the default
  26. # values for most options.
  27.  
  28.  
  29.  
  30. #######################
  31. # screenshot settings #
  32. #######################
  33.  
  34. # --screenshot-high-bit-depth=<yes|no>
  35. # If possible, write screenshots with a bit depth similar to the source video (default: yes). This is
  36. # interesting in particular for PNG, as this sometimes triggers writing 16 bit PNGs with huge file sizes.
  37. screenshot-format=png
  38. screenshot-high-bit-depth=no
  39. screenshot-template="mpv-shot%n %p"
  40. screenshot-directory=F:\000Libraries\Pictures\
  41.  
  42.  
  43. #######
  44. # OSD #
  45. #######
  46.  
  47. # This is for the old OSD
  48. # https://archive.rebeccablacktech.com/g/thread/57156197#p57158413
  49. # https://warosu.org/g/thread/57156197#p57158413
  50. # https://github.com/mpv-player/mpv/wiki/FAQ#i-want-the-old-osc-back
  51. script-opts=osc-layout=box,osc-seekbarstyle=slider,osc-deadzonesize=0,osc-scalewindowed=0.85,osc-scalefullscreen=0.85,osc-timems=yes
  52.  
  53.  
  54. ##################
  55. # audio settings #
  56. ##################
  57. # --ad-lavc-downmix=<yes|no>
  58. # Whether to request audio channel downmixing from the decoder (default: yes). Some decoders, like
  59. # AC-3, AAC and DTS, can remix audio on decoding. The requested number of output channels is set
  60. # with the --audio-channels option. Useful for playing surround audio on a stereo system.
  61.  
  62. # ad-lavc-downmix=no # stereo
  63. # ad-lavc-downmix=yes # 5.1
  64. ad-lavc-downmix=no
  65.  
  66. # --audio-normalize-downmix=<yes|no>
  67. # Enable/disable normalization if surround audio is downmixed to stereo (default: no). If this is disabled, downmix can cause clipping. If it's enabled, the output might be too silent. It depends on the source audio.
  68. # Technically, this changes the normalize suboption of the lavrresample audio filter, which performs the downmixing.
  69. # If downmix happens outside of mpv for some reason, this has no effect.
  70. # audio-normalize-downmix=yes
  71.  
  72. # --audio-channels=<auto|number|layout>
  73. # Request a channel layout for audio output (default: stereo).
  74. # This will ask the AO to open a device with the given channel layout.
  75. # It's up to the AO to accept this layout, or to pick a fallback or to error out if the requested layout is not supported.
  76. # The --audio-channels option either takes a channel number or an explicit channel layout.
  77. # Channel numbers refer to default layouts, e.g. 2 channels refer to stereo, 6 refers to 5.1.
  78. # See --audio-channels=help output for defined default layouts.
  79. # This also lists speaker names, which can be used to express arbitrary channel layouts (e.g. fl-fr-lfe is 2.1).
  80. # --audio-channels=auto tries to play audio using the input file's channel layout.
  81. # There is no guarantee that the audio API handles this correctly.
  82. # See the HDMI warning below. (empty is an accepted obsolete alias for auto.)
  83. # This will also request the channel layout from the decoder.
  84. # If the decoder does not support the layout, it will fall back to its native channel layout.
  85. # (You can use --ad-lavc-downmix=no to make the decoder always output its native layout.)
  86. # Note that only some decoders support remixing audio.
  87. # Some that do include AC-3, AAC or DTS audio.
  88. # If the channel layout of the media file (i.e. the decoder) and the AO's channel layout don't match, mpv will attempt to insert a conversion filter.
  89.  
  90. # audio-channels=stereo
  91. # audio-channels=5.1
  92. audio-channels=stereo
  93.  
  94. # If you just want to force remixing to a certain output channel layout,
  95. # it is easier to use the format filter.
  96. # For example, mpv '--af=format=channels=5.1' '--audio-channels=5.1' would always force
  97. # remixing audio to 5.1 and output it like this.
  98. # af=format=channels=2.1
  99.  
  100. # lavrresample[=option1:option2:...]
  101. # This filter uses libavresample (or libswresample, depending on the build) to change sample rate,
  102. # sample format, or channel layout of the audio stream.
  103. # This filter is automatically enabled if the audio output does not support the audio
  104. # configuration of the file being played.
  105. # It supports only the following sample formats: u8, s16, s32, float.
  106. # normalize=<yes|no|auto>
  107. # Whether to normalize when remixing channel layouts (default: auto).
  108. # auto uses the value set by --audio-normalize-downmix.
  109. # af=lavrresample=normalize=yes
  110.  
  111. # af=format=channels=stereo
  112. # af=format=channels=5.1
  113. af=format=channels=stereo
  114.  
  115. ##################
  116. # other settings #
  117. ##################
  118.  
  119. # keep the player open when a file's end is reached
  120. keep-open
  121.  
  122. # no autoplay
  123. pause
  124.  
  125. #Looping images
  126. [extension.webm]
  127. loop-file=inf
  128.  
  129. [extension.gif]
  130. loop-file=inf
  131.  
  132. [extension.m4a]
  133. loop-file=inf
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement