VideoHelp Forum




+ Reply to Thread
Results 1 to 12 of 12
  1. Member
    Join Date
    Jul 2008
    Location
    United States
    Search Comp PM
    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)
    Quote Quote  
  2. Member Soopafresh's Avatar
    Join Date
    Jan 2004
    Location
    United States
    Search Comp PM
    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.
    Quote Quote  
  3. Member
    Join Date
    Jul 2008
    Location
    United States
    Search Comp PM
    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)
    Quote Quote  
  4. Member Soopafresh's Avatar
    Join Date
    Jan 2004
    Location
    United States
    Search Comp PM
    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
    Quote Quote  
  5. Member
    Join Date
    Jul 2008
    Location
    United States
    Search Comp PM
    Originally Posted by Soopafresh
    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.
    I just did and it's giving me the same error. FFTW3.DLL, right?

    The name of my file: fftw3_20040130.zip
    Quote Quote  
  6. Member
    Join Date
    Jul 2008
    Location
    United States
    Search Comp PM
    Originally Posted by Soopafresh
    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.

    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?
    Quote Quote  
  7. Member Soopafresh's Avatar
    Join Date
    Jan 2004
    Location
    United States
    Search Comp PM
    Since you downloaded it, I suppose it's okay if I upload the actual .DLL

    fftw3.dll

    Post a 10-15 second clip of your AVI and we'll make suggestions as to which filters will work the best on it.
    Quote Quote  
  8. Member
    Join Date
    Jul 2008
    Location
    United States
    Search Comp PM
    Originally Posted by Soopafresh
    Since you downloaded it, I suppose it's okay if I upload the actual .DLL

    fftw3.dll

    Post a 10-15 second clip of your AVI and we'll make suggestions as to which filters will work the best on it.
    I never uploaded a video clip before. The other day it was actually on a different forum my first uploading a clip of my program. I really don't even know where to begin, or end to upload a video clip.
    Quote Quote  
  9. Member Soopafresh's Avatar
    Join Date
    Jan 2004
    Location
    United States
    Search Comp PM
    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)
    Quote Quote  
  10. Member
    Join Date
    Jul 2008
    Location
    United States
    Search Comp PM
    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
    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)
    Quote Quote  
  11. Member Soopafresh's Avatar
    Join Date
    Jan 2004
    Location
    United States
    Search Comp PM
    I script I posted will work on color or black and white.
    Quote Quote  
  12. Member
    Join Date
    Jul 2008
    Location
    United States
    Search Comp PM
    Originally Posted by Soopafresh
    I script I posted will work on color or black and white.
    Thank you very much, Soopafresh!
    Quote Quote  



Similar Threads

Visit our sponsor! Try DVDFab and backup Blu-rays!