import vapoursynth as vs
import vsdenoise
clip = vs.core.std.BlankClip(format=vs.RGBS)
vsdenoise.BM3DCPU(clip, sigma=1)
run
D:\python-3.10.5>.\python.exe test.py
Traceback (most recent call last):
File "D:\python-3.10.5\lib\site-packages\vstools\utils\props.py", line 73, in get_prop
prop = props[key]
File "src\cython\vapoursynth.pyx", line 931, in vapoursynth.FrameProps.__getitem__
KeyError: 'No key named _ColorRange exists'
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "D:\python-3.10.5\test.py", line 4, in <module>
vsdenoise.BM3DCPU(clip, sigma=1)
File "D:\python-3.10.5\lib\site-packages\vsdenoise\bm3d.py", line 361, in __init__
super().__init__(clip, sigma, radius, profile, ref, refine, yuv2rgb, rgb2yuv)
File "D:\python-3.10.5\lib\site-packages\vsdenoise\bm3d.py", line 112, in __init__
self._check_clips(clip, ref)
File "D:\python-3.10.5\lib\site-packages\vsdenoise\bm3d.py", line 255, in _check_clips
ColorRange.from_video(clip, True)
File "D:\python-3.10.5\lib\site-packages\vstools\enums\color.py", line 439, in from_video
return get_prop(
File "D:\python-3.10.5\lib\site-packages\vstools\utils\props.py", line 96, in get_prop
raise e
FramePropError: (get_prop) Key _ColorRange not present in props!
test.py
run