## V i d e o ##
vo=gpu-next
hwdec=auto-safe
profile=high-quality
interpolation=yes
video-sync=display-resample
libplacebo-opts=downscaler=custom,downscaler_preset=hermite,downscaler_polar=true,downscaler_antiring=0
tscale=catmull_rom
deband=no
deband-iterations=4
deband-range=12
## S h a d e r s ##
glsl-shader="~~/shaders/ArtCNN_C4F16_CMP.glsl"
## I m a g e s ##
image-display-duration=15
background='color'
background-color=0.0/0.0/0.0/1.0
## W i n d o w ##
fullscreen=yes
## S u b t i t l e s ##
blend-subtitles=yes #disable for moving subs down into black bars
alang=jpn
slang=enm
sub-auto=fuzzy
demuxer-mkv-subtitle-preroll=yes # try to correctly show embedded subs when seeking, can slow donw seeking
## S c r e e n s h o t s ##
# L o s s l e s s
# screenshot-format=png
# screenshot-png-compression=9
# screenshot-format=avif
# screenshot-avif-opts=threads=12,cpu-used=8,aom-params=lossless=1
# screenshot-format=jxl
# screenshot-jxl-distance=0
# screenshot-jxl-effort=7
# screenshot-format=webp
# screenshot-webp-lossless=yes
# screenshot-webp-compression=6
# L o s s y
screenshot-format=avif
screenshot-avif-pixfmt=yuv444p12le
screenshot-avif-opts=crf=12,threads=12,cpu-used=6,aom-params=tune=psnr:tune-content=default:color-primaries=bt709:transfer-characteristics=srgb:matrix-coefficients=bt601:denoise-noise-level=12:enable-dnl-denoising=0
# screenshot-format=jxl
# screenshot-jxl-distance=.55
# screenshot-jxl-effort=7
#screenshot-jpeg-quality=99
# S c r e e n s h o t C o n f i g .
screenshot-tag-colorspace=no # Not supported by AVIF
screenshot-high-bit-depth=yes
screenshot-dir=~/Pictures/mpv
screenshot-template='%F_%P_mpv-shot%n'
## P l a y l i s t s
autocreate-playlist=same