Khanattila / KNLMeansCL

An optimized OpenCL implementation of the Non-local means de-noising algorithm
GNU General Public License v3.0
107 stars 22 forks source link

knlm.KNLMeansCL: fatal error! #34

Closed JasinChen closed 6 years ago

JasinChen commented 6 years ago

OS:windows 10 vs version:r43 python version:3.6.5 knlmeansCL version:1.1.1

video = core.ffms2.Source("00000.m2ts") video = core.knlm.KNLMeansCL(video,channels='YUV')

Error on frame 0 request: knlm.KNLMeansCL: fatal error! (VapourSynthGetFrame)

It happened no matter what the input format is(YUV420P8 or YUV420P16)

Khanattila commented 6 years ago

Hi JasinChen, I advise you to read the documentation more carefully. If the video source is 4:2:0 you must use channels='Y'.