When I try to use this script, I get the error.
No key named MasteringDisplayMaxLuminance exists
There is my script and error info.
import vapoursynth as vs
import age_tm as tm
core = vs.get_core()
src = r"..."
src = core.ffms2.Source(src)
res = tm.reinhard_yuv(src, target_nits=120, source_peak=None)
res.set_output()
Traceback (most recent call last):
File "src\cython\vapoursynth.pyx", line 872, in vapoursynth.VideoProps.__getattr__
File "src\cython\vapoursynth.pyx", line 772, in vapoursynth.VideoProps.__getitem__
KeyError: 'No key named MasteringDisplayMaxLuminance exists'
......
File "C:\Program Files\Python38\lib\site-packages\age_tm.py", line 224, in reinhard_yuv
source_peak = c.get_frame(0).props.MasteringDisplayMaxLuminance
File "src\cython\vapoursynth.pyx", line 874, in vapoursynth.VideoProps.__getattr__
AttributeError
Thanks.