1
0
Fork 0
mirror of https://github.com/Phantop/dotfiles synced 2024-12-22 21:26:47 +00:00
dotfiles/mpv/mpv.conf

69 lines
2 KiB
Plaintext
Raw Normal View History

save-position-on-quit = yes
2024-07-16 22:26:19 +00:00
screenshot-format = webp
screenshot-webp-lossless = yes
2024-07-16 22:26:19 +00:00
gapless-audio = yes
volume-max = 1000
2019-06-26 02:15:48 +00:00
cache = yes
demuxer-max-bytes = 2147483647
demuxer-max-back-bytes = 2147483647
2019-07-29 02:06:10 +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
2024-07-16 22:26:19 +00:00
osd-font = Cantarell
sub-border-size = 2
sub-font = Ubuntu Bold
sub-font-size = 24
2024-07-16 22:26:19 +00:00
sub-pos = 102
2020-07-04 21:13:34 +00:00
ytdl-raw-options=sub-lang=en
hwdec = auto-safe
2024-07-16 22:26:19 +00:00
profile = gpu-hq
vo=gpu-next
2024-07-16 22:26:19 +00:00
# ty jysze and DonCanjas/mpv-dotfiles
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.