Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- AVISource("C:\Users\Nicholas\Desktop\March of the Exeggutor Squad.avi", audio=false)
- converttoyv12()
- #deinterlace
- #SmoothDeinterlace() TFM is doing deinterlacing, no need for this.
- Stab2()
- DeDot()
- tfm().tdecimate()
- crop( 10, 0, -8, 0) #crop usually goes after deinterlacing
- function RemoveDirt(clip input, bool "_grey", int "repmode")
- {
- _grey=default(_grey, false)
- repmode=default(repmode, 16)
- clmode=17
- clensed=Clense(input, grey=_grey, cache=4)
- sbegin = ForwardClense(input, grey=_grey, cache=-1)
- send = BackwardClense(input, grey=_grey, cache=-1)
- alt=Repair(SCSelect(input, sbegin, send, clensed, debug=true), input, mode=repmode, modeU = _grey ? -1 : repmode )
- restore=Repair(clensed, input, mode=repmode, modeU = _grey ? -1 : repmode)
- corrected=RestoreMotionBlocks(clensed, restore, neighbour=input, alternative=alt, gmthreshold=70, dist=1, dmode=2, debug=false, noise=10, noisy=12, grey=_grey)
- return RemoveGrain(corrected, mode=clmode, modeU = _grey ? -1 : clmode )
- }
- DeCrawl()
- coloryuv(gain_u=-1, gain_v=-4)
- tweak(cont=.99, bright=-6, sat=1.3)
- BilinearResize(704, 480) #don't upscale, you're not gaining any NEW detail, but it might be worth it to sharpen after upscaling slightly with say, unfilter, just not this much. also realize you're stretching a 4:3 image to 16:9 which is baaad
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement