1. 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:

mvtools2.dll
nnedi3.dlll
RemoveGrainSSE2.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.
2. 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.

So, Import it into your script.
3. 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")
assumetff()
QTGMC(Preset="faster")
.
.
.
4. 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)
5. "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.
6. Originally Posted by bvdd
... giving me an MSVCP110.dll error.
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).
7. Originally Posted by manono
"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.
Your memory is correct. The QTGMC package comes with mt-masktools-26.dll for Avisynth 2.6.

Originally Posted by manono
And you might switch to the more recent Virtual Dub.
True again. I don't know why people insist on VirtualduibMod. I guess some folks have reasons for it, but I can't guess what they are.
8. It has an integrated AviSynth script editor. And it has the stream list supporting more than one audio stream, and subtitles. And it supports AC3 in AVI (well, the original VirtualDub may support that too, now).
9. I used VDubMod only because the first 'How To' video I pulled up used it. As I said, I'm brand new at this (but determined).

I have the other versions of VD; 1.10, 1.9, etc. Which one should I be using?
10. 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.
11. Use the most recent 32bit stable version 1.10.4
12. Can someone point me to the correct QTGMC package?

13. 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.
14. Thanks, I'll try that.
15. Originally Posted by LMotlow
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.

Will this also address the srestore error or is that something different?

Thanks.
16. Originally Posted by bvdd
Will this also address the srestore error or is that something different?
I've already pointed out a couple of possible causes for SRestore not loading. Have you tried either of the suggestions yet?

Originally Posted by manono
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.

So, Import it into your script.
17. [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")
Change the path statement in that code to point to sRestore's location in your system.
18. Ok, thanks - missed it, my bad.
19. 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.
20. 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?
No, but certain filters work only in certain colorspaces. If you're in something other than YV12, for example, many important filters work only in YV12 so you'll have to convert to it with a 'ConvertToYV12()' added to the script (for a progressive video). To find out your colorspace add 'Info()' to the script at the end and have a look in VDub. If one of your filters isn't working, comment it out first.
21. This is my plugins folder now. Maybe the YUV / YUY2 needs to replace colors_rgb.avsi -?

22. 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.
23. Ok. I think I understand the issue with Visual Studio. I have them all installed now.

Here's the YUV error:

24. 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)
25. I removed line 2 (QTGMC) and this is the error now. Maybe using the 'Import' line will help ?

26. Maybe you're forgetting previous posts and replies very quickly after the first time you see them ? ? ?

Originally Posted by bvdd
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)[/CODE]
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)
27. Originally Posted by bvdd
Maybe using the 'Import' line will help ?
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.
28. 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.
29. Originally Posted by manono
Originally Posted by bvdd
Maybe using the 'Import' line will help ?
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, that seemed to work. If I can recreate what you originally did with my clip, I'll be thrilled.

I'm close now, just need to solve the 'slow and jerky' result.
30. Originally Posted by bvdd
I'm close now, just need to solve the 'slow and jerky' result.
QTGCM() and SRestore() are very slow filters. Your computer just isn't fast enough to run them in realtime. Encode the video and check the resulting file.

Statistics