Advertisement
Guest User

Untitled

a guest
Apr 16th, 2024
54
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 9.08 KB | None | 0 0
  1. # Renderer #
  2. vo=gpu-next
  3. target-colorspace-hint=yes
  4. --tone-mapping=spline
  5. profile=gpu-hq
  6. gpu-api=vulkan
  7. log-file=C:/.mpv/log.txt
  8.  
  9. #glsl-shaders="~~/shaders/crt.glsl" #crt look thanks to haas can look good on some pre90s anime
  10.  
  11. # GENERAL #
  12. #fs=yes #start in fullscreen
  13. ytdl=yes
  14. save-position-on-quit
  15. keep-open=yes
  16. autofit=45%
  17. geometry=50%:50% #start with window in the middle
  18. watch-later-directory=C:/.mpv/tmp #default directory for save-position-on-quit
  19.  
  20. input-ipc-server=mpvpipe
  21. hr-seek-framedrop=no
  22. border=no
  23. msg-color=yes
  24. msg-module=yes
  25.  
  26. # Screenshots #
  27. screenshot-template="%x\Screens\Screenshot-%F-T%wH.%wM.%wS.%wT-F%{estimated-frame-number}"
  28. screenshot-format=png # Set screenshot format
  29. screenshot-png-compression=4 # Range is 0 to 10. 0 being no compression. compute-time to size is log so 4 is best
  30. screenshot-tag-colorspace=yes
  31. screenshot-high-bit-depth=yes # Same output bitdepth as the videoz
  32. --screenshot-tag-colorspace=yes
  33.  
  34.  
  35. # OSC/OSD #
  36.  
  37. osc=yes
  38. osd-bar=yes # Do not remove/comment if mpv_thumbnail_script_client_osc.lua is being used.
  39. osd-font='Public Sans Light' # Set a font for OSC
  40. osd-font-size=30 # Set a font size
  41. osd-color='#CCFFFFFF' # ARGB format
  42. osd-border-color='#DD322640' # ARGB format
  43. osd-bar-align-y=-1 # progress bar y alignment (-1 top, 0 centered, 1 bottom)
  44. osd-border-size=2 # size for osd text and progress bar
  45. osd-bar-h=1 # height of osd bar as a fractional percentage of your screen height
  46. osd-bar-w=60 # width of " " "
  47.  
  48. # Subs #
  49.  
  50. #blend-subtitles=no # <yes|video|no>
  51. sub-ass-vsfilter-blur-compat=yes # Backward compatibility for vsfilter fansubs
  52. sub-ass-scale-with-window=no # May have undesired effects with signs being misplaced.
  53. sub-fix-timing=yes
  54. sub-auto=fuzzy # external subs don't have to match the file name exactly to autoload
  55. #sub-gauss=0.6 # Some settings fixing VOB/PGS subtitles (creating blur & changing yellow subs to gray)
  56. sub-file-paths-append=ass # search for external subs in these relative subdirectories
  57. sub-file-paths-append=srt
  58. sub-file-paths-append=sub
  59. sub-file-paths-append=subs
  60. sub-file-paths-append=subtitles
  61. demuxer-mkv-subtitle-preroll=yes # try to correctly show embedded subs when seeking
  62. embeddedfonts=yes # use embedded fonts for SSA/ASS subs
  63. sub-fix-timing=no # do not try to fix gaps (which might make it worse in some cases). Enable if there are scenebleeds.
  64.  
  65. # Subs - Forced #
  66.  
  67. sub-font=Public Sans SemiBold
  68. sub-font-size=54
  69. sub-blur=0.3
  70. sub-border-color=0.0/0.0/0.0/1.0
  71. sub-border-size=3.4
  72. sub-color=0.95/0.95/0.95/1.00
  73. sub-margin-x=100
  74. sub-margin-y=50
  75. sub-shadow-color=0.0/0.0/0.0/0.33
  76. sub-shadow-offset=0
  77.  
  78. # Audio #
  79.  
  80. volume-max=150 # maximum volume in %, everything above 100 results in amplification
  81. #audio-exclusive=yes # bitstream
  82. audio-stream-silence # fix audio popping on random seek
  83. audio-file-auto=fuzzy # external audio doesn't has to match the file name exactly to autoload
  84. audio-pitch-correction=yes # automatically insert scaletempo when playing with higher speed
  85.  
  86. # Languages #
  87.  
  88. alang=jpn,jp,eng,en,enUS,en-US,de,ger
  89. slang=eng,en,und,de,ger,jp,jap
  90.  
  91. # Video Profiles #
  92.  
  93. dither=fruit
  94. scale=ewa_lanczos
  95. cscale=lanczos
  96. dscale=mitchell
  97. scale-antiring=0
  98. cscale-antiring=0
  99. correct-downscaling=yes
  100. linear-downscaling=no
  101. sigmoid-upscaling=yes
  102.  
  103. # Debanding #
  104.  
  105. deband=no
  106. deband-iterations=2
  107. deband-threshold=40 #increase this number to increase deband strenght but lose some detail
  108. deband-range=16
  109. deband-grain=10
  110. dither-depth=auto
  111.  
  112. # interpolation #
  113.  
  114. interpolation=no #can be toggled with key i
  115. video-sync=display-resample
  116. tscale=oversample
  117.  
  118. blend-subtitles=no
  119.  
  120. # force audio-output (open cmd/terminal in mpv directory and type mpv --audio-device=help) #
  121. [audio-out]
  122. --audio-device='wasapi/{13f10bac-9ffd-448d-98ff-edea569ccf67}'
  123.  
  124. #alternative upscale#
  125. [altup]
  126. vo=gpu
  127. scale=mitchell
  128. glsl-shaders-clr
  129. glsl-shaders="~~/shaders/Anime4K_Restore_CNN_Soft_VL.glsl"
  130. glsl-shaders-append="~~/shaders/Anime4K_Upscale_CNN_x2_VL.glsl"
  131. glsl-shaders-append="~~/shaders/Anime4K_Thin_HQ.glsl"
  132. glsl-shaders-append="~~/shaders/Anime4K_Darken_HQ.glsl"
  133.  
  134. #altup toggle#
  135. [ssim]
  136. vo=gpu-next
  137. scale=lanczos
  138. glsl-shaders-clr
  139. glsl-shaders-append="~~/shaders/adaptive-sharpen4k.glsl"
  140. glsl-shaders-append="~~/shaders/SSimSuperRes.glsl"
  141. glsl-shaders-append="~~/shaders/SSimDownscaler.glsl"
  142. deband-grain=30
  143.  
  144. #AUDIO PLAYER OSC#
  145. [audio]
  146. --script-opts=osc-visibility=always
  147. --save-position-on-quit=no
  148. glsl-shaders-clr
  149. scale=lanczos
  150. glsl-shaders-append="~~/shaders/SSimSuperRes.glsl"
  151. glsl-shaders-append="~~/shaders/SSimDownscaler.glsl"
  152.  
  153. [extension.mp3]
  154. profile=audio
  155. [extension.m4a]
  156. profile=audio
  157. [extension.wav]
  158. profile=audio
  159. [extension.flac]
  160. profile=audio
  161. [extension.ogg]
  162. profile=audio
  163. [extension.opus]
  164. profile=audio
  165. [extension.cue]
  166. profile=audio
  167. [extension.m3a]
  168. profile=audio
  169. [extension.mkv]
  170. profile=mkv
  171.  
  172. #[mkv]
  173. #cache=yes
  174. #demuxer-max-bytes=2000MiB
  175.  
  176. [interlaced footage]
  177. profile-cond=p["video-frame-info/interlaced"]
  178. deinterlace=yes
  179.  
  180. [low-res video]
  181. profile-desc=cond:(get('height', math.huge) < 720) and (get('estimated-frame-count', math.huge) > 2)
  182. scale=lanczos
  183. glsl-shaders-append="~~/shaders/NVSharpen.glsl"
  184. glsl-shaders-append="~~/shaders/KrigBilateral.glsl"
  185. deband-grain=60
  186.  
  187. [720p video]
  188. profile-desc=cond:(get('height', math.huge) < 721) and (get('height', math.huge) > 719) and (get('estimated-frame-count', math.huge) > 2)
  189. scale=lanczos
  190. glsl-shaders-append="~~/shaders/SSimSuperRes.glsl"
  191. glsl-shaders-append="~~/shaders/KrigBilateral.glsl"
  192. deband-grain=100
  193.  
  194. [hi-res video]
  195. profile-desc=cond:get('height', math.huge) > 720 and (get('estimated-frame-count', math.huge) > 2) or (get('estimated-frame-count', math.huge) ~= 0)
  196. scale=lanczos
  197. glsl-shaders-append="~~/shaders/SSimSuperRes.glsl"
  198. glsl-shaders-append="~~/shaders/adaptive-sharpen.glsl"
  199. glsl-shaders-append="~~/shaders/KrigBilateral.glsl"
  200.  
  201. #image shaders#
  202.  
  203. [hi-res-image]
  204. profile-desc=cond:(get('current-window-scale', math.huge) <= 1) and (get('estimated-frame-count', math.huge) == 1 or get('estimated-frame-count', math.huge) == 0)
  205. dscale=lanczos
  206. dscale-blur=0.8
  207. glsl-shaders-clr
  208. glsl-shaders="~~/shaders/SSimDownscaler.glsl"
  209. glsl-shaders="~~/shaders/KrigBilateral.glsl"
  210.  
  211. [low-res-image]
  212. profile-desc=cond:(get('current-window-scale', math.huge) > 1) and (get('estimated-frame-count', math.huge) == 1 or get('estimated-frame-count', math.huge) == 0)
  213. glsl-shaders-clr
  214. scale=lanczos
  215. glsl-shaders-append="~~/shaders/NVSharpen.glsl"
  216. glsl-shaders-append="~~/shaders/KrigBilateral.glsl"
  217. glsl-shaders-append="~~/shaders/SSimDownscaler.glsl"
  218.  
  219. [basic]
  220. glsl-shaders-clr #binded to button b in input config to clear shaders-for testing only
  221. scale=ewa_lanczossharp
  222.  
  223. #[raw-mode]
  224. #profile-desc=cond:(get('height', math.huge)*get('width', math.huge)/(get('video-bitrate', math.huge)) < 80 )
  225.  
  226. #SDR switch#
  227.  
  228. [gpu-next]
  229. vo=gpu-next
  230. --icc-profile-auto=no
  231. --inverse-tone-mapping=no
  232. --target-trc=auto
  233. [gpu]
  234. vo=gpu
  235. --icc-profile-auto=no
  236. --inverse-tone-mapping=no
  237. [hdr-force]
  238. vo=gpu-next
  239. target-colorspace-hint
  240. --icc-profile-auto=no
  241. --inverse-tone-mapping=no
  242. --target-trc=pq
  243.  
  244. #Sharpen image
  245.  
  246. [sharp1]
  247. glsl-shaders-clr
  248. scale=lanczos
  249. glsl-shaders-append="~~/shaders/adaptive-sharpen8k.glsl"
  250. glsl-shaders-append="~~/shaders/SSimSuperRes.glsl"
  251. glsl-shaders-append="~~/shaders/SSimDownscaler.glsl"
  252. deband-grain=60
  253. [sharp0]
  254. glsl-shaders-clr
  255. scale=lanczos
  256. dscale=lanczos
  257. glsl-shaders-append="~~/shaders/FSRCNNX_x2_8-0-4-1.glsl"
  258. glsl-shaders-append="~~/shaders/KrigBilateral.glsl"
  259. glsl-shaders-append="~~/shaders/SSimDownscaler.glsl"
  260.  
  261. [protocol.file]
  262. network-timeout=0
  263. force-window=yes
  264. cache=yes
  265. demuxer-max-bytes=2000MiB
  266. demuxer-readahead-secs=300
  267. force-seekable=yes
  268.  
  269. [protocol-network]
  270. network-timeout=5
  271. #force-window=immediate
  272. hls-bitrate=max
  273. cache=yes
  274. demuxer-max-bytes=2000MiB
  275. demuxer-readahead-secs=300
  276.  
  277. [protocol.http]
  278. profile=protocol-network
  279.  
  280. [protocol.https]
  281. profile=protocol-network
  282.  
  283. [not-image]
  284. profile-cond=(get('estimated-frame-count', math.huge) >= 2)
  285. --script-opts=osc-visibility=auto
  286.  
  287. [image]
  288. profile-cond=(get('estimated-frame-count', math.huge) < 2)
  289. --icc-profile-auto=no
  290. --script-opts=osc-visibility=never
  291. --save-position-on-quit=no
  292. #background=0.1 # dark grey background instead of pure black
  293. #mute=yes
  294. osc=no # the osc is mostly useful for videos
  295.  
  296. sub-auto=no # don't try to autoload subtitles or audio files
  297. audio-file-auto=no # get rid of the useless V: 00:00:00 / 00:00:00 line
  298. image-display-duration=inf # don't slideshow by default
  299. loop-file=inf # loop files in case of webms or gifs
  300. loop-playlist=inf # and loop the whole playlist
  301. window-dragging=no # you need this if you plan to use drag-to-pan or pan-follows-cursor with MOUSE_LEFT
  302. deband=no
  303.  
  304. [extension.png]
  305. video-aspect-override=no
  306. [extension.jpg]
  307. video-aspect-override=no
  308. [extension.jpeg]
  309. profile=extension.jpg
  310. [silent]
  311. msg-level=all=no
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement