Advertisement
Guest User

Clarity Creation

a guest
Mar 13th, 2013
273
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.58 KB | None | 0 0
  1. #Clarity Creation | Blu-ray
  2. #Decoding software/CUDA in CoreAVC or software/cuvid in LAV Video
  3. #Deinterlacing max quality in madVR if needed
  4. #Avisynth in ffdshow
  5. #Unsharp Mask @ 4 in ffdshow
  6. #Postprocessing : luma & chroma dering @ 25% in ffdshow
  7. #Output P016 in ffdshow
  8. #Call TTempSmooth * LimitedSharpenFasterHC * GradFun2db
  9. #Upscaling QFHD by Spline144 in AviSynth with 2 layers
  10. #Chroma Upsampling by Jinc 3 Taps + Anti-Ringing Filter in madVR
  11. #Downscaling 1080p by Lanczos 8 Taps + Anti-Ringing Filter + Linear Light in madVR
  12. #FRC max quality 60hz in madVR
  13. SetMTMode(3,X) #X as your number of CPU threads
  14. ffdshow_source()
  15. SetMTMode(2)
  16. #Denoiser
  17. TTempSmooth(maxr=1,lthresh=4,cthresh=3,lmdiff=3,cmdiff=2,strength=2,interlaced=false)
  18. #Algorithm I [Spline144]
  19. dispWidth = 2880
  20. dispHeight = 1620
  21. mWidth = float(last.width)
  22. mHeight = float(last.height)
  23. ratio = (mWidth/mHeight)
  24. newHeight= round((dispWidth/ratio)/8)*8
  25. newHeight > dispHeight ? Eval("""
  26. newHeight=dispHeight
  27. newWidth=round((newHeight*ratio)/8)*8
  28. """ ) : Eval("""
  29. newWidth=dispWidth
  30. """ )
  31. Spline144Resize(newWidth,newHeight)
  32. #Sharpen I
  33. LimitedSharpenFasterHC(strength=60)
  34. #Deband
  35. GradFun2db()
  36. #Algorithm II [Spline144]
  37. dispWidth = 3840
  38. dispHeight = 2160
  39. mWidth = float(last.width)
  40. mHeight = float(last.height)
  41. ratio = (mWidth/mHeight)
  42. newHeight= round((dispWidth/ratio)/8)*8
  43. newHeight > dispHeight ? Eval("""
  44. newHeight=dispHeight
  45. newWidth=round((newHeight*ratio)/8)*8
  46. """ ) : Eval("""
  47. newWidth=dispWidth
  48. """ )
  49. Spline144Resize(newWidth,newHeight)
  50. SetMTMode(1)
  51. GetMTMode(false) > 0 ? distributor() : last
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement