digitalFAQ.com Forum

digitalFAQ.com Forum (https://www.digitalfaq.com/forum/)
-   Restore, Filter, Improve Quality (https://www.digitalfaq.com/forum/video-restore/)
-   -   Avisynth plugin VirtualDub error message? (https://www.digitalfaq.com/forum/video-restore/12856-avisynth-plugin-virtualdub.html)

DG1965 07-03-2022 05:46 AM

Avisynth plugin VirtualDub error message?
 
5 Attachment(s)
Hi, I've downloaded a number of plugins for Avisynth. I've probably put them in the incorrect place on my computer, hence the plugin directory screenshot. I haven't tried to use them I've only clicked on the virtualdub icon's in the folders. Have I done something or many things wrong or is it because they cannot be accessed this way. Thanks.

lollo2 07-03-2022 07:19 AM

Avisynth filters must be loaded/used in an AViSynth script. VirtualDub is then used to load the script and watch/save the resulting video

DG1965 07-03-2022 08:19 AM

2 Attachment(s)
Thanks lollo. I got myself in a bit of a pickle but hopefully now I'm on the right track. I've attached my updated plugins folder. Minus the FFTW3 I'm not sure if I should put it in? as I followed the QTGMC requirements (attachment) and did a copy of libffw3f-3.dll called it FFTW3.dll and put both into the SysWow64 folder. Thank you

lollo2 07-03-2022 10:53 AM

FFTW3 can be loaded as a pluging using loadDLL:

Code:

        # FFTW
loadPlugin(plugins_dir + "LoadDLL10\LoadDLL\LoadDLL32.dll")
loadDll(plugins_dir + "fftw-3.3.5-dll32\libfftw3f-3.dll")

Have a look to the script in:
http://www.digitalfaq.com/forum/vide...html#post85085

DG1965 07-03-2022 11:14 AM

Thank you lollo. Does this mean I should reverse what I did with the "copy of libffw3f-3.dll called it FFTW3.dll and put both into the SysWow64 folder" and instead try to load it with loadDLL? Thanks

lordsmurf 07-03-2022 11:29 AM

Depending on what you're trying to do, sometimes Hybrid can be easier for processing. I use it myself for certain lower end tasks, like QTGMC deinterlace only, output to whatever is needed.

But learning Avisynth always best.

DG1965 07-03-2022 12:07 PM

Thanks Lordsmurf. I thought it was the correct way to use the FFTW3 filter but I must have misunderstood the QTGMC page. I will reinstall it and remove the 2 plugins from the SysWow64 folder.
I've spent the whole weekend reading Avisynth it should click one day!

lollo2 07-03-2022 12:11 PM

Quote:

Thank you lollo. Does this mean I should reverse what I did with the "copy of libffw3f-3.dll called it FFTW3.dll and put both into the SysWow64 folder" and instead try to load it with loadDLL?
Does not matter, use whatever is easier for you ;)

DG1965 07-03-2022 12:27 PM

1 Attachment(s)
Thanks lollo. I've attached a snapshot of my fftw3 folder. I'm guessing I should move all 3 dll files into my plugins folder?

lollo2 07-03-2022 04:43 PM

I do not see the DLLs in your picture.
You just need to load libfftw3f-3.dll as described earlier, or place it in your working directory (where you execute/load you avs script) or follow indications in QTGMC doc http://avisynth.nl/index.php/QTGMC. I use first method.

DG1965 07-04-2022 12:17 AM

Thanks lollo. I will take a look tonight after work.

DG1965 07-04-2022 02:41 PM

1 Attachment(s)
Hi, The DLL files in my plugins all have virtualdub icons, I'm not sure if that's normal (see attached)
I've moved libffw3f-3.dll into my plugins folder. The Zs_RF_Shared.avsi is showing as a text document. I'm guessing I've saved it incorrectly and it should be a Avisynth Autoload? Thanks.

lollo2 07-04-2022 03:45 PM

Quote:

Hi, The DLL files in my plugins all have virtualdub icons, I'm not sure if that's normal (see attached)
I ignore what "associations" you have in your system.

Quote:

I've moved libffw3f-3.dll into my plugins folder.
Which icorresponds to none of the options described earlier.

Quote:

The Zs_RF_Shared.avsi is showing as a text document.
Yes, that pluginis is an AviSynth "function", you can read it with a text editor.

BTW, why don't you just follow what was proposed in http://www.digitalfaq.com/forum/vide...html#post85085 ? I do not understand what you are trying to do, neither the problems you are facing...

DG1965 07-04-2022 05:17 PM

1 Attachment(s)
Thanks lollo. I think I'm confusing the Avisynth plugin download directory that I created with the plugin that came with the initial 2.6o.exe install. Sorry.
Now I have these downloads on my created plugin directory(attached) I can now create a script with the text editor and follow your other instructions. I don't need to do anything with the files? If so am I over thinking this. Thanks.

lollo2 07-05-2022 03:17 AM

Quote:

I think I'm confusing the Avisynth plugin download directory that I created with the plugin that came with the initial 2.6o.exe install
Use the plugin directory you created and not the default "autoload" AVS pluging directory. Once you are familair with the loading mechanism, you can then use the second, and put everything there (but I always prefer to load manually every plugin to do not get lost with the dependencies).

DG1965 07-06-2022 02:48 PM

3 Attachment(s)
Hi, I copied the script and changed the path to the corresponding video on my system as I had a different error message when running the original script. I saved the script as "script reload.avs" and got the error message Avisynth open failure. Any advice would be appreciated. I have been able to do the Avisynth test scripts using video clips. Thanks.

lollo2 07-06-2022 04:14 PM

The first error was caused by the video file not being located in the same directory of the avisynth script. You changed the command
Code:

video_org=AviSource("family holiday 2004 3.avi")
with
Code:

video_org=AviSource("E:\family holiday 2004 3.avi")
then it is fixed.


The second error says that AviSynth cannot fine the QTGMC function. What is strange is that you have an error in your script because you specify
Code:

plugins_dir="<AviSynth plugin directory>"
while it should be the full path of your AviSynth plugin directory. But the error message indicates "C:\Users\Dell\Desktop\AviSynth_plugin_dir" which could be ok. Be sure that you properly specify the directory where the plugins are located:
Code:

plugins_dir="C:\Users\Dell\Desktop\AviSynth_plugin_dir\"
and that QTGMC.avsi is effectly there.

DG1965 07-08-2022 11:16 AM

2 Attachment(s)
Thank you lollo for correcting my errors. I've reinstalled my Avisynth and reinstalled the downloads and created a new Avisynth plugun directory and placed it on my desktop. I'm getting the attached error message on virtualdub with the attached notepad script. Any help would be appreciated. Thanks.

DG1965 07-08-2022 12:13 PM

2 Attachment(s)
I've attached my plugins directory also just in case this is the problem. None of my avsi are autoload unlike lollos Temporaldegrain download.
I didn't know if my files are bloated and I should remove the 64 bit folders? is having both files conflicting.
I attached my MVTools folder. Thanks.

lollo2 07-08-2022 03:16 PM

Sorry, I still do not understand.

I prepared a use case for you. Download the following and place it in your Desktop. Load the avs script in VirtualDub, everything should be ok. https://drive.google.com/file/d/1oHv...ew?usp=sharing

If you face resource problem with your PC, just let me know and I will split the processing in multiple files.

DG1965 07-08-2022 03:56 PM

1 Attachment(s)
Thank you lollo for the download. I've tried to open the seven script AVS from out of the download file you prepared for me but I got this error message. Thank you for you patience.

lollo2 07-08-2022 05:32 PM

delete everythig you have and just use the downloaded avs script and plugin directory

DG1965 07-09-2022 04:30 AM

1 Attachment(s)
Thank you lollo. I've deleted all other plugin folders. My old scripts, everything except for your new download and the Avisynth 2.60 folder. But I'm still getting the same error message.

I'm using virtualdub 1.9.11. I didn't know if I should use a newer version for restore & filter. Thanks.

DG1965 07-09-2022 05:55 AM

3 Attachment(s)
I've tried the QTGMC getting started script again today and have got this error message. I'm saving the script as an . avs Thanks.

lollo2 07-09-2022 06:20 AM

Quote:

My old scripts, everything except for your new download and the Avisynth 2.60 folder. But I'm still getting the same error message.
I do not know what to say. The file QTGMC.avsi is in the plugin directory in the zip file I provided :(

After decompression, in your desktop ou should have:
- AviSynth_plugin_dir (it is a directory)
- family holiday 2004 3.avi (it is your video)
- seven script.avs (it is the avs script)

Quote:

I've tried the QTGMC getting started script again today and have got this error message. I'm saving the script as an . avs Thanks.
These scripts cannot wrok because you do not load QTGMC plugin inside them

DG1965 07-09-2022 07:15 AM

1 Attachment(s)
Thank you lollo. I attached the inside of my plugin folder.

"These scripts cannot work because you do not load QTGMC plugin inside them" I'm not sure what that mean's? I must be doing something wrong. Thanks.

DG1965 07-09-2022 08:00 AM

1 Attachment(s)
Does this mean I'm not putting the QTGMC and other avsi paths into the script? something like my crude script attachment? Thanks.

lollo2 07-09-2022 08:25 AM

just as in the reference script, you need to load QTGMC and its dependencies:

Code:

# plugins directory
plugins_dir="C:\Users\Dell\Desktop\AviSynth_plugin_dir\"

        # QTGMC
Import(plugins_dir + "QTGMC.avsi")
        # Zs_RF_Shared
Import(plugins_dir + "Zs_RF_Shared.avsi")
        # Nnedi3
loadPlugin(plugins_dir + "NNEDI3_v0_9_4_60\x86\Release_W7\nnedi3.dll")
        # RgTools
loadPlugin(plugins_dir + "RgTools-v1.2\x86\RgTools.dll")
        # MaskTools2
loadPlugin(plugins_dir + "masktools2_v2.2.30\x86\masktools2.dll")
        # MVTools
loadPlugin(plugins_dir + "mvtools-2.7.45-with-depans20210608\x86\mvtools2.dll")

be sure in all cases that C:\Users\Dell\Desktop\AviSynth_plugin_dir\ is the right path for your plugin directory

DG1965 07-09-2022 09:05 AM

Thanks lollo, sorry for testing your patience. I've never done any type of scripting in my life. I'm a bricklayer and we feel lucky when we have a toilet on site, that primitive!
I'm just not understanding what I should be doing. I thought the files would just autoload once I put # plugins directory
plugins_dir="C:\Users\Dell\Desktop\AviSynth_plugin _dir" into the script. I'm sure what I've done below isn't what you mean but I keep trying my best to understand. Thanks.

Code:

# plugins directory
plugins_dir="C:\Users\Dell\Desktop\AviSynth_plugin_dir"

    # QTGMC
Import(plugins_dir= C:\Users\Dell\Desktop\AviSynth_plugin_dir\ + "QTGMC.avsi")
    # Zs_RF_Shared
Import(plugins_dir= C:\Users\Dell\Desktop\AviSynth_plugin_dir\ + "Zs_RF_Shared.avsi")
    # Nnedi3
loadPlugin(plugins_dir= C:\Users\Dell\Desktop\AviSynth_plugin_dir\ + + "NNEDI3_v0_9_4_60\x86\Release_W7\nnedi3.dll")
    # RgTools
loadPlugin(plugins_dir= C:\Users\Dell\Desktop\AviSynth_plugin_dir\ + "RgTools-v1.2\x86\RgTools.dll")
    # MaskTools2
loadPlugin(plugins_dir= C:\Users\Dell\Desktop\AviSynth_plugin_dir\ + "masktools2_v2.2.30\x86\masktools2.dll")
    # MVTools
loadPlugin(plugins_dir= C:\Users\Dell\Desktop\AviSynth_plugin_dir\ + "mvtools-2.7.45-with-depans20210608\x86\mvtools2.dll")
loadPlugin(plugins_dir= C:\Users\Dell\Desktop\AviSynth_plugin_dir\ + "FFT3dFilter-v2.6\x86\fft3dfilter.dll")
    # FFTW
loadPlugin(plugins_dir= C:\Users\Dell\Desktop\AviSynth_plugin_dir\ + "LoadDll\LoadDll.dll")
loadDll(plugins_dir= C:\Users\Dell\Desktop\AviSynth_plugin_dir\ + "fftw-3.3.5-dll32\libfftw3f-3.dll")

    # LSFmod
Import(plugins_dir= C:\Users\Dell\Desktop\AviSynth_plugin_dir\ + "LSFmod.v1.9.avsi")


lollo2 07-09-2022 09:40 AM

Quote:

I'm just not understanding what I should be doing
Sorry if I was not clear. Once more:

1- decompress the zip file I linked containing everything. Then place the files "family holiday 2004 3.avi" and "seven script.avs" and the directory "AviSynth_plugin_dir" in your desktop.

2- be sure that in the file "seven script.avs" the specified path
Code:

# plugins directory
plugins_dir="C:\Users\Dell\Desktop\AviSynth_plugin_dir\"

is correct, otherwise replace it with the correct path

3- load the file "seven script.avs" in VirtualDub and you should see the restored video

Once this is done, we can then change the avs script to load different plugins and different filtering :wink2:

edit
BTW the statement
Code:

# plugins directory
plugins_dir="C:\Users\Dell\Desktop\AviSynth_plugin _dir"

# QTGMC
Import(plugins_dir= C:\Users\Dell\Desktop\AviSynth_plugin_dir\ + "QTGMC.avsi")

should be
Code:

# plugins directory
plugins_dir="C:\Users\giuse\Desktop\AviSynth_plugin_dir\"

        # QTGMC
Import(plugins_dir + "QTGMC.avsi")

and the same for the others, as in the avs script example. I ignore why you changed the commands

DG1965 07-09-2022 10:19 AM

1 Attachment(s)
Thanks Lollo. Your advice is very clear and I thank you for trying to figure out my issues. I loaded the script and it's still giving the same error message (I've attached the script hoping you may see something I've missed)

RE: seven script.avs I just copied the file path which is "C:\Users\Dell\Desktop\avisynth plugin directory\seven script.avs" does this make a difference?
I just don't know what I'm not doing that I should be doing. Thanks

lollo2 07-09-2022 10:46 AM

The only path that matters is the locationof the directory AviSynth_plugin_dir.
It is specified in the script "seven script.avs".
You just need to be sure that C:\Users\Dell\Desktop\AviSynth_plugin _dir\ is correct.

C:\Users\Dell\Desktop\avisynth plugin directory\seven script.avs doen not make any sense

DG1965 07-09-2022 10:53 AM

Thanks Lollo. Did you look at the script? everything seems to be correct. What could be causing the error message. I don't know what else I can do? Thanks.

lollo2 07-09-2022 11:27 AM

The script should come from me, from the .zip archive. You just have to check the path I mentioned.

I do not know what do to more, sorry :(

DG1965 07-09-2022 11:58 AM

Thanks Lollo. You've been great I will keep trying. Thanks.

DG1965 07-09-2022 12:05 PM

Thanks Lollo. In the script there is a line "C:\User\guise\Desktop\Avisynth. I was wondering what the giuse was?
Code:

# plugins directory
#plugins_dir="C:\Users\giuse\Desktop\AviSynth_plugin_dir"
plugins_dir="C:\Users\Dell\Desktop\AviSynth_plugin_dir"

Thanks.

lollo2 07-10-2022 04:29 AM

Quote:

#plugins_dir="C:\Users\giuse\Desktop\AviSynth_plug in_dir\". I was wondering what the giuse was?
That is my path ;). It is not active in the script, because there is a # before the line.

Yours is, or should be: plugins_dir="C:\Users\Dell\Desktop\AviSynth_plugin _dir\". Be careful that there is a \ at the end.

DG1965 07-10-2022 05:07 AM

1 Attachment(s)
Thanks Lollo, I will check that now. I've tried again today and I've got a new error message further down the script I'm hoping this is some sort of progress!

DG1965 07-16-2022 06:30 AM

Hi Lollo, I've finally got my script up and running. I was missing MS Visual Studio Redistributable Runtimes but now everything is ok. You mentioned save it with "Fast compress" HufYUV but on my virtualdub menu video> Fast recompress it is listed as "recompress" is this the same thing? Thanks.

lollo2 07-16-2022 08:21 AM

Quote:

Hi Lollo, I've finally got my script up and running. I was missing MS Visual Studio Redistributable Runtimes but now everything is ok.
Yes, I have seen your post at doom9's forum. StainlessS was taking care of you, so you were in good hands :wink2:
It is difficult sometime to understand all MS requirements for old OS. With recent OS is easier.

Quote:

You mentioned save it with "Fast compress" HufYUV but on my virtualdub menu video> Fast recompress it is listed as "recompress" is this the same thing?
0- VirtualDub -> Video Color Depth -> Decompression format 4:2:2 YCbCr (YUY2) / Output format to compressor/display 4:2:2 YCbCr (YUY2)
1- VirtualDub -> Video -> Fast recompress
2- VirtualDub -> Video -> Compression -> Huffyuv v2.1.1

edit: instead saving the filtered video, if you want to produce a x264 compressed file for distribution, you can feed directly ffmpeg with the AviSynth script:

Code:

ffmpeg.exe -i <your script>.avs -c:v libx264 -crf 17 -preset slow -aspect 4:3 -c:a aac -b:a 128k <output>.mp4


All times are GMT -5. The time now is 01:39 PM

Site design, images and content © 2002-2024 The Digital FAQ, www.digitalFAQ.com
Forum Software by vBulletin · Copyright © 2024 Jelsoft Enterprises Ltd.