dthpham / sminterpolate

Make motion interpolated and fluid slow motion videos from the command line.
MIT License
1.38k stars 91 forks source link

I don't understand, how do I get this to work? #113

Closed deama closed 5 years ago

deama commented 5 years ago

So I downloaded butterflowui from the link provided, give it a video, and then ask it to process. But then it gives me an error:

Traceback (most recent call last): File "C:/msys64/mingw64/lib/python2.7/site-packages/cx_Freeze/initscripts/Console.py", line27, in File "butterflow/main.py", line 12, in File "butterflow/cli.py", line 287, in main RuntimeError: opencl call failed

What's the problem here? What is this opencl thing? Do I need to install something else? I'm on Windows 7 btw.

deama commented 5 years ago

Oh ok nvm, apparentely it couldn't find the dlls. Some guy said to do this: i think i found the problem: butterflow expects the pathname to 64bit opencl dll to be installed at: HKEY_LOCAL_MACHINE\SOFTWARE\Khronos\OpenCL\Vendors

and 32bit dll at: HKEY_LOCAL_MACHINE\SOFTWARE\Wow6432Node\Khronos\OpenCL\Vendors

For some reason recent nvidia driver installers do not setup the regkeys. if you want to get butterflow working with latest nvidia drivers, manually installing the regkeys worked for me:

do a search in your windows folder for nvopencl64.dll and nvopencl32.dll (it should be in driverstore, use the one from your latest nvidia driver). here's an example of the regkeys to install :

[HKEY_LOCAL_MACHINE\SOFTWARE\Khronos\OpenCL\Vendors] "C:\Windows\System32\nvopencl64.dll"=dword:00000000

[HKEY_LOCAL_MACHINE\SOFTWARE\Wow6432Node\Khronos\OpenCL\Vendors] "C:\Windows\System32\nvopencl32.dll"=dword:00000000

Right click Vendors and then DWORD, then make the name equal the path, and just give it a value of 0.