Guest User

[DVD upscale][FJMV-0001]

a guest
Jun 9th, 2012
396
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. DSS2("VTS_01_CHAPTER_01_1.VOB").AssumeFPS(30000, 1001)
  2.  
  3. Vinverse(amnt=1)
  4.  
  5. up = last.nnedi3_rpow2(rfactor=2, qual=2)
  6.  
  7. emask = up.tcanny(sigma=0.8, mode=1, plane=1)
  8.  
  9. edgeclean = up.YAHR().Dehalo_Alpha_mt(darkstr=0.8,brightstr=1.2,rx=2.2,ry=2.2,highsens=100,lowsens=30)
  10.  
  11. blurc = edgeclean.Gaussianblur(nthreads=2,varY=0.50,varC=0.30,gfunc=1,gfuncc=1,pcr=1,pcrc=2,Y=3,U=3,V=3)
  12.  
  13. ecsh = ContraSharpen(blurc, up, chroma=true, preblur=false, limit=true, RGmode=20, RGmodeU=11, Repmode=13, RepmodeU=13)
  14.  
  15. ecmask = emask.mt_expand(mode=mt_square(2)).mt_lutxy(emask.mt_inpand(mode=mt_square(1)), "x y -").mt_lut("x 16 < x x 2 << ?")
  16. eced = mt_merge(up, ecsh, ecmask, luma=true, Y=3, U=3, V=3)
  17.  
  18. sh = eced.LSFmod(defaults="slow",Smode=5,Smethod=3,Lmode=4,strength=80,preblur="OFF",secure=true,edgemode=0,soft=-2,soothe=true,ss_x=1.00,ss_y=1.00)
  19. sh16 = sh.U16()
  20.  
  21. deband = sh16.f3kdb(range=20, Y=52, Cb=42, Cr=42, grainY=0, grainC=0, dither_algo=3, dynamic_grain=true, keep_tv_range=false, input_mode=1, output_mode=1, output_depth=16)
  22.  
  23. dbmask = emask.mt_lut("x 4 > x 4 - 6 << 0 ?",Y=3,U=1,V=1)
  24. Dither_merge16_8(deband, sh16, dbmask, luma=true)
  25.  
  26. Dither_y_gamma_to_linear(curve="170")
  27. Dither_resize16(1280, 714, 4, -0.5, 1432, 960, kernel="Spline36", Y=3, U=3, V=3)
  28. Dither_y_linear_to_gamma(curve="170")
  29.  
  30. Down10(10, tvRange=true, stack=false)
Advertisement
Add Comment
Please, Sign In to add comment