Go Back    Forum > Digital Video > Video Project Help > Restore, Filter, Improve Quality

Reply
 
LinkBack Thread Tools Search this Thread
  #1  
12-20-2024, 03:59 PM
Bogiesmokes Bogiesmokes is offline
Free Member
 
Join Date: Nov 2024
Posts: 19
Thanked 5 Times in 5 Posts
I'm suddenly getting the following error message when dragging a script into VDub2:

Script Error: No Function Named QTGMC.

I've tried the below very basic script (from where I started from) but still getting the error message. QTGMC is in the plugins64+ folder, and I didn't have this issue yesterday.

Does anyone know what the issue could be? I'm not doing well on the script writing front as of yet, am I missing something with the below? Thank you!

Script:

Code:
AVISource("C:\Users\srvalen1\Documents\VHS\Sample Clip 2.avi")
AssumeTFF()
QTGMC(preset="fast")
Deblock()
Spline64Resize(720,540)
-- merged --

Ok - I'm not sure what is going on, but the SysWOW64 folder is empty. This doesn't look good from my online search, and have no idea how this could've happened...anyone with any thoughts, I'd greatly appreciate them.

-- merged --

Nevermind - I guess the SysWOW64 folder I should be looking in always is in C:\Windows - not C:
The second one has all relevant files/dll's.

Still having the script issues, thanks again.

-- merged --

Got it - I uninstalled AviSynth+, and reinstalled a fresh file, reloaded the essential plugins...Working now. Thanks!
Reply With Quote
The following users thank Bogiesmokes for this useful post: lordsmurf (02-05-2026)
Someday, 12:01 PM
admin's Avatar
Ads / Sponsors
 
Join Date: ∞
Posts: 42
Thanks: ∞
Thanked 42 Times in 42 Posts
  #2  
02-04-2026, 07:25 AM
George Poul George Poul is offline
Free Member
 
Join Date: Jan 2026
Location: Greece
Posts: 4
Thanked 1 Time in 1 Post
Hello, I am having the same issue here.

I have uninstalled AviSynth+ and reinstalled it with no luck. I have deleted VirtualDub, downloaded it again and still, whenever I drag&drop the .avs into VD gets me the error. Even if try to load the .avs from VD menu File->open video file->select the script.


Attached Images
File Type: png Screenshot 2026-02-04 152239.png (9.6 KB, 11 downloads)
Reply With Quote
  #3  
02-04-2026, 08:35 AM
Selur Selur is offline
Free Member
 
Join Date: Feb 2022
Posts: 173
Thanked 48 Times in 42 Posts
What does your script look like?
Did you install the qtgmc script and all its dependencies?
Reply With Quote
  #4  
02-04-2026, 09:47 AM
George Poul George Poul is offline
Free Member
 
Join Date: Jan 2026
Location: Greece
Posts: 4
Thanked 1 Time in 1 Post
Yeah I believe everything is correct for the qtgmc dependencies. I have checked more than once. qtgmc.avsi, masktools2.dll, mvtools2.dll, nnedi3.dll, rgtools, zs_rf_shared.avsi, FFTW3.dll+libfftw3f-3.dll


Attached Files
File Type: avs deinterlace.avs (761 Bytes, 9 downloads)
Reply With Quote
  #5  
02-04-2026, 10:03 AM
Selur Selur is offline
Free Member
 
Join Date: Feb 2022
Posts: 173
Thanked 48 Times in 42 Posts
a. do other scripts work?
b. guessing that there might be something wrong with the autoloading, have you tried explicitly loading the scripts with something like
Code:
Import("F:\Hybrid\64bit\Avisynth\avisynthPlugins\Zs_RF_Shared.avsi")
Import("F:\Hybrid\64bit\Avisynth\avisynthPlugins\QTGMC.avsi")
?

Cu Selur
Reply With Quote
  #6  
02-04-2026, 11:23 AM
George Poul George Poul is offline
Free Member
 
Join Date: Jan 2026
Location: Greece
Posts: 4
Thanked 1 Time in 1 Post
no other scripts don't work. The only thing that works is the preview window inside avspmd. I have tried importing, still no luck.
Reply With Quote
  #7  
02-04-2026, 11:57 AM
Selur Selur is offline
Free Member
 
Join Date: Feb 2022
Posts: 173
Thanked 48 Times in 42 Posts
You still get the same error when you import manually? => Are you sure you only got one Avisynth version on your system? (maybe deinstall and also check file system and registry manually, before reinstalling)
Reply With Quote
The following users thank Selur for this useful post: lordsmurf (02-05-2026)
  #8  
02-04-2026, 04:26 PM
Bogiesmokes Bogiesmokes is offline
Free Member
 
Join Date: Nov 2024
Posts: 19
Thanked 5 Times in 5 Posts
Same error I received back when. Honestly, I fiddled with so many things to get everything working - I'll have to review my notes to see if I can offer additional steps I took, but I remember copying my plugins to a new folder and wiping avisynth+ (there was a second version somewhere too) delete them all, reinstall, copy plugins64+ over, ensure .avs / .avsi accuracy. Hope this helps...
Reply With Quote
  #9  
