You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

136 lines
3.9KB

  1. #
  2. # mpv configuration file
  3. #
  4. # Configuration files are read system-wide from /usr/local/etc/mpv.conf
  5. # and per-user from ~/.config/mpv/mpv.conf, where per-user settings override
  6. # system-wide settings, all of which are overridden by the command line.
  7. #
  8. # Configuration file settings and the command line options use the same
  9. # underlying mechanisms. Most options can be put into the configuration file
  10. # by dropping the preceding '--'. See the man page for a complete list of
  11. # options.
  12. #
  13. # Lines starting with '#' are comments and are ignored.
  14. #
  15. # See the CONFIGURATION FILES section in the man page
  16. # for a detailed description of the syntax.
  17. #
  18. # Profiles should be placed at the bottom of the configuration file to ensure
  19. # that settings wanted as defaults are not restricted to specific profiles.
  20. #
  21. # Note that the commented example options usually do _not_ set the default
  22. # values. Calling mpv with --list-options is a nice way to see the default
  23. # values for most options.
  24. ##################
  25. # video settings #
  26. ##################
  27. # Specify default video driver (see --vo=help for a list).
  28. vo=gpu
  29. # waitvsync=enabled
  30. # Start in fullscreen mode by default.
  31. fs=no
  32. #vf=delogo=x:y:w:h:t(thickness fuzzy edge):show(show rectangle) #blur a tv logo
  33. # force starting with centered window
  34. #geometry=50%:50%
  35. # don't allow a new window to have a size larger than 90% of the screen size
  36. #autofit-larger=90%x90%
  37. # Disable the On Screen Controller (OSC).
  38. osc=no
  39. # Keep the player window on top of all other windows.
  40. #ontop=yes
  41. ##################
  42. # audio settings #
  43. ##################
  44. # Specify default audio driver (see --ao=help for a list).
  45. #ao=alsa
  46. # Disable softvol usage, and always use the system mixer if available.
  47. # softvol=yes
  48. # Scale audio tempo by playback speed without altering pitch. (By default does
  49. # nothing if playback speed is not changed. May introduce artifacts.)
  50. #af=scaletempo
  51. #af=bs2b #binaural for headphones, uses libbs2b (install needed)
  52. # af=drc=2:0.25
  53. # Output 5.1 audio natively, and upmix/downmix audio with a different format.
  54. #audio-channels=5.1
  55. # Disable any automatic remix, _if_ the audio output accepts the audio format.
  56. # of the currently played file.
  57. #audio-channels=empty
  58. ##################
  59. # other settings #
  60. ##################
  61. sub-font-size=40
  62. osd-font-size=40
  63. keep-open=yes
  64. osd-bar=no
  65. # Pretend to be a web browser. Might fix playback with some streaming sites,
  66. # but also will break with shoutcast streams.
  67. #user-agent="Mozilla/5.0"
  68. # cache settings
  69. #
  70. # Use 8MB input cache by default. The cache is enabled for network streams only.
  71. #cache-default=8192
  72. #
  73. # Use 8MB input cache for everything, even local files.
  74. #cache=8192
  75. #
  76. # If a seek is issued, and the target is 1024KB past the cached range, then
  77. # keep reading until the seek target is hit, instead of doing a real seek.
  78. #cache-seek-min=1024
  79. #
  80. # Disable the behavior that the player will pause if the cache goes below a
  81. # certain fill size.
  82. #cache-pause=no
  83. #
  84. # Read ahead about 5 seconds of audio and video packets.
  85. #demuxer-readahead-secs=5.0
  86. # Display English subtitles if available.
  87. slang=en
  88. # Play Finnish audio if available, fall back to English otherwise.
  89. alang=en
  90. # Change subtitle encoding. For Arabic subtitles use 'cp1256'.
  91. # If the file seems to be valid UTF-8, prefer UTF-8.
  92. #sub-codepage=utf8:cp1256
  93. # Enable hardware decoding if available. Often, this requires using an certain
  94. # video output, otherwise no hardware decoding will be used.
  95. hwdec=vaapi
  96. ############
  97. # Profiles #
  98. ############
  99. # The options declared as part of profiles override global default settings,
  100. # but only take effect when the profile is active.
  101. # The following profile can be enabled on the command line with: --profile=vdpau
  102. #[vdpau]
  103. # The profile forces the vdpau VO.
  104. #vo=vdpau
  105. # Use hardware decoding (this might break playback of some h264 files)
  106. #hwdec=vdpau
  107. # Most video filters do not work with hardware decoding.
  108. #vf-clr=yes
  109. # You can also include other configuration files.
  110. #include=/path/to/the/file/you/want/to/include