VideoHelp Forum
+ Reply to Thread
Results 1 to 7 of 7
Thread
  1. Member
    Join Date: Feb 2012
    Location: Derby UK
    Search PM
    hello

    I'm trying to remove dot crawl from my vhs video, ive installed avisynth and virtualdub,
    i found a script on-line and cut-pasted it into notepad and saved it has 21.avs

    but when i run the script i keep getting 'Avisynth open failure, script error:there no function named "SmoothCurve"
    (C:\21clip.avs line 13)

    here is the script, is there something i need to install (avisynth or VD filters)

    Code:
    #[*#%%%%%%%%%%%%%%%%%%%%%%%%%%%%Start of DotCrawl Removal%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
    [*#-------------------------------------------------------------Start of Defreq-FFT---------------------------------------------------------
    AviSource("c:\21.avi")
    Defreq(fx=64.0, dx=2.0, fy=16.0, dy=6.0, sharp=8.0, fx2=64.0, dx2=2.0, fy2=-48.0, dy2=6.0, sharp2=8.0, fx3=44.0, dx3=2.0, fy3=-0.0, dy3=6.0, sharp3=8.0, fx4=44.0, dx4=2.0, fy4=32.0, dy4=6.0, sharp4=8.0, show=0, info=true, plane=0)
    Defreq(fx=44.0, dx=2.0, fy=-32.0, dy=6.0, sharp=8.0, fx2=44.0, dx2=2.0, fy2=-64.0, dy2=6.0, sharp2=8.0, fx3=44.0, dx3=2.0, fy3=64.0, dy3=6.0, sharp3=8.0, fx4=64.0, dx4=2.0, fy4=-16.0, dy4=6.0, sharp4=8.0, show=0, info=true, plane=0)
    Defreq(fx=0.0, dx=3.0, fy=63.9, dy=4.0, sharp=8.0, fx2=0.0, dx2=8.0, fy2=0.0, dy2=3.0, sharp2=8.0, show=0, info=true, plane=1)
    Defreq(fx=0.0, dx=3.0, fy=63.9, dy=4.0, sharp=8.0, fx2=0.0, dx2=8.0, fy2=0.0, dy2=3.0, sharp2=8.0, show=0, info=true, plane=2)
    #Defreq nje rabotajet !
    *]#-------------------------------------------------------------End of Defreq-FFT---------------------------------------------------------
    #[*#---------------------------------------------------------------Start of Y-FFT-----------------------------------------------------------
    #Das folgende Y-Muster ist ein PAL-Beispiel, durch Dotcrawl verursacht, somit inhaltsabhänging
    #und gilt nur für Sektionen mit hoher Rot-Sättigung wie 113687, 119200-119300 bzw. Blausättigung wie Frame 92800-92900
    SmoothCurve(interp=100, limiter=false, Ycurve="0-16;18-25;50-70;110-150;180-220;255-255", Ucurve="0-0;127-127;255-255", Vcurve="0-0;127-127;255-255", show=false)#Pre für 5x Y-F2Quiver)
    F2Quiver(nef=2, f1x1=176, f1y1=+60, f1x2=176, f1y2=+85, mf1=1.01, sh1=1, f2x1=176, f2y1=-50, f2x2=176, f2y2=-87, mf2=1.01, sh2=1)
    F2Quiver(nef=2, f1x1=176, f1y1=+165, f1x2=176, f1y2=+210, mf1=1.005, sh1=1, f2x1=176, f2y1=-165, f2x2=176, f2y2=-210, mf2=1.005, sh2=1)
    F2Quiver(nef=2, f1x1=232, f1y1=120, f1x2=232, f1y2=135, mf1=1.02, sh1=1, f2x1=232, f2y1=-120, f2x2=232, f2y2=-135, mf2=1.01, sh2=1)
    F2Quiver(nef=2, f1x1=232, f1y1=+8, f1x2=232, f1y2=-8, mf1=1.03, sh1=1, f2x1=232, f2y1=+245, f2x2=232, f2y2=+255, mf2=1.1, sh2=1)
    F2Quiver(nef=2, f1x1=90, f1y1=192, f1x2=110, f1y2=192, mf1=1.1, sh1=1, f2x1=90, f2y1=-192, f2x2=110, f2y2=-192, mf2=1.1, sh2=1)
    #SmoothCurve(interp=100, limiter=false, Ycurve="0-0;30-30;110-120;160-175;255-255", Ucurve="0-0;127-127;255-255", Vcurve="0-0;127-127;255-255", show=false)#für 4x Y-F2Quiver)
    SmoothCurve(show=false, interp=100, limiter=false, Ycurve="0-0;16-22;60-80;90-128;150-200;255-255", Ucurve="0-0;127-127;255-255", Vcurve="0-0;127-127;255-255")#Post für 5x Y-F2Quiver)
    #F2Quiver(test=true)
    #*]#---------------------------------------------------------------End of Y-FFT-----------------------------------------------------------
    #SmoothCurve(show=true, interp=100, limiter=false, Ycurve="0-0;63-63;127-127;150-150;191-191;255-255", Ucurve="0-0;255-255", Vcurve="0-0;255-255")#zur Kontrolle
    #[*#-------------------------------------------------------------Start of UV-FFT---------------------------------------------------------
    SmoothTweak(hue1=+6, hue2=+6, saturation=1.05, show=false).F2QuiverUV("gp4", 0,255, degree=2)#gp4, degree=2 kompensiert die Ortsfrequenzen noch besser
    #SmoothTweak(hue1=+13, hue2=+13, saturation=1.1, show=false).F2QuiverUV("bp4", 0, 165, degree=1)#bp=4, degree=1 war fast genau so erfolgreich.
    #F2QuiverUV(test=true)
    #*]#---------------------------------------------------------------End of UV-FFT---------------------------------------------------------
    #unbt()
    #*]#%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%End of DotCrawl Removal%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
    Quote Quote  
  2. Member
    Join Date: Oct 2004
    Location: Freedonia
    Search Comp PM
    This script is very complex and unlikely to be a "one size fits all" solution for your problem. Be warned that while it way work OK for you it may also make things worse or not (or barely) better as well. Since you didn't know about installing the SmoothCurve plugin that to me suggests that if it doesn't work for you, you won't be able to modify it. I'm not knocking you, I'm just trying to set a realistic expectation here. Hell, that script you found is way beyond anything I could possibly do, but I would know about installing SmoothCurve for what little good that would probably do me.

    If the final output sucks, post a clip here of the original video (20 secs. may be enough) and you may be able to get jagabo or another member interested in fixing it to work better for you.
    Quote Quote  
  3. SmoothCurve and SmoothTweak are part of SmoothAdjust:

    http://forum.doom9.org/showthread.php?t=154971&highlight=smoothadjust

    It's a third-party plugin (not built into AviSynth) and you have to at least get it and stick it into your AviSynth Plugins folder to be able to use it
    Quote Quote  
  4. Banned
    Join Date: Oct 2004
    Location: New York, US
    Search Comp PM
    -30-
    Last edited by sanlyn; 19th Mar 2014 at 07:41.
    Quote Quote  
  5. Member
    Join Date: Feb 2012
    Location: Derby UK
    Search PM
    Many thanks

    I dont think it going to work as after putting the SmoothAdjust.dll into my plugins folder i get a 'smoothcurve does not have a named argument, show line 13'

    I was trying to get this problem cleaned up as my video suffers from this

    http://www.neatvideo.com/im/example/example-1/example-1.mp4

    how can this be done in AVS and VD

    Is neatvideo the lazy way out , as its not as advanced and offers less control compared to AVS and VD
    Last edited by bob52; 6th Feb 2014 at 13:26.
    Quote Quote  
  6. Banned
    Join Date: Oct 2004
    Location: New York, US
    Search Comp PM
    -30-
    Last edited by sanlyn; 19th Mar 2014 at 07:41.
    Quote Quote  



Similar Threads