01.01.2023, 18:32
Hello Selur,
I decided to put all the dependencies in one folder and I was able to go forward a little bit.
I used the attached script. Now I get the following error:
File "E:\VideoTest\Upscale\Test_conditional_resize\Test_conditional_resize2.vpy", line 32, in
clip = kfg.conditional_resize(clip, width=1280, height=688, thr=0.00015)
File "D:\Programs\Hybrid\64bit\vsscripts\kagefunc.py", line 174, in conditional_resize
diff_default = core.std.PlaneStats(rescaled, src_luma)
File "src\cython\vapoursynth.pyx", line 2612, in vapoursynth.Function.__call__
vapoursynth.Error: PlaneStats: both input clips must have the same format when second clip is used, passed Gray16[1280x688] and Gray10[1280x688]
I don't know how to fix this issue...
I decided to put all the dependencies in one folder and I was able to go forward a little bit.
I used the attached script. Now I get the following error:
File "E:\VideoTest\Upscale\Test_conditional_resize\Test_conditional_resize2.vpy", line 32, in
clip = kfg.conditional_resize(clip, width=1280, height=688, thr=0.00015)
File "D:\Programs\Hybrid\64bit\vsscripts\kagefunc.py", line 174, in conditional_resize
diff_default = core.std.PlaneStats(rescaled, src_luma)
File "src\cython\vapoursynth.pyx", line 2612, in vapoursynth.Function.__call__
vapoursynth.Error: PlaneStats: both input clips must have the same format when second clip is used, passed Gray16[1280x688] and Gray10[1280x688]
I don't know how to fix this issue...