2021-01-24 05:49:08 +00:00
|
|
|
save-position-on-quit = yes
|
2024-07-16 22:26:19 +00:00
|
|
|
|
2021-03-25 15:03:33 +00:00
|
|
|
screenshot-format = webp
|
|
|
|
screenshot-webp-lossless = yes
|
2024-07-16 22:26:19 +00:00
|
|
|
|
2021-01-24 05:49:08 +00:00
|
|
|
gapless-audio = yes
|
|
|
|
volume-max = 1000
|
2019-06-26 02:15:48 +00:00
|
|
|
|
2021-01-24 05:49:08 +00:00
|
|
|
cache = yes
|
|
|
|
demuxer-max-bytes = 2147483647
|
|
|
|
demuxer-max-back-bytes = 2147483647
|
2019-07-29 02:06:10 +00:00
|
|
|
|
2021-01-24 05:49:08 +00:00
|
|
|
audio-file-auto = exact
|
|
|
|
audio-file-paths = ../Custom Tracks:./Custom Tracks:../Audio:./Audio
|
|
|
|
sub-file-paths = ../Subtitles:./Subtitles:../Subs:./Subs
|
|
|
|
use-filedir-conf
|
2020-04-27 21:07:27 +00:00
|
|
|
|
2024-07-16 22:26:19 +00:00
|
|
|
osd-font = Cantarell
|
|
|
|
sub-border-size = 2
|
2023-07-27 15:39:40 +00:00
|
|
|
sub-font = Ubuntu Bold
|
2022-11-13 20:22:41 +00:00
|
|
|
sub-font-size = 24
|
2024-07-16 22:26:19 +00:00
|
|
|
sub-pos = 102
|
2020-07-04 21:13:34 +00:00
|
|
|
|
2022-04-09 19:38:29 +00:00
|
|
|
ytdl-raw-options=sub-lang=en
|
|
|
|
|
2024-04-15 16:16:13 +00:00
|
|
|
hwdec = auto-safe
|
2024-07-16 22:26:19 +00:00
|
|
|
profile = gpu-hq
|
|
|
|
vo=gpu-next
|
2024-04-15 16:16:13 +00:00
|
|
|
|
2024-07-16 22:26:19 +00:00
|
|
|
# ty jysze and DonCanjas/mpv-dotfiles
|
2024-04-15 16:16:13 +00:00
|
|
|
scale = ewa_lanczossharp
|
|
|
|
scale-antiring = .4
|
|
|
|
cscale = ewa_lanczossharp
|
|
|
|
dscale = ewa_robidoux
|
|
|
|
dscale-param1 = 0
|
|
|
|
dscale-param2 = 0
|
|
|
|
dscale-antiring = 0
|
|
|
|
correct-downscaling = yes
|
|
|
|
sigmoid-upscaling = yes
|
|
|
|
dither-depth = 8 # Set to your displays bitdepth.
|
|
|
|
dither = fruit # Change to "ordered" if 10 or 12 bit display.
|
|
|
|
|
|
|
|
# AUTO PROFILES #
|
|
|
|
[SDR]
|
|
|
|
profile-desc = "SDR"
|
|
|
|
profile-cond=p["video-params/gamma"]~="pq" and p["video-params/primaries"]~="bt.2020" and p["video-params/colormatrix"]~="dolbyvision"
|
|
|
|
gamut-mapping-mode = saturation # Do not change.
|
|
|
|
libplacebo-opts = gamut_expansion=yes # Do not change.
|
|
|
|
|
|
|
|
[HDR WEBDL & Blu-ray / DV Blu-ray]
|
|
|
|
profile-desc = "HDR WEBDL & Blu-ray / DV Blu-ray"
|
|
|
|
profile-cond=p["video-params/gamma"]=="pq" and p["video-params/primaries"]=="bt.2020" and p["video-params/colorlevels"]~="full"
|
|
|
|
tone-mapping = spline # Change to your preferred if necessary.
|
|
|
|
target-prim = bt.709
|
|
|
|
target-trc = bt.1886
|
|
|
|
hdr-compute-peak = yes
|
|
|
|
gamut-mapping-mode = perceptual # Change to your preferred if necessary.
|
|
|
|
target-peak = 120 # Adjust this as you see fit.
|
|
|
|
|
|
|
|
[DV WEBDL]
|
|
|
|
profile-desc = "DV WEBDL"
|
|
|
|
profile-cond=p["video-params/pixelformat"]=="p010" and p["video-params/colorlevels"]=="full" and p["video-params/colormatrix"]=="dolbyvision"
|
|
|
|
tone-mapping = bt.2446a # Change to your preferred if necessary.
|
|
|
|
target-prim = bt.709
|
|
|
|
target-trc = bt.1886
|
|
|
|
hdr-compute-peak = yes
|
|
|
|
gamut-mapping-mode = perceptual # Change to your preferred if necessary.
|
|
|
|
target-peak = 120 # Adjust this as you see fit.
|