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.

151 lines
4.1 KiB

2 years ago
  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. input-unix-socket=~/.config/mpv/mpv.sock
  25. ##################
  26. # video settings #
  27. ##################
  28. no-border
  29. no-osd-bar
  30. osd-level=0
  31. osd-fractions
  32. # Specify default video driver (see --vo=help for a list).
  33. #vo=vdpau
  34. # Start in fullscreen mode by default.
  35. #fs=yes
  36. # force starting with centered window
  37. #geometry=50%:50%
  38. # don't allow a new window to have a size larger than 90% of the screen size
  39. #autofit-larger=90%x90%
  40. # Disable the On Screen Controller (OSC).
  41. #osc=no
  42. # Keep the player window on top of all other windows.
  43. #ontop=yes
  44. ##################
  45. # audio settings #
  46. ##################
  47. # Specify default audio driver (see --ao=help for a list).
  48. #ao=alsa
  49. # Disable softvol usage, and always use the system mixer if available.
  50. #softvol=no
  51. # Scale audio tempo by playback speed without altering pitch. (By default does
  52. # nothing if playback speed is not changed. May introduce artifacts.)
  53. #af=scaletempo
  54. # Output 5.1 audio natively, and upmix/downmix audio with a different format.
  55. #audio-channels=5.1
  56. # Disable any automatic remix, _if_ the audio output accepts the audio format.
  57. # of the currently played file.
  58. #audio-channels=empty
  59. audio-normalize-downmix=yes
  60. ##################
  61. # other settings #
  62. ##################
  63. # Pretend to be a web browser. Might fix playback with some streaming sites,
  64. # but also will break with shoutcast streams.
  65. #user-agent="Mozilla/5.0"
  66. # cache settings
  67. #
  68. # Use 8MB input cache by default. The cache is enabled for network streams only.
  69. #cache-default=8192
  70. #
  71. # Use 8MB input cache for everything, even local files.
  72. #cache=8192
  73. #
  74. # If a seek is issued, and the target is 1024KB past the cached range, then
  75. # keep reading until the seek target is hit, instead of doing a real seek.
  76. #cache-seek-min=1024
  77. #
  78. # Disable the behavior that the player will pause if the cache goes below a
  79. # certain fill size.
  80. #cache-pause=no
  81. #
  82. # Read ahead about 5 seconds of audio and video packets.
  83. #demuxer-readahead-secs=5.0
  84. # Display English subtitles if available.
  85. slang=en
  86. # Play Finnish audio if available, fall back to English otherwise.
  87. alang=jpn,en
  88. # Change subtitle encoding. For Arabic subtitles use 'cp1256'.
  89. # If the file seems to be valid UTF-8, prefer UTF-8.
  90. #sub-codepage=utf8:cp1256
  91. # Enable hardware decoding if available. Often, this requires using an certain
  92. # video output, otherwise no hardware decoding will be used.
  93. #hwdec=auto
  94. ############
  95. # Profiles #
  96. ############
  97. # The options declared as part of profiles override global default settings,
  98. # but only take effect when the profile is active.
  99. # The following profile can be enabled on the command line with: --profile=vdpau
  100. #[vdpau]
  101. # The profile forces the vdpau VO.
  102. #vo=vdpau
  103. # Use hardware decoding (this might break playback of some h264 files)
  104. #hwdec=vdpau
  105. # Most video filters do not work with hardware decoding.
  106. #vf-clr=yes
  107. #vo=opengl-hq
  108. #vo=opengl-hq:interpolation
  109. hwdec=vaapi
  110. #hwdec=cuda
  111. #hwdec=auto
  112. vo=gpu
  113. video-sync=display-resample
  114. #vf=dejudder
  115. #vf=format=yuv420p,vapoursynth=~~/motioninterpolation.vpy:4:4
  116. # You can also include other configuration files.
  117. #include=/path/to/the/file/you/want/to/include
  118. screenshot-format=png
  119. screenshot-template="~/Desktop/%tF %tH-%tM-%tS screenshot"
  120. fullscreen