- ffmpeg based
- supports custom scripts
- 'E' to switch editions of MKV
mpv.conf
for HDR/DV
#include=~/.config/mpv/shaders/mpv-retro-shaders/all.conf # git clone https://github.com/hhirtz/mpv-retro-shaders then mpv --profile=crt-lottes my_video.mp4
vo=gpu-next
gpu-api=vulkan
border=no
screenshot-format=png
screenshot-tag-colorspace=no # SDR screenshots
screenshot-high-bit-depth=no # 8bit screenshots
screenshot-png-compression=1 # 0-9
target-colorspace-hint=yes
target-contrast=auto
#tone-mapping=bt.2446a # or bt.2390 HDR to SDR # st2094-40 for HDR+ to SDR
#hwdec=no # nvdec for nvidia
#fs=yes # fullscreen
#osd-playing-msg=my-video-params: ${video-params/colormatrix} ${video-params/colorlevels} # print properties of video with osd on start
#osd-playing-msg-duration=1000000
[HDR]# profile for HDR playback/screens
#profile-cond=get("video-params/colormatrix") == "dolbyvision" and get("video-params/colorlevels") ~= "full"
target-trc=pq # when using HDR playback device
profile-restore=copy
screenshot-tag-colorspace=yes # HDR screenshots
screenshot-high-bit-depth=yes # 16 bit screenshots
#gpu-context=waylandvk # set the environment variable ENABLE_HDR_WSI=1
#vf-append=@histolevels:vapoursynth="~~/vs/histogram/levels.py":buffered-frames=3:concurrent-frames=4 # use vapoursynth to add extra frameinfo
#vf-append=@frameinfo:vapoursynth="~~/vs/info/frameinfo.py":buffered-frames=3:concurrent-frames=4
- bind keys to lua script with
input.conf
F1 apply-profile "HDR" ; show-text "using HDR profile"