VideoHelp Forum
+ Reply to Thread
Results 1 to 14 of 14
Thread
  1. Hi All,

    What are the best filters if any to help clean up this video? Should I use NeatVideo to clean the noise?
    Is this video progressive or interlaced/Top/Bottom? Gspot doesn't tell me.

    I'm still learning how to clean video.

    FileSize: 123mb
    http://www.lwintegrationtest.com/speechvideo.avi


    Thanks.
    Quote Quote  
  2. Your video is interlaced, top field first. Use the bob doubler filter in VirtualDub to test the field order. If you get back and forth motion in the output pane you selected the wrong field order in the filter.
    Quote Quote  
  3. Banned
    Join Date: Oct 2004
    Location: New York, US
    Search Comp PM
    -30-
    Last edited by sanlyn; 21st Mar 2014 at 21:47.
    Quote Quote  
  4. Member
    Join Date: Dec 2002
    Location: United States
    Search Comp PM
    sanlyn,

    What kind of settings do you recommend when using Neat Video? Do you know of a tutorial online that you would recommend to improve the Neat Video settings? I have found some tutorials that suggest building the profile by manually selecting different color ranges and applying the selection to the noise profile. I understand this, but sometimes different areas are not available that comply with the typical selection process in Neat Video (find uniform areas of the frame that have no features for each of the various color spectrum).

    Also, I always get the nag warning that the area that I selected is too small. This seems impossible to avoid when working with interlaced video as the entire frame is split in two and most of the flat featureles uniform areas are small portions of the frame. Are your experiences the same?

    OP: I do not mean to hijack the thread, I just hoped to add to your theme of proper use of filters.


    Thanks.


    - Smells_Like_Feet
    Quote Quote  
  5. Banned
    Join Date: Oct 2004
    Location: New York, US
    Search Comp PM
    -30-
    Last edited by sanlyn; 21st Mar 2014 at 21:47.
    Quote Quote  
  6. Member themaster1's Avatar
    Join Date: Nov 2006
    Location: France
    Search Comp PM
    Try this as a starting point:

    AVISource("C:\speechvideo.avi")
    assumetff()
    converttoyv12(interlaced=true)
    input=last
    ######## Deblock interlaced video ############
    par=getparity()
    SeparateFields().PointResize(width,height)
    Deblock_QED(24,28,uv=3)
    AssumeFrameBased()
    SeparateFields()
    Merge(SelectEven(),SelectOdd())
    par ? AssumeTFF() : AssumeBFF()
    Weave()
    ##### High Dynamic Range Automatic Gain Control #######
    #Source: http://strony.aster.pl/paviko/hdragc.htm
    separatefields()
    HDRAGC()
    weave()
    ### DV DROPOUT (BAD FRAMES REBUILDING) #########
    # Source: http://forum.doom9.org/showthread.php?t=128649&highlight=dropout
    morph(22,24) # frame 23 is replaced
    morph(24,27) # frames 25,26 replaced
    morph(36,38) # frames 37 replaced (result not that good here)
    #### Camcorder Color Denoise (desaturate) ############
    converttorgb32(interlaced=true)
    LoadVirtualdubPlugin("C:\Program Files (x86)\virtualdub1.9\plugins\Camcorder_Color_Denois e_sse2.vdf","ccd",1)
    ccd(95,1)

    ########## Denoiser ############
    #Source (fft3d gpu): http://forum.doom9.org/showthread.php?t=89941
    #Source (fft3d) http://avisynth.org.ru/fft3dfilter/fft3dfilter.html
    converttoyv12(interlaced=true)
    # Denoise UV (Colors)
    fft3dfilter(sigma=2.0,sigma2=8.0,sigma3=7.0,sigma4 =10, bt=1, bw=16, bh=16, ow=8, oh=8,plane=3, sharpen=0.0,interlaced=false,dehalo=0.0) # U= Bleu V= vert
    # Denoise Y ( Luma)
    fft3dgpu(bt=2,sigma=1.5,sigma2=2.8,sigma3=3.5,sigm a4=5.0,bw=32,bh=32,ow=16,oh=16,sharpen=0,plane=0,m ode=1,precision=2,interlaced=false,oldfft=false)
    ######## Grain ###########
    # Source: http://forum.doom9.org/showthread.php?t=144537
    GradFun2DBmod(str=[<"Grain Quantity", 0.9, 10.0, 1.1>])
    stackvertical(input,last)
    Result Preview:
    http://imageupload.org/en/file/191119/frame-112.jpg.html
    Last edited by themaster1; 29th Feb 2012 at 22:48.
    Quote Quote  
  7. Banned
    Join Date: Oct 2004
    Location: New York, US
    Search Comp PM
    -30-
    Last edited by sanlyn; 21st Mar 2014 at 21:47.
    Quote Quote  
  8. Member
    Join Date: Dec 2002
    Location: United States
    Search Comp PM
    sanlyn,

    Thank you so much for the detailed response. I look forward to working through all of it this weekend.

    - Smells_Like_Feet
    Quote Quote  
  9. Banned
    Join Date: Oct 2004
    Location: New York, US
    Search Comp PM
    -30-
    Last edited by sanlyn; 21st Mar 2014 at 21:47.
    Quote Quote  
  10. Originally Posted by themaster1 View Post
    Try this as a starting point:

    AVISource("C:\speechvideo.avi")
    assumetff()
    converttoyv12(interlaced=true)
    input=last
    ######## Deblock interlaced video ############
    par=getparity()
    SeparateFields().PointResize(width,height)
    Deblock_QED(24,28,uv=3)
    AssumeFrameBased()
    SeparateFields()
    Merge(SelectEven(),SelectOdd())
    par ? AssumeTFF() : AssumeBFF()
    Weave()
    ##### High Dynamic Range Automatic Gain Control #######
    #Source: http://strony.aster.pl/paviko/hdragc.htm
    separatefields()
    HDRAGC()
    weave()
    ### DV DROPOUT (BAD FRAMES REBUILDING) #########
    # Source: http://forum.doom9.org/showthread.php?t=128649&highlight=dropout
    morph(22,24) # frame 23 is replaced
    morph(24,27) # frames 25,26 replaced
    morph(36,38) # frames 37 replaced (result not that good here)
    #### Camcorder Color Denoise (desaturate) ############
    converttorgb32(interlaced=true)
    LoadVirtualdubPlugin("C:\Program Files (x86)\virtualdub1.9\plugins\Camcorder_Color_Denois e_sse2.vdf","ccd",1)
    ccd(95,1)

    ########## Denoiser ############
    #Source (fft3d gpu): http://forum.doom9.org/showthread.php?t=89941
    #Source (fft3d) http://avisynth.org.ru/fft3dfilter/fft3dfilter.html
    converttoyv12(interlaced=true)
    # Denoise UV (Colors)
    fft3dfilter(sigma=2.0,sigma2=8.0,sigma3=7.0,sigma4 =10, bt=1, bw=16, bh=16, ow=8, oh=8,plane=3, sharpen=0.0,interlaced=false,dehalo=0.0) # U= Bleu V= vert
    # Denoise Y ( Luma)
    fft3dgpu(bt=2,sigma=1.5,sigma2=2.8,sigma3=3.5,sigm a4=5.0,bw=32,bh=32,ow=16,oh=16,sharpen=0,plane=0,m ode=1,precision=2,interlaced=false,oldfft=false)
    ######## Grain ###########
    # Source: http://forum.doom9.org/showthread.php?t=144537
    GradFun2DBmod(str=[<"Grain Quantity", 0.9, 10.0, 1.1>])
    stackvertical(input,last)
    Result Preview:
    http://imageupload.org/en/file/191119/frame-112.jpg.html

    Thanks, I'll give this a try!
    Quote Quote  
  11. Banned
    Join Date: Oct 2004
    Location: New York, US
    Search Comp PM
    -30-
    Last edited by sanlyn; 21st Mar 2014 at 21:48.
    Quote Quote  
  12. For some odd reason, when I try to run the following script, I get no errors, but nothing changes in the video. The output windows, looks just like the source in VirtuaDub 1.9.11. Any ideas?

    Import("C:\Program Files\AviSynth 2.5\plugins\Deblock_QED.avs")
    LoadPlugin ("C:\Program Files\AviSynth 2.5\plugins\gradfun2db.dll")
    LoadPlugin ("C:\Program Files\AviSynth 2.5\plugins\AddGrainC.dll")
    LoadPlugin ("C:\Program Files\AviSynth 2.5\plugins\RemoveGrain.dll")
    LoadPlugin("C:\Program Files\AviSynth 2.5\plugins\FFT3DFilter.dll")
    LoadPlugin("C:\Program Files\AviSynth 2.5\plugins\mvtools.dll")

    AVISource("C:\speechvideo.avi")
    assumetff()
    converttoyv12(interlaced=true)
    input=last
    ######## Deblock interlaced video ############
    par=getparity()
    SeparateFields().PointResize(width,height)
    Deblock_QED(24,28,uv=3)
    AssumeFrameBased()
    SeparateFields()
    Merge(SelectEven(),SelectOdd())
    par ? AssumeTFF() : AssumeBFF()
    Weave()
    ##### High Dynamic Range Automatic Gain Control #######
    #Source: http://strony.aster.pl/paviko/hdragc.htm
    separatefields()
    HDRAGC()
    weave()
    ### DV DROPOUT (BAD FRAMES REBUILDING) #########
    # Source: http://forum.doom9.org/showthread.ph...hlight=dropout
    morph(22,24) # frame 23 is replaced
    morph(24,27) # frames 25,26 replaced
    morph(36,38) # frames 37 replaced (result not that good here)
    #### Camcorder Color Denoise (desaturate) ############
    converttorgb32(interlaced=true)
    LoadVirtualdubPlugin("C:\VirtualDub-1.9.11\plugins\ccd_sse2.vdf","ccd",1)
    ccd(95,1)

    ########## Denoiser ############
    #Source (fft3d gpu): http://forum.doom9.org/showthread.php?t=89941
    #Source (fft3d) http://avisynth.org.ru/fft3dfilter/fft3dfilter.html
    converttoyv12(interlaced=true)
    # Denoise UV (Colors)
    fft3dfilter(sigma=2.0,sigma2=8.0,sigma3=7.0,sigma4 =10, bt=1, bw=16, bh=16, ow=8, oh=8,plane=3, sharpen=0.0,interlaced=false,dehalo=0.0) # U= Bleu V= vert
    # Denoise Y ( Luma)
    fft3dgpu(bt=2,sigma=1.5,sigma2=2.8,sigma3=3.5,sigm a4=5.0,bw=32,bh=32,ow=16,oh=16,sharpen=0,plane=0,m ode=1,precision=2,interlaced=false,oldfft=false)

    ######## Grain ###########
    # Source: http://forum.doom9.org/showthread.php?t=144537
    #GradFun2DBmod(str=[<"Grain Quantity", 0.9, 10.0, 1.1>])
    GradFun2DBmod(1.1)
    stackvertical(input,last)

    I also attached a list of my plugins for AviSynth 2.5.

    Thanks.
    Attached Images  
    Quote Quote  
  13. Are you looking at the entire frame? Note the last line of that script (stackvertical(input,last)) stacks the original video on top of the processed video. If you're only looking at the top half of the frame you're only seeing the original video.
    Quote Quote  
  14. Member themaster1's Avatar
    Join Date: Nov 2006
    Location: France
    Search Comp PM
    Try stackhorizontal(input,last) and don't use virtualdub but avspmod, much better
    Quote Quote  



Similar Threads