mpv.conf 2.6 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485868788899091
  1. # MPV configuration file.
  2. # Video settings
  3. # Specify default video driver (see --vo=help for a list).
  4. vo=opengl-hq
  5. # Start in fullscreen mode by default.
  6. #fs=yes
  7. # force starting with centered window
  8. #geometry=50%:50%
  9. # don't allow a new window to have a size larger than 90% of the screen size
  10. #autofit-larger=90%x90%
  11. # Disable the On Screen Controller (OSC).
  12. #osc=no
  13. # Keep the player window on top of all other windows.
  14. #ontop=yes
  15. # Audio settings
  16. # Specify default audio driver (see --ao=help for a list).
  17. ao=alsa
  18. # Disable softvol usage, and always use the system mixer if available.
  19. #softvol=no
  20. # Scale audio tempo by playback speed without altering pitch. (By default does
  21. # nothing if playback speed is not changed. May introduce artifacts.)
  22. #af=scaletempo
  23. # Output 5.1 audio natively, and upmix/downmix audio with a different format.
  24. #audio-channels=5.1
  25. # Disable any automatic remix, _if_ the audio output accepts the audio format of the currently played file.
  26. #audio-channels=empty
  27. # Other settings
  28. # Pretend to be a web browser. Might fix playback with some streaming sites,
  29. # but also will break with shoutcast streams.
  30. #user-agent="Mozilla/5.0"
  31. # cache settings
  32. # Use 8MB input cache by default. The cache is enabled for network streams only.
  33. cache-default=8192
  34. # Use 8MB input cache for everything, even local files.
  35. cache=8192
  36. # If a seek is issued, and the target is 1024KB past the cached range, then
  37. # keep reading until the seek target is hit, instead of doing a real seek.
  38. #cache-seek-min=1024
  39. # Disable the behavior that the player will pause if the cache goes below a
  40. # certain fill size.
  41. #cache-pause=no
  42. # Read ahead about 5 seconds of audio and video packets.
  43. #demuxer-readahead-secs=5.0
  44. # Display English subtitles if available.
  45. slang=en
  46. # Play English audio if available.
  47. alang=en
  48. # Change subtitle encoding. For Arabic subtitles use 'cp1256'.
  49. # If the file seems to be valid UTF-8, prefer UTF-8.
  50. #sub-codepage=utf8:cp1256
  51. # Enable hardware decoding if available. Often, this requires using an certain
  52. # video output, otherwise no hardware decoding will be used.
  53. #hwdec=auto
  54. # Profiles
  55. # The options declared as part of profiles override global default settings,
  56. # but only take effect when the profile is active.
  57. # The following profile can be enabled on the command line with: --profile=vdpau
  58. #[vdpau]
  59. # The profile forces the vdpau VO.
  60. #vo=vdpau
  61. # Use hardware decoding (this might break playback of some h264 files)
  62. #hwdec=vdpau
  63. # Most video filters do not work with hardware decoding.
  64. #vf-clr=yes
  65. # You can also include other configuration files.
  66. # Example: include=/path/to/the/file/you/want/to/include