02-05-2026, 12:59 AM
George Poul George Poul is offline
Free Member
 
Join Date: Jan 2026
Location: Greece
Posts: 4
Thanked 1 Time in 1 Post
Thanks selur & bogie, I did try import, load plugin commands found online , had also tried to wipe everything and reinstall (4times), I had also set the folders in different location, created new user account and tried there.. i have only 64bit avspmod installed. Everything I got was x64, except vd.1.9.11+filters from here (for capturing) , and vd2 in both 32/64 (using x64). Today i am having new errors, this time in avspmod when trying to preview (same script no changes), nothing changed to my pc, This is the error : AVISource: couldn't locate a decompressor for fourcc HFYU (C:users\........\deinterlace.avs, line1).. since i don't know how to check things in registy, and to be more precise, what to look for and where, I believe it would be better to proceed with formating the computer

-- merged --

I have managed to fix (with the help of google AI thing...) BOTH issues of AvsPmod not previewing and throwing back the error "AVISource: couldn't locate a decompressor for fourcc HFYU" AND the "Script error: There is no function named 'QTGMC'" while draging+droping the avs script in VirtualDub(2).

1) To fix the QTGMC script error turned out to be that I had placed on my desktop the shortcut/link towards the wrong .exe (VirtualDub.exe).... Changed it from VirtualDub.exe to "VirtualDub64.exe" now and it's working.

2) To fix the preview error in AvsPmod(x64) is takes longer because the fix to it, has to be done in a way to preserve the ability of virtualdub(1.9.11+filters) to capture while using the huffyuv compression method. What I mean is that we need both 32&64bit huffyuv.dll's. This is tricky and I will write the steps in sequence so no confusion will be made.

A) I headed to C:\Windows\System32 and deleted the HUFFYUV.DLL
B) I headed to C:\Windows\SysWOW64 in order to delete another HUFFYUV.DLL but there was no dll there
(the reason is whenever you install a 32 or a 64 bit huffyuv.dll with right clicking the .inf file it came with, it goes automaticaly to the system32 folder)
C) Downloaded from https://www.videohelp.com/software/HuffYUV both huffyuv versions (32&64)
D) Then I extracted the 32 bit zip (do not right click->install the.inf), and placed manually the huffyuv.dll at C:\Windows\SysWOW64
E) Then I extracted the 64 bit zip (do not right click->install the.inf) and placed manually the huffyuv.dll at C:\Windows\System32

Opened registry editor as an admin and did the following changes:

F)Go to HKEY_LOCAL_MACHINE\SOFTWARE\WOW6432Node\Microsoft\Windows NT\CurrentVersion\Drivers32 and find the VIDC.HFYU (which was missing in my case and i had to create it with right click-new string and name it) and then double click it and change the value data from huffyuv.dll to C:\Windows\SysWOW64\huffyuv.dll

G)Lastly HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows NT\CurrentVersion\Drivers32 find VIDC.HFYU double click it and change the value data from huffyuv.dll to C:\Windows\System32\huffyuv.dll

That's it.. It worked for me and hopefully it will help others having the same problems.. This method seperated and installed the different vesion .dll's to their appropriate setup path, the x32bit .dll for vd1 at SysWOW64 folder and the x64bit .dll for AvsPmod at System32 folder. The registry value changes was for the applications to know where to head by path name and use the dll version that was meant for them.

another thing that AI said is that this can be fixed also with the hofmand's msi installers which i didn't try.

an extra bonus fix that i have now is in vd1 under the compression menu the huffyuv2.1.1 option is available, but before there wasn't
Reply With Quote
The following users thank George Poul for this useful post: lordsmurf (02-20-2026)
  #10  
02-05-2026, 08:09 AM
Bogiesmokes Bogiesmokes is offline
Free Member
 
Join Date: Nov 2024
Posts: 19
Thanked 5 Times in 5 Posts
Excellent job, George. I also had several issues multiple times with huffy codec not showing up in V-dub, different versions showing up in Vdub1.9 vs Vdub2. I couldnt tell you how I fixed everything, it just took alot of fiddling around - and your fix method looks solid - I'm saving the info for later given I've had issues crop up after months of everything working, so your steps may help me in the future and others. Many thanks for clearly outlining what you did (I should have done the same each time I fixed one of my many issues I've encountered...) Well done!
Reply With Quote
Reply




Similar Threads
Thread Thread Starter Forum Replies Last Post
AvsPmod QTGMC script janky and slow? VHS_UK Project Planning, Workflows 11 09-11-2021 05:23 AM
QTGMC error "Script error: MDegrain1 does not have a named argument "lsb" cbehr91 Restore, Filter, Improve Quality 0 01-31-2020 12:29 AM
QTGMC error message, no function called? cbehr91 Restore, Filter, Improve Quality 4 09-27-2019 09:06 PM
There is no function named Vinverse? (Avisynth) ELinder Restore, Filter, Improve Quality 2 02-19-2019 02:41 PM




 
All times are GMT -5. The time now is 11:06 AM