Kagami / mpv_slicing

Cut video fragments with mpv

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Colorspace error

tyeeman opened this issue · comments

Just tried an HDR video and get this error -

[slicing] Lua error: G:/mpv2/portable_config/scripts/slicing.lua:64: Unknown colorspace:bt.2020-ncl

Is this an ffmpeg command line error or an addition that needs to be made to the script?

I added on line 70 this -

elseif csp == "bt.2020-ncl" then return "bt709"

which removed the error but the proper colors are not saved in the written file.

bt.2020-ncl should be bt.2020_ncl

From https://ffmpeg.org/ffmpeg-all.html