VideoHelp Forum

Try DVDFab and download streaming video, copy, convert or make Blu-rays,DVDs! Download free trial !
+ Reply to Thread
Results 1 to 5 of 5
Thread
  1. Hello,

    I have a clip which has dust/dirt clouds in 15 out of 25 frames per second. The dust/dirt looks like blue-gray clouds and patches similar to this:

    Name:  uwE51Ti.jpg
Views: 926
Size:  2.4 KB

    Name:  m0Deqq4.jpg
Views: 912
Size:  4.2 KB

    Sample

    Code:
    https://www.sendspace.com/file/cmgrsm
    I have managed to remove majority of the white specks, comets, tears, and scratches using Avisynth + After Effects. However, I am having a hard time getting rid of the dust clouds.

    Code:
    SeparateFields
    EV=SelectEven.RemoveSpotsMC3X(30,false)
    Od=SelectOdd.RemoveSpotsMC3X(30,false)
    Interleave(Ev,Od)
    lmask = mt_binarize(150).mt_expand().mt_expand().Blur(1.0) # build a mask based on luma
    Overlay(last, RemoveSpotsMC3x, mask=lmask) # only apply to bright areas
    LRemoveDust_YV12().RemoveDirt(10, false)
    Weave()
    I want to use BadFrames() to replace the dirty frames with clean pixels from the previous one, but I will require assistance in using mvtools with this to get decent output. The input already lacks a lot of details so at this point I just want to completely get rid of the spots and then apply some edge enhancement and add grain.

    On a similar note, which commercial application (all-in-one suite preferred) would you recommend to restore older videos? It is a pain in the butt to manually restore thousands of frames in a limited amount of time.
    Last edited by LaKap; 27th Sep 2014 at 18:53.
    Quote Quote  
  2. Here is a sample from the video with the dust and dirt:
    Code:
    https://www.sendspace.com/file/cmgrsm
    Quote Quote  
  3. As far as i can tell the problem is located on the U component for the most part. Can't you upload a "normal" video sample with details in it, it'd be better...

    Anyway, i think spotremover might help you: http://spotremoverfilter.com/
    Quote Quote  
  4. Originally Posted by themaster1 View Post
    As far as i can tell the problem is located on the U component for the most part.
    How did you figure that out?

    EDIT: Found this method useful.

    Y = GreyScale()
    U = UtoY()
    V = VtoY()
    StackHorizontal(Y, StackVertical(U,V))
    I tried SpotRemoved, but it "fixes" the perfectly fine areas as well and ends up killing a lot of details. Is it possible to only process the U plane in SpotRemover and then merge if back with Y and V? Still researching on this.

    Originally Posted by themaster1 View Post
    Can't you upload a "normal" video sample with details in it, it'd be better...
    Here you go:

    Last edited by LaKap; 30th Sep 2014 at 07:44.
    Quote Quote