Advertisement
Guest User

Untitled

a guest
Jun 8th, 2017
63
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. AVISource("C:\Users\Nicholas\Desktop\March of the Exeggutor Squad.avi", audio=false)
  2. converttoyv12()
  3. #deinterlace
  4. #SmoothDeinterlace() TFM is doing deinterlacing, no need for this.
  5. Stab2()
  6. DeDot()
  7. tfm().tdecimate()
  8. crop( 10, 0, -8, 0) #crop usually goes after deinterlacing
  9. function RemoveDirt(clip input, bool "_grey", int "repmode")
  10. {
  11.     _grey=default(_grey, false)
  12.     repmode=default(repmode, 16)
  13.     clmode=17
  14.     clensed=Clense(input, grey=_grey, cache=4)
  15.     sbegin = ForwardClense(input, grey=_grey, cache=-1)
  16.     send = BackwardClense(input, grey=_grey, cache=-1)
  17.     alt=Repair(SCSelect(input, sbegin, send, clensed, debug=true), input, mode=repmode, modeU = _grey ? -1 : repmode )
  18.     restore=Repair(clensed, input, mode=repmode, modeU = _grey ? -1 : repmode)
  19.     corrected=RestoreMotionBlocks(clensed, restore, neighbour=input, alternative=alt, gmthreshold=70, dist=1, dmode=2, debug=false, noise=10, noisy=12, grey=_grey)
  20.     return RemoveGrain(corrected, mode=clmode, modeU = _grey ? -1 : clmode )
  21. }  
  22. DeCrawl()
  23. coloryuv(gain_u=-1, gain_v=-4)
  24. tweak(cont=.99, bright=-6, sat=1.3)
  25. 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