View Full Version : Unable to import dither.avsi
cool_snoopy
23rd June 2016, 11:53
When I try to load the following script with MeGUI 2624, an error message showed "there is no function named mt_lut", but I had already downloaded MaskTools2 b1, and put it to avisynth (version 2.6.0.6) plugins folder.
LoadPlugin("E:\megui\tools\lsmash\LSMASHSource.dll")
LoadPlugin("E:\megui\tools\avisynth_plugin\dither-1.27.2\win32\dither.dll")
Import("E:\megui\tools\avisynth_plugin\dither-1.27.2\dither.avsi")
LWLibavVideoSource("E:\Video\UHD\Switzerland (HEVC 59.94fps 10bit).ts", format="YUV420P16", stacked=true, threads=1)
SelectEven()
Dither_resize16(1920, 1080)
Dither_quantize(bitdepth=10, mode=6)
Dither_out()
How can I fix it? Thank you very much!
hello_hello
23rd June 2016, 12:59
I assume by "put it to avisynth (version 2.6.0.6) plugins folder" you're referring to the plugins folder of the installed Avisynth (ie C:\Program Files\AviSynth\plugins) and not MeGUI's Avisynth plugins folder?
MaskTools2 b1 requires this. See if installing it fixes the problem.
Visual C++ Redistributable for Visual Studio 2012 (http://www.microsoft.com/en-us/download/details.aspx?id=30679)
raffriff42
23rd June 2016, 14:03
In general, for this kind of error message, Google is your friend. If you Google avisynth mt_lut, you be be pointed right to MaskTools2 (http://avisynth.nl/index.php/MaskTools2). That's what you need.
Groucho2004
23rd June 2016, 14:13
hello_hello's suggestion seems to be the correct one. If that fails, analyse your Avisynth install with AVSMeter (http://forum.doom9.org/showthread.php?t=165528):
avsmeter -avsinfo -log
cool_snoopy
23rd June 2016, 14:17
I assume by "put it to avisynth (version 2.6.0.6) plugins folder" you're referring to the plugins folder of the installed Avisynth (ie C:\Program Files\AviSynth\plugins) and not MeGUI's Avisynth plugins folder?
MaskTools2 b1 requires this. See if installing it fixes the problem.
Visual C++ Redistributable for Visual Studio 2012 (http://www.microsoft.com/en-us/download/details.aspx?id=30679)
I installed AviSynth+_v0.1.0_r1825-MT, and put masktools2.dll to C:\Program Files (x86)\AviSynth+\plugins+, it worked.
Thank you.
Groucho2004
23rd June 2016, 14:45
I installed AviSynth+_v0.1.0_r1825-MT, and put masktools2.dll to C:\Program Files (x86)\AviSynth+\plugins, error still occured.
Then try my suggestion. The command line I posted produces a log file, post its content here.
cool_snoopy
25th June 2016, 06:51
Then try my suggestion. The command line I posted produces a log file, post its content here.
It worked on 64 bit Windows10, but didn't worked on 64 bit Windows7, even though I put masktools2.dll to folders C:\Program Files (x86)\AviSynth+\plugins, plugins+, plugins64 and plugins64+.
cool_snoopy
25th June 2016, 07:13
hello_hello's suggestion seems to be the correct one. If that fails, analyse your Avisynth install with AVSMeter (http://forum.doom9.org/showthread.php?t=165528):
avsmeter -avsinfo -log
Thank you. The problem is solved. I need to install vcredist_x86, even though Windows7 is 64 bit.
vBulletin® v3.8.11, Copyright ©2000-2026, vBulletin Solutions Inc.