Advertisement
Guest User

Untitled

a guest
Dec 13th, 2022
104
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
autoconf 5.34 KB | Source Code | 0 0
  1. #
  2. # Example mpv configuration file
  3. #
  4. # Warning:
  5. #
  6. # The commented example options usually do _not_ set the default values. Call
  7. # mpv with --list-options to see the default values for most options. There is
  8. # no builtin or example mpv.conf with all the defaults.
  9. #
  10. #
  11. # Configuration files are read system-wide from /usr/local/etc/mpv.conf
  12. # and per-user from ~/.config/mpv/mpv.conf, where per-user settings override
  13. # system-wide settings, all of which are overridden by the command line.
  14. #
  15. # Configuration file settings and the command line options use the same
  16. # underlying mechanisms. Most options can be put into the configuration file
  17. # by dropping the preceding '--'. See the man page for a complete list of
  18. # options.
  19. #
  20. # Lines starting with '#' are comments and are ignored.
  21. #
  22. # See the CONFIGURATION FILES section in the man page
  23. # for a detailed description of the syntax.
  24. #
  25. # Profiles should be placed at the bottom of the configuration file to ensure
  26. # that settings wanted as defaults are not restricted to specific profiles.
  27.  
  28. ##################
  29. # video settings #
  30. ##################
  31.  
  32. # Start in fullscreen mode by default.
  33. #fs=yes
  34.  
  35. # force starting with centered window
  36. #geometry=50%:50%
  37.  
  38. # don't allow a new window to have a size larger than 90% of the screen size
  39. #autofit-larger=90%x90%
  40.  
  41. # Do not close the window on exit.
  42. #keep-open=yes
  43.  
  44. # Do not wait with showing the video window until it has loaded. (This will
  45. # resize the window once video is loaded. Also always shows a window with
  46. # audio.)
  47. #force-window=immediate
  48.  
  49. # Disable the On Screen Controller (OSC).
  50. #osc=no
  51.  
  52. # Keep the player window on top of all other windows.
  53. #ontop=yes
  54.  
  55. # Specify high quality video rendering preset (for --vo=gpu only)
  56. # Can cause performance problems with some drivers and GPUs.
  57. #profile=gpu-hq
  58.  
  59. # Force video to lock on the display's refresh rate, and change video and audio
  60. # speed to some degree to ensure synchronous playback - can cause problems
  61. # with some drivers and desktop environments.
  62. #video-sync=display-resample
  63.  
  64. # Enable hardware decoding if available. Often, this does not work with all
  65. # video outputs, but should work well with default settings on most systems.
  66. # If performance or energy usage is an issue, forcing the vdpau or vaapi VOs
  67. # may or may not help.
  68. #hwdec=auto
  69.  
  70. ##################
  71. # audio settings #
  72. ##################
  73.  
  74. # Specify default audio device. You can list devices with: --audio-device=help
  75. # The option takes the device string (the stuff between the '...').
  76. #audio-device=alsa/default
  77.  
  78. # Do not filter audio to keep pitch when changing playback speed.
  79. #audio-pitch-correction=no
  80.  
  81. # Output 5.1 audio natively, and upmix/downmix audio with a different format.
  82. #audio-channels=5.1
  83. # Disable any automatic remix, _if_ the audio output accepts the audio format.
  84. # of the currently played file. See caveats mentioned in the manpage.
  85. # (The default is "auto-safe", see manpage.)
  86. #audio-channels=auto
  87.  
  88. ##################
  89. # other settings #
  90. ##################
  91.  
  92. # Pretend to be a web browser. Might fix playback with some streaming sites,
  93. # but also will break with shoutcast streams.
  94. #user-agent="Mozilla/5.0"
  95.  
  96. # cache settings
  97. #
  98. # Use a large seekable RAM cache even for local input.
  99. #cache=yes
  100. #
  101. # Use extra large RAM cache (needs cache=yes to make it useful).
  102. #demuxer-max-bytes=500M
  103. #demuxer-max-back-bytes=100M
  104. #
  105. # Disable the behavior that the player will pause if the cache goes below a
  106. # certain fill size.
  107. #cache-pause=no
  108. #
  109. # Store cache payload on the hard disk instead of in RAM. (This may negatively
  110. # impact performance unless used for slow input such as network.)
  111. #cache-dir=~/.cache/
  112. #cache-on-disk=yes
  113.  
  114. # Display English subtitles if available.
  115. #slang=en
  116.  
  117. # Play Finnish audio if available, fall back to English otherwise.
  118. #alang=fi,en
  119.  
  120. # Change subtitle encoding. For Arabic subtitles use 'cp1256'.
  121. # If the file seems to be valid UTF-8, prefer UTF-8.
  122. # (You can add '+' in front of the codepage to force it.)
  123. #sub-codepage=cp1256
  124.  
  125. # You can also include other configuration files.
  126. #include=/path/to/the/file/you/want/to/include
  127.  
  128. ############
  129. # Profiles #
  130. ############
  131.  
  132. # The options declared as part of profiles override global default settings,
  133. # but only take effect when the profile is active.
  134.  
  135. # The following profile can be enabled on the command line with: --profile=eye-cancer
  136.  
  137. #[eye-cancer]
  138. #sharpen=5
  139.  
  140.  
  141. ##
  142. #x11-bypass-compositor=no  ## for kde only
  143. #hwdec=vaapi
  144. ## used in ubuntu 22.04 for titlebar
  145. hwdec=vaapi-copy
  146. gpu-context=x11egl
  147. ##
  148. #save-position-on-quit=yes
  149. #hwdec=auto-safe
  150. #profile=gpu-hq
  151. volume=100
  152. fs=yes
  153. force-seekable=yes
  154. cursor-autohide=200
  155. sub-auto=fuzzy
  156. #sub-bold=yes
  157. cache=yes
  158. demuxer-max-bytes=500M
  159. demuxer-max-back-bytes=100M
  160. ytdl-format="((bestvideo[height<=?1080][vcodec^=vp9]/bestvideo)+(bestaudio[acodec=opus]/bestaudio[acodec=vorbis]/bestaudio[acodec=aac]/bestaudio))/best"
  161. ytdl-raw-options=yes-playlist=
  162. #ytdl-format="bestvideo[height<=?1080]+bestaudio/best"
  163. script-opts=ytdl_hook-ytdl_path=/home/akash/.local/bin/yt-dlp
  164.  
  165.  
  166. glsl-shaders = ""
  167. glsl-shaders = "~~/shaders/Anime4K_Clamp_Highlights.glsl:~~/shaders/Anime4K_Restore_CNN_M.glsl:~~/shaders/Anime4K_Upscale_CNN_x2_M.glsl:~~/shaders/Anime4K_AutoDownscalePre_x2.glsl:~~/shaders/Anime4K_AutoDownscalePre_x4.glsl:~~/shaders/Anime4K_Upscale_CNN_x2_S.glsl"
  168.  
  169.  
  170.  
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement