Hi all,
Back in November on this forum, I crash-coursed on AVISynth, and thanks to manono, Al, LigH.de, LMotlow, jagabo, and
several others who are very patient, I was up and running.
Today I'm attempting to start working on my film project again after not touching it since then - and nothing's working.
So, with my tail between my legs, I must once again ask for your help to try and get back to where I was.
To put it simply, none of my scripts will open an in VDub. The error message is 'Unable to open file: C:\AVS TEST SCRIPT.avs'.
This is the same error I get with every script I try to use. Nothing more specific than that.
All of my scripts were working fine two months ago.
Here's my setup and what I've tried today:
Windows XP Pro SP3 32bit; AVISynth 2.60; Virtual Dub 1.10.
- Reinstalled AVISynth 2.60
- Reinstalled AVISynth folder Plugins
- Reinstalled Microsoft Visual C++ Redistributable - all versions from 2010 up
- Reinstalled fftw3.dll and libfftw3f-3.dll in Windows System 32 folder
Here's my AVISynth plugins folder list:
Here's one of the the scripts I'm trying to use (AVS TEST SCRIPT.avs):
Import("C:\Program Files\Avisynth\plugins\sRestore.avs")
AVISource("TEST2.avi")
ConvertToYV12(interlaced=true)
QTGMC(Preset="faster")
Srestore(Frate=19.98)
AssumeFPS(12)
Crop(8,0,-8,0)
LanczosResize(640,480)
Thanks
+ Reply to Thread
Results 1 to 30 of 47
-
-
Make a simple script with just:
Code:Version()
Also, try removing the ffmpeg source plugin for VirtualDub. -
-
Yes. AviSynth will create a small video with the version number stamped onto it. This removes most other dependencies that might cause problems. If you can't open that script AviSynth probably isn't installed properly. Keep in mind that 64 bit VirtualDub requires 64 bit AviSynth and 64 bit filters. 32 bit Virtualdub requires 32 bit AviSynth and 32 bit filters. The two systems, 64 bit and 32 bit, can't see each others' components.
-
Yes, that's what it means. It's a standard test to make sure AviSynth itself isn't the problem.
The next step might be to try your script again, but with everything commented out but the source plugin:
#Import("C:\Program Files\Avisynth\plugins\sRestore.avs")
AVISource("TEST2.avi")
#ConvertToYV12(interlaced=true)
#QTGMC(Preset="faster")
#Srestore(Frate=19.98)
#AssumeFPS(12)
#Crop(8,0,-8,0)
#LanczosResize(640,480)
See if that opens and, if not, what the error message is. -
-
Ok, so I've added every line back in (except 1 & 5 - sRestore) and it opens.
I add either of those in and it fails.
The problem is with sRestore, correct?Last edited by bvdd; 9th Jan 2016 at 17:29.
-
Now you need to figure out why SRestore() isn't working. If you re-enable just the import line what error message do you get?
-
-
Apparently QTGMC is autoloading on your system. So try renaming SRestore.AVS to SRestore.AVSI, removing the import line in your script, and see if it autoloads.
Are you using 32 bit AviSynth on a 64 bit system? Then the folder name is
Code:C:\Program files (x86)\...
Code:C:\Program Files\...
-
Check that - it only opens if I have both the Import line AND the "sRestore(Frate=19.98)" line removed.
Doesn't that mean sRestore is not loading at all? -
I'm not good enough with code to know.
Here's the file, can you tell?Last edited by bvdd; 9th Jan 2016 at 20:35.
-
Looks OK to me. I compared it to v2.7g on my system and there's only a few lines different. Nothing corrupt. Replacing the older version with that version works fine.
-
So if I have both 'srestore' lines commented out in the script, how is it loading?
#Import("C:\Program Files\Avisynth\plugins\sRestore.avs")
AVISource("TEST2.avi")
ConvertToYV12(interlaced=true)
QTGMC(Preset="faster")
#sRestore(Frate=19.98)
AssumeFPS(12)
Crop(8,0,-8,0)
LanczosResize(640,480) -
I thought srestore was necessary to remove both duplicate and blended frames - Not true?
Removing those is something I definitely need to be able to do.Last edited by bvdd; 9th Jan 2016 at 22:53.
-
How do you know it's supposed to become 19.98fps? Maybe it's time for you to provide a short 10-second sample from your source.
I thought srestore was necessary to remove both duplicate and blended frames - Not true?
Removing those is something I definitely need to be able to do. -
I think I've been tripping over myself this time, just trying to get the script to open up in VDub.
When I first started this project two months ago, jagabo suggested the frame rate was around 12fps, which looks about right to me.
But I don't know enough about scripts/code to know which line is affecting the final processed frame rate, so I may be using a script with commands that contradict each other.
All I want to accomplish is getting close to the correct speed and removing duplicate/blended frames. I'll be thrilled to get that far.
Here's another 10 sec clip from the original capture:
(I tried to convert this to mp4 but the quality was horrible) -
Code:Import("C:\Program Files\Avisynth\plugins\sRestore.avs")
Code:AVISource("TEST2.avi")
Code:ConvertToYV12(interlaced=true)
Code:last = AVISource("TEST2.avi") last = ConvertToYV12(last, interlaced=true).
Code:QTGMC(Preset="faster")
Code:Srestore(Frate=19.98)
Code:AssumeFPS(12)
Code:Crop(8,0,-8,0)
Code:LanczosResize(640,480)
The result of the full script attached.Last edited by jagabo; 10th Jan 2016 at 11:18.
-
Fabulous explanation!
So in my case, at least so far, I can't get sRestore to load - which means I have no way to discard blended and duplicate frames, correct?
Is there another way? I'm reading about TDecimate. Should I pursue that or figure out the sRestore issue?
It worked just fine 2 months ago.
Thank you so much for staying with me.
Similar Threads
-
Need advice for Avisynth scripts to use for Video
By roseofpain in forum Newbie / General discussionsReplies: 6Last Post: 22nd Jul 2015, 02:15 -
Problem using AviSynth scripts with MeGUI
By yaston in forum Video ConversionReplies: 6Last Post: 5th Oct 2014, 22:24 -
Remove halos in AviSynth/Virtual Dub
By Dr.Who in forum RestorationReplies: 6Last Post: 3rd Aug 2013, 11:40 -
Error opening Avisynth scripts in VirtualDubMod
By farklem in forum DVD RippingReplies: 4Last Post: 3rd Apr 2013, 16:53 -
Trouble with opening flv files in Virtual Dub.
By drumwork83 in forum Newbie / General discussionsReplies: 3Last Post: 4th May 2012, 21:53