I'm just starting with AVISynth and getting close but I'm definitely missing something.
I have AVISynth 2.60 installed and I'm using VirtualDubMod.
Basically, I'm trying to use this script by manono:
AVISource("SHORT TEST.avi")
QTGMC(Preset="faster")
Srestore(Frate=19.98)
AssumeFPS(17.982)
Crop(8,0,-8,0)
LanczosResize(640,480)
The QTGMC and Srestore lines cause errors, and suddenly (after working fine) VDMod is giving me an MSVCP110.dll error.
In the AVISynth plugins folder I have:
masktools2.dll
mvtools2.dll
nnedi3.dlll
RemoveGrainSSE2.dll
RepairSSE2.dll
RSharpenSSE2.dll
SSE2Tools.dll
QTGMC-3.32.avsi
srestore.avs
avstp.dll
colors_rgb.avsi
DirectShowSource.dll
TCPDeliver.dll
Obviously, something isn't installed correctly but I don't know what.
Thanks.
+ Reply to Thread
Results 1 to 30 of 52
-
-
You'll have to provide more information than that. What are the exact error messages?
I'll assume you're not using LoadPlugin or Import lines in your scripts. Srestore, for one, needs to renamed as an AVSI if you want it to autoload. Me, I don't autoload anything but have every filter loaded by the script. If nothing else works you might try that. However, more informative error messages might solve the problems.
Edit: Reading the Srestore doc, it says, "Use import("srestore.avs") in your script to load the function..."
So, Import it into your script. -
QTGMC needs YUV or YUY2 colors if that is a problem, also it is a good habit to include line before QTGMC :
AssumeBFF() or AssumeTFF() depending what field order there is, because someone just copies the script and using video with different field order could cause wrong deinterlace,
also I am into this habbit of calling dlls or extra avsi in the script not relying on auto load, which in your case would be:
Code:AVISource("SHORT TEST.avi") #which would be top field first, YUV or YUY2 not RGB, RGB would need to be converted to YUV color space for QTGMC Import("C:\QTGMC\QTGMC 32-bit Plugins\Avisynth 32-bit Plugins\QTGMC-3.32.avsi") LoadPlugin("C:\QTGMC\QTGMC 32-bit Plugins\Avisynth 32-bit Plugins\mvtools2.dll") LoadPlugin("C:\QTGMC\QTGMC 32-bit Plugins\Avisynth 32-bit Plugins\RemoveGrainSSE2.dll") LoadPlugin("C:\QTGMC\QTGMC 32-bit Plugins\Avisynth 32-bit Plugins\RepairSSE2.dll") LoadPlugin("C:\QTGMC\QTGMC 32-bit Plugins\Avisynth 32-bit Plugins\mt_masktools-25.dll") LoadPlugin("C:\QTGMC\QTGMC 32-bit Plugins\Avisynth 32-bit Plugins\nnedi3.dll") LoadPlugin("C:\QTGMC\QTGMC 32-bit Plugins\Avisynth 32-bit Plugins\dfttest.dll") LoadPlugin("C:\QTGMC\QTGMC 32-bit Plugins\Avisynth 32-bit Plugins\EEDI2.dll") LoadPlugin("C:\QTGMC\QTGMC 32-bit Plugins\Avisynth 32-bit Plugins\FFT3DFilter.dll") LoadPlugin("C:\QTGMC\QTGMC 32-bit Plugins\Avisynth 32-bit Plugins\nnedi.dll") LoadPlugin("C:\QTGMC\QTGMC 32-bit Plugins\Avisynth 32-bit Plugins\nnedi2.dll") LoadPlugin("C:\QTGMC\QTGMC 32-bit Plugins\Avisynth 32-bit Plugins\SSE2Tools.dll") LoadPlugin("C:\QTGMC\QTGMC 32-bit Plugins\Avisynth 32-bit Plugins\VerticalCleanerSSE2.dll") LoadPlugin("C:\QTGMC\QTGMC 32-bit Plugins\Avisynth 32-bit Plugins\AddGrainC.dll") Load_Stdcall_plugin("C:\Program Files (x86)\AviSynth 2.5\plugins\yadif.dll") assumetff() QTGMC(Preset="faster") . . .
-
Ok, here's the exact error when I open VDMod:
"This application failed to start because msvcp110.dll was not found. Re-installing the application may fix this problem."
I close that message and VDMod still opens, and when I use your exact same script I get:
Avisynth open failure: Script error: there is no function named "mt_lutxy" (QTGMC-3.32.avsi, line395)
When I remove line 2 (QTGMC) I get:
Avisynth open failure: Script error: there is no function named "mt_makediff" (srestore.avsi, line46) -
"mt_lutxy and mt_makediff are part of mt_masktools. I think you're supposed to be using mt_masktools-26.dll and not 25 if your AviSynth version is also 2.6. Didn't it come with both? I'm relying on memory here.
And you might switch to the more recent Virtual Dub.Last edited by manono; 16th Nov 2015 at 23:46.
-
Get used to quoting error messages as exactly as possible, please (often such dialogs allow copying their text via Ctrl+C, you should hear a chime then, and paste it in your post with Ctrl+V).
And then install Microsoft Visual C++ runtime libraries of all probably useful versions, from Visual Studio 2010 on. If you have a 64 bit Windows, install both 32 bit and 64 bit runtimes. To collect the installers for offline installation, the wsusoffline.net project helps (its main purpose is building MS update media to update freshly installed Windows systems even before the first unprotected connection to the internet). -
- My sister Ann's brother
-
For viewing AviSynth scripts it doesn't matter if you use a recent version of VirtualDub or an old VirtualDubMod. The msvcp110.dll error is because one of the filters that's autoloading requires msvcp110.dll. Get rid of that filter, update it, or get msvcp110.dll and put it in Windows' SysWOW64 folder.
-
Can someone point me to the correct QTGMC package?
I downloaded v.3.32 from here http://avisynth.nl/index.php/QTGMC but there is no mt_masktools-26.dll file there. -
attached ZIP has folders for System fftw3 dll's, 32-bit QTGMC plugins, VisualC 2010 runtime installer. Don't unzip this ZIP into the Avisynth plugins folder. Download the ZIP to its own folder, unzip it, and use the plugins and utils in the zipped folders. Copy the different dll's to their respective locations separately. If you have problems with QTGMC-3.33.avsi (some people do), replace it with QTGMC-3.32.avsi.
If you have "masktools2" or "mt-masktools2" or "mt-masktools-25", remove them. Save them in a separate folder if you want, but you should have only mt-masktools-26 in the plugins folder.Last edited by LMotlow; 17th Nov 2015 at 11:00.
- My sister Ann's brother -
-
-
[EDIT] Manono already answered the sRestore question - and just answered it again. I don't make it an .avsi because of multiple versions and names, but you already have sRestore.avs in your plugins folder (shown in post #1). An .avs plugin has to be imported.
Code:Import("drive:\path\to\Avisynth\plugins\sRestore.avs")
- My sister Ann's brother -
This is so frustrating and I feel really stupid trying to get this.
I know it can be a pain helping a newbie like me and I need to say how much I truly appreciate the effort and patience from all of you guys.
I've installed VisualC 2010 runtime, I put the System fftw3 dll's in the Windows\System32 folder, and I put the plugins from the
zip file into the AVISynth plugins folder. I removed all the old dll's and put the mt-masktools-26.dll in there too (I'm using AVISynth 2.60).
I don't understand the YUV or YUY2 colors thing - is that something I'm supposed to install?
Also, I downloaded the 32bit version of the msvcp110.dll and put it in the System32 folder, but I still get the error.
Is it Virtual Dub that's trying to load a filter? I checked and there are no filters selected to load in VDub. -
Which error is that?
"Avisynth open failure: Script error: there is no function named "mt_makediff" (srestore.avsi, line46)"?
Maybe try Dependency Walker to try and figure out specifically what's needed. It should tell you what's missing from whatever isn't being loaded. Also, whichever function is missing something, comment out the others (put a '#' in front of each line except for the Source filter and the filter in question) so they're not gumming up the works. That strategy is often useful - prevent everything from being loaded and bring them back one-by-one to try and figure out which filter is causing the problem. Sometimes the error messages are cryptic enough that you can't easily figure out what's going wrong.
I don't understand the YUV or YUY2 colors thing - is that something I'm supposed to install?Last edited by manono; 18th Nov 2015 at 18:31.
-
-
MSVCP110.dll does not belong to Visual Studio 2010, but to Visual Studio 2012. Therefore I wrote: "from Visual Studio 2010 on" ... up to 2015. All existing versions. You'll never know when a plugin author may switch from an older Visual Studio compiler to a newer one, and suddenly the plugin needs another runtime version.
Don't just download single DLLs from suspicious websites. Always install directly from the original creator (Microsoft, in this case). Some applications may need more than just MSVCP???.dll, there are more related DLLs in the runtime packages. And furthermore, when installed, Microsoft Update will take care of keeping each runtime package up to date.
Microsoft Visual C++ 2010 SP1 Redistributable Package (x86)
Visual C++ Redistributable for Visual Studio 2012 Update 4
Visual C++ Redistributable Packages for Visual Studio 2013
Visual C++ Redistributable for Visual Studio 2015
And don't panic about YUV. Instead, read about such video basics, starting in the Wikipedia. In general, YUV is a "color space" similar to RGB (just with a differential representation: Y is the luminance ~ brightness, U and V are differences from grey away towards blue/yellow or red/green), and YUY2 is a FourCC (4 character code as identifier) for AVIs (or related video streams) storing YUV in 4:2:2 chroma subsampling (each 2 pixels with separate luminance Y, but shared chrominance difference values U and V), "packed" in units of 4 bytes: [Y U Y2 V] ... in brief: You don't need to install anything to have it supported, it is basic.Last edited by LigH.de; 18th Nov 2015 at 18:36.
-
-
And once again, here's the script I'm using.
AVISource("SHORT TEST.avi")
QTGMC(Preset="faster")
Srestore(Frate=19.98)
AssumeFPS(17.982)
Crop(8,0,-8,0)
LanczosResize(640,480) -
-
Maybe you're forgetting previous posts and replies very quickly after the first time you see them ? ? ?
Change your script:Code:Import("drive:\path\to\Avisynth\plugins\sRestore.avs") #<- change this path to match your system. AVISource("SHORT TEST.avi") ConvertToYV12(interlaced=true) QTGMC(Preset="faster") Srestore(Frate=19.98) AssumeFPS(17.982) Crop(8,0,-8,0) LanczosResize(640,480)
- My sister Ann's brother -
Maybe. Did you try?
It takes all of about 15 seconds (or less) to write out the import line.
Import("C:\Path\To\Srestore.avs")### or AVSI or whatever the extension is.
Once you get working scripts, especially if you'll be using them or similar ones again, save them. I have about 10 scripts I use all the time and another 50 or so I use less often for which I have to change only minor things for whatever it is I'm working on. -
Yes, this is confusing to me but I'm coming around. Thanks for sticking with me.
In the import line you wrote: Import("C:\Program Files\to\Avisynth\plugins\sRestore.avs"), that "to" caused an error.
When I removed it, it worked fine.
This script:
Import("C:\Program Files\Avisynth\plugins\sRestore.avs")
AVISource("SHORT TEST.avi")
QTGMC(Preset="faster")
ConvertToYV12(interlaced=true)
AssumeFPS(17.982)
Crop(8,0,-8,0)
LanczosResize(640,480)
caused this error:
So I switched lines 3 & 4 and the errors are gone, but now the video clip plays VERY slowly and jerky. -
-
Similar Threads
-
HELP! MeGUI can't load certain avisynth plugins
By Throw_Hammer in forum Newbie / General discussionsReplies: 3Last Post: 22nd Feb 2014, 17:19 -
Reformatted computer; can't figure out where to get my AVISynth plugins :/
By takearushfan in forum Video ConversionReplies: 5Last Post: 19th Feb 2013, 17:49 -
AVISynth will not load plugins Win-7 (64)
By Sartorius48 in forum Newbie / General discussionsReplies: 9Last Post: 31st Dec 2012, 21:17 -
Avisynth source loading?
By yugurya in forum EditingReplies: 5Last Post: 22nd Jan 2012, 13:57 -
Is there a way to use avisynth plugins/filters within Virtualdub?
By Milardo in forum EditingReplies: 5Last Post: 5th Jan 2011, 03:52