OK .. thanks for that 'lesson' (appreciated) now defined the path to video to suit my files locations ... and also amended the path for plugin folder ...
I did have "Smoothlevels argument missing" and read that this requires masktools (I had mt_masktools-25) and RemoveGrain (I had RemoveGrainSSE2 & 3)
Installed these and now get:
RemoveGrain; invalid mode 20
(QTGMC-3.32.avsi, line 756)
(QTGMC-3.32.avsi, line 781)
(QTGMC-3.32.avsi, line 614)
+ Reply to Thread
Results 61 to 90 of 94
You do need the '25' version of masktools. But don't have SSE2 and SSE3 dll's in your plugins at the same time. Just keep SSE2. SSE3 has bugs. Here's the rule: if you're using AVisynth 2.6, you'll run into some incompatibilities with several plugins. the masktools '25' version is for AVisynth 2.5x. The '26' version is for Avisynth MT-2.6.x. Avisynth 2.6 gave me so many problems, I had to stop using it. You can clear that by replacing the 2.6 version of Avisynth.dll in your System folder (or SYSWOW64) with the 2.5 version of Avisynth.dll. No need to reinstall.
Some plugins will work with both YV12 and YUY2 colorspaces. QTGMC is one of the plugins. There are others. With 2.6 versions of those support files, you can't use those plugins in YUY2. (And that's another reason I'm keeping Avisynth 2.6 on hold for now).
Take a look at the two RemoveGrain dll's and let us know which versions you have. You can tell by the date shown in your list of plugins. RemoveGrainSSE2.dll and RepairSSE2.dll should be the August 2005 version or later. You might have older ones.
Yes, I know. Everyone goes through this at first.
The ver of avisynth.dll in my SYSWOW64 is 188.8.131.52
Removed SSE3 file
I just downloaded removeGrain again from http://www.avisynth.nl/users/warpenterprises/
it has no later ver that I have installed ... if I need later where do I get this ?
Just run script again it's back to previous error (before I added masktools-26) .. i.e
Script error: SmoothLevels does not have a named argument "smooth"
Last edited by sanlyn; 24th Oct 2013 at 15:57.
OK ... that worked ... on sample ... will run it on main file.
Any extras I need to be aware of for step 2 (getting late so that will be tomorrow)
I suggest that you first work with shorter samples to get a better idea of the way the filters work, and how the various stages fit together. Most people work that way while they tweak their setup. It's also likely that you might have to simplify or change some settings to suit some segments of the videos. It's far less grief to make an adjustment early than to have to sit through an entire reprocess again.
I might be thinking of another thread, but it seems that you might have seen some of these plugins earlier. In any event, Step2 uses MCTemporalDenoise (aka MCTD). That's another big fella that has a dozen support files, but you should have most of them by now. And, yes, MCTD uses RemoveGrain and others that you've seen earlier. If you have a problem finding some, let us know. They are posted all through the forum in various threads due to the great popularity of MCTD.
ANd I'd like to add...
Yep ... agree, somehow I have just screwed things up .... all I did was change file name and now it keeps failing on line 4 ...
It's now late I'll have to start again tomorrow.
FFAudioSource: Can't open 'E:\Users\Rick\desktop\Sandhurst\Clip2
resolved with help of DB83, had left of the .avi off path name ... time to go sleep I think
Last edited by Tafflad; 24th Oct 2013 at 17:23.
The name of your new source file from the first step should be Step1.avi, not Syep1.avs. vWen you open the step1 script in VirtualDub, you save the results of that first script as follows:
- "Video..." -> "Color depth..." -> "4:2:0 planar YCbCr (YV12)"
- "Video..." -> "compression...: -> set Lagarith compression for YV12
- "Video..." -> "fast recompress"
Then "Save Avi.." as "Step1.avi", or whatever name you want.
Because you've already set up the audio within the avi output in Step 1, you can open the new results as follows:
AviSourc("E:\Users\Rick\desktop\Sandhurst\Step1.avi") ## <- or whatever name you gave to the Step1 file.
The output of the second script should be saved the same way in VirtualDub as "fast recompress", but this time the output is RGB, not YV12. Be sure you set VDub's "Video" settings for that change in output.
Last edited by sanlyn; 24th Oct 2013 at 20:36. Reason: Typo fest. I tell ya, the letters move around when I'm away.
OK had some 'play time' on different clips ... impressive results.
Time to move onto "Step2" script .... stalling when I try to run it with error:
"Here is no function named remove dirt" line 16
On Line 16 you have RemoveDirt(20,0,false)
Do I need to add to the Ste2 script as have read a comment form you elsewhere that RemoveDirt.avs is a script that must be imported manually with the "Import" statement.
I checked plugins, and loaded same Removedirt dll & avs as you posted in RemoveDirtv09 zip file in a thread response to someone else.
Don't have the RemovedirtS or SSE2 versions installed.
There are dozens of versions of RemoveDirt, but attached is the one seen most often and is the one I used (which I got a long time ago from jagabo). RemoveDirt 0.9 requires the .avs script as well as the .dll plugin. The attached zip contains all of the original RemoveDirt download, but you only need RemoveDirt.avs and RemoveDirt.dll. Ignore the others. RemoveDirt was used here to smooth some bobbibg motion and to clean up some more chroma junk.
Hm. I thought you already had this stuff from another thread. Perhaps I'm thinking of something else.
Last edited by sanlyn; 25th Oct 2013 at 10:46.
You ahve to import the function.
Last edited by sanlyn; 27th Oct 2013 at 00:59.
OK ... didn't realise that .. added it to the script ...
moved me on a bit ...
Now complaining of Script Error:
there is no function named "FluxSmoothST"
..... in RemoveDirt.avs line 8
This is pretty complex stuff for sure
Last edited by Tafflad; 25th Oct 2013 at 12:25.
Sorry about that simple missing dll .... I thought it was more complex than that .... also found next step that it was after "VagueDenoiser" went and found that and "Step2" now running OK ...... working hard judging by how slow it is.
Thanks for your help .... I'll play with Step2 a few times before moving on.
My PlugIns folder is certainly growing in size.
My plugins folder has 137 dll'[s (!). That doesn't even count the separate "scripts"folder (!). Likely you won't be going that far.
Sorry about VagueDenoiser, it must have slipped my aging memory. If you run into another of these and have trouble finding it, let us know.
The 3rd step was VirtualDub only. You don't even have to load the filters. Just load the avi video from step2, then load the .vcf file. The filters load with settings as originally used. But insure that the .vdf's are in your VirtualDub plugins folder.
The results should be saved as RGB (which will be the defautl) using Lagarith-RGB and "full processing mode".
Need help on the Plugin 'GrainFactory3.avsi'
neither of the 2 main sites have this ..
I did find it listed under a search on:
but when you try to download it is no longer there.
Can you point me to a location for this ?
Hm, another oddity. I'm encountering some dead links on the old archive sites myself recently. But it's up to date in the listing on this site: http://avisynth.nl/index.php/External_filters , and the original avsi script appears here: .http://forum.doom9.org/showthread.php?p=1191292#post1191292
But just in case there are any differences, a copy of the "tried and true" version is attached.
Working with Clip1. Almost there, using a similar but slightly shorter script. Along the way, I couldn't resist repairing some of the bad frames in Clip1. There are many tricks for this sort of thing. Some work, some don't. Here a few that did.
Left-click on the images to view them enlarged, and to switch back and forth between "before" and "after".
Clip 1, frames 186-187-188 (these are deinterlaced frame numbers). The original frame 187 (below, middle frame) has a gray horizontal "rip", and something odd: The men appear to be marching backward for one frame. A frame interpolation plugin was used to create a new frame 187 from the previous and following frame, both of which happen to be useable frames. This doesn't work well if the damage exists over several frames. But it worked here. It's one of jagabo's contributions. Original frames 186-187-188:
Clip 1, frames 519-520. The original frame 520 on the right-hand side has a bad flag or "tear" across the entire lower portion. Unfortunately there is no following frame from which to create a new one. So I borrowed the same area from the previous frame 519 and overlaid it onto frame 520. There wasn't much movement, so this worked fairly well.
Clip 1, frames 521-522-523. Thanks to damage in the previous frame that made the tape "bounce", frames 521-522 are a mess, and mostly monochrome. A routine was used to copy the chroma channels from frame 523 into frames 521 and 522. The camera was zooming in, so it's not a perfect fit. But it's pretty close (again, thanks to jagabo).
Of course there are always things that cannot be fixed. I'll include the code in the next post with an mkv attempt at Clip1.
This mkv effort doesn't use VirtualDub or RemoveDirt. But that blasted top-border flashing is worse here, so I had to go with MCTD again in a separate step. Fortunately it uses the same plugins as before but with different color settings. Three new plugins were used; the attached .zip contains FixChromaBleeding2.avs, ReplaceFramesMC2.avs, plus RemapFrames.dll and its html help. I could have used stronger filters for the color flashing, but most of it is gone and I didn't want to over filter.
Moral: it should be illegal to manufacture consumer cameras that have zoom lenses, autogain, and autocolor.
Last edited by sanlyn; 26th Oct 2013 at 08:32.
Like the comment "it should be illegal to manufacture consumer cameras that have zoom lenses, autogain, and autocolor."
So running the 3 steps of the 'Clip1 script' should show improvements over the previous 4 steps ? .... assuming I followed you OK.
I'll run both and do a compare ... be good to see both end results.
Thought I was making headway on your new script ....
found it needed extra plugins ... TDeint and VerticalCleaner
Also errored on DEdgeMask ... reinstalled Masktools 1.5.8 that seemed to clear that.
But stuck on following: Script Error
"There is no function named "mt_makediff" (QTMGC-3.32.avsi, line 776) (QTMGC-3.32.avsi, line 3866)
Can't find any mention of a plugin of that name so assume it's more complex that that.
OK dejavu .... when I first tried script .. one of the errors I had was "The is no Function named "DEdgemask" in FixChromaBleeding2.avs line 14"
I tried the different version of MaskTools, and fault chnaged to "There is no function named "mt_makediff"" .. however by putting in the mt_masktools-25 ... "Dedgemask" error has returned.