Will someone please tell me if my script looks right? As I was searching the net, I found a new script. I also read it will be slow but I don't mind. I do get the following error. Please see below. My script lines will start after the MSharpen(10,100,true,false,false)
Avisynth open failure:
Script error: there is no function named "MVAnalyse"
(H:\Apollo 13 (1995)\movie.avs, line 15)
LoadPlugin("C:\Program Files\AviSynth 2.5\plugins\removegrain.dll")
LoadPlugin("C:\Program Files\AviSynth 2.5\plugins\removedirt.dll")
LoadPlugin("C:\Program Files\AviSynth 2.5\plugins\msharpen.dll")
LoadPlugin("C:\Program Files\AviSynth 2.5\plugins\degrainmedian.dll")
import("C:\Program Files\AviSynth 2.5\plugins\RemoveDirt.avs")
AVISource("H:\Apollo 13 (1995)\video.avi")
RemoveGrain(mode=2)
RemoveGrain(mode=17)
RemoveDirt()
LanczosResize(720,400)
MSharpen(10,100,true,false,false)
DeGrainMedian(limitY=5,limitUV=5,mode=3,interlaced =false)
DeGrainMedian(limitY=2,limitUV=3,mode=2,interlaced =false)
coloryuv(autogain=true,autowhite=true) # Only for B&W Movies
backward_vec2 = last.MVAnalyse(isb = true, delta = 2, pel = 2, overlap=4, sharp=1, idx = 1)
backward_vec1 = last.MVAnalyse(isb = true, delta = 1, pel = 2, overlap=4, sharp=1, idx = 1)
forward_vec1 = last.MVAnalyse(isb = false, delta = 1, pel = 2, overlap=4, sharp=1, idx = 1)
forward_vec2 = last.MVAnalyse(isb = false, delta = 2, pel = 2, overlap=4, sharp=1, idx = 1)
a=last.MVDegrain2(backward_vec1,forward_vec1,backw ard_vec2,forward_vec2,thSAD=400,idx=1)
b = a.fft3dfilter(sigma=3,plane=4,bw=32,bh=32,bt=3,ow= 16,oh=16)
SeeSaw(a,b, NRlimit=5, NRlimit2=6,Sstr=1.5, Slimit=8, Spower=8, Szp=16,soothet=80)
+ Reply to Thread
Results 1 to 12 of 12
-
-
You need to download MVtools and put the .DLL in your Avisynth plugins folder.
That script suffers from "pluginitis". Far too many things running.
RemoveGrain(mode=2)
RemoveGrain(mode=17)
RemoveDirt()
MSharpen(10,100,true,false,false)
DeGrainMedian(limitY=5,limitUV=5,mode=3,interlaced =false)
DeGrainMedian(limitY=2,limitUV=3,mode=2,interlaced =false)
That's like taking a belt sander to a piece of furniture you were only supposed to polish.
backward_vec2 = last.MVAnalyse(isb = true, delta = 2, pel = 2, overlap=4, sharp=1, idx = 1)
backward_vec1 = last.MVAnalyse(isb = true, delta = 1, pel = 2, overlap=4, sharp=1, idx = 1)
forward_vec1 = last.MVAnalyse(isb = false, delta = 1, pel = 2, overlap=4, sharp=1, idx = 1)
forward_vec2 = last.MVAnalyse(isb = false, delta = 2, pel = 2, overlap=4, sharp=1, idx = 1)
a=last.MVDegrain2(backward_vec1,forward_vec1,backw ard_vec2,forward_vec2,thSAD=400,idx=1)
b = a.fft3dfilter(sigma=3,plane=4,bw=32,bh=32,bt=3,ow= 16,oh=16)
SeeSaw(a,b, NRlimit=5, NRlimit2=6,Sstr=1.5, Slimit=8, Spower=8, Szp=16,soothet=80)
That's okay, but still over the top when you get to the SeeSaw part.
Save your sharpening for after the denosing. -
Thank you. I have also added the FFT3DFilter
So, you want me to remove those? Sorry, I just seen your edit
I get the following error
Avisynth open failure:
FFT3DFilter: Can not load FFTW3.DLL !
(H:\Apollo 13 (1995)\movie.avs, line 22
Here is a copy of my script again
LoadPlugin("C:\Program Files\AviSynth 2.5\plugins\removegrain.dll")
LoadPlugin("C:\Program Files\AviSynth 2.5\plugins\removedirt.dll")
LoadPlugin("C:\Program Files\AviSynth 2.5\plugins\msharpen.dll")
LoadPlugin("C:\Program Files\AviSynth 2.5\plugins\degrainmedian.dll")
LoadPlugin("C:\Program Files\AviSynth 2.5\plugins\mvtools.dll")
LoadPlugin("C:\Program Files\AviSynth 2.5\plugins\fft3dfilter.dll")
import("C:\Program Files\AviSynth 2.5\plugins\RemoveDirt.avs")
AVISource("H:\Apollo 13 (1995)\video.avi")
RemoveGrain(mode=2)
RemoveGrain(mode=17)
RemoveDirt()
LanczosResize(720,400)
MSharpen(10,100,true,false,false)
DeGrainMedian(limitY=5,limitUV=5,mode=3,interlaced =false)
DeGrainMedian(limitY=2,limitUV=3,mode=2,interlaced =false)
coloryuv(autogain=true,autowhite=true) # Only for B&W Movies
backward_vec2 = last.MVAnalyse(isb = true, delta = 2, pel = 2, overlap=4, sharp=1, idx = 1)
backward_vec1 = last.MVAnalyse(isb = true, delta = 1, pel = 2, overlap=4, sharp=1, idx = 1)
forward_vec1 = last.MVAnalyse(isb = false, delta = 1, pel = 2, overlap=4, sharp=1, idx = 1)
forward_vec2 = last.MVAnalyse(isb = false, delta = 2, pel = 2, overlap=4, sharp=1, idx = 1)
a=last.MVDegrain2(backward_vec1,forward_vec1,backw ard_vec2,forward_vec2,thSAD=400,idx=1)
b = a.fft3dfilter(sigma=3,plane=4,bw=32,bh=32,bt=3,ow= 16,oh=16)
SeeSaw(a,b, NRlimit=5, NRlimit2=6,Sstr=1.5, Slimit=8, Spower=8, Szp=16,soothet=80) -
Read the FFt3dfilter docs.
You have to download the .DLL it is complaining about and put it in your c:\windows\system32 folder
Not only will the performance of that script need to be measured on a calendar, the output will probably end up looking worse than the source.
Post a 10-15 second clip of your source AVI file -
Originally Posted by Soopafresh
The name of my file: fftw3_20040130.zip -
Originally Posted by Soopafresh
Why would it look worse? That script is no good?
Do you have any other video processing scripts, it doesn't matter if it's slow? -
Originally Posted by Soopafresh
-
Your goal should be to remove as much noise as possible without affecting the picture.
5_source.avi
5_temporaldegrained.avi
Try something simple, like:
AVISource("whatever your video is.avi")
bicubicresize(720,400)
source=last
denoised=FFT3DFilter(sigma=6,sigma2=6,sigma3=5,sig ma4=4,bt=5,bw=32,bh=32,ow=16,oh=16,plane=4)
backward_vec2 = MVAnalyse(denoised,isb = true, delta = 2, pel = 2, overlap=4, sharp=1, idx = 1,dct=1)
backward_vec1 = MVAnalyse(denoised,isb = true, delta = 1, pel = 2, overlap=4, sharp=1, idx = 1,dct=1)
forward_vec1 = MVAnalyse(denoised,isb = false, delta = 1, pel = 2, overlap=4, sharp=1, idx = 1,dct=1)
forward_vec2 = MVAnalyse(denoised,isb = false, delta = 2, pel = 2, overlap=4, sharp=1, idx = 1,dct=1)
MVDegrain2(source,backward_vec1,forward_vec1,backw ard_vec2,forward_vec2,thSAD=400,idx=2) -
Thank you. The link I got the script from that I posted in my OP to open this thread. I didn't read the title. The script is for black and white. All my videos are for color. 1.) This script in my quote, is it for black and white, or color? 2.) If it's black and white, where can I get a similar script for color to the link I am going to give?
http://neuron2.net/board/viewtopic.php?t=1113&highlight=
Originally Posted by Soopafresh -
Originally Posted by Soopafresh
Similar Threads
-
script ffmpeg ?
By lf2 in forum ProgrammingReplies: 5Last Post: 14th Mar 2012, 10:10 -
To Script or Not To Script, that is the Question... (Custom Videos)
By TheMcD in forum EditingReplies: 2Last Post: 21st Oct 2010, 10:11 -
Script error
By buddycat in forum Video ConversionReplies: 8Last Post: 18th Nov 2007, 07:38 -
avisynth script
By magenta2007 in forum SVCD2DVD & VOB2MPGReplies: 7Last Post: 25th Sep 2007, 11:29