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:
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:https://www.sendspace.com/file/cmgrsm
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.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()
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.
+ Reply to Thread
Results 1 to 5 of 5
Last edited by LaKap; 27th Sep 2014 at 18:53.
Here is a sample from the video with the dust and dirt:Code:
EDIT: Found this method useful.
Y = GreyScale()
U = UtoY()
V = VtoY()
Last edited by LaKap; 30th Sep 2014 at 07:44.
You could start with this script i just made, it remove some junk but not all: