Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- #MP_Pipeline("""
- ### platform: win32
- SetMemoryMax(600)
- src = "VTS_01_CHAPTER_01_1.VOB"
- DSS2(src).AssumeFPS(30000, 1001)
- Vinverse(amnt=1)
- nnedi3_rpow2(rfactor=2, qual=2)
- emask = last.tcanny(sigma=0.8, mode=1, plane=1)
- ### export clip: emask
- ### prefetch: 32,16
- ### ###
- ### platform: win32
- SetMemoryMax(1000)
- up = last
- edgeclean = up.YAHR().Dehalo_Alpha_mt(darkstr=1.0,brightstr=1.4,rx=2.4,ry=2.4,highsens=100,lowsens=30)
- #\.dfttest(Y=true, U=true, V=true, threads=2, sigma=32, sigma2=32, sbsize=60, sosize=9, tbsize=1, dither=1, lsb_in=false, lsb=false)
- 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)
- ecsh = ContraSharpen(blurc, up, chroma=true, preblur=false, limit=true, RGmode=20, RGmodeU=11, Repmode=13, RepmodeU=13)
- 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 << ?")
- eced = mt_merge(up, ecsh, ecmask, luma=true, Y=3, U=3, V=3)
- #nr = eced.MCTD(settings="low", radius=3, sigma=4, limit=-1, limit2=0, chroma=false, twopass=false, useTTmpSm=false, GPU=false, fixband=true,
- #\pp=true, protect=true, deblock=false, useQED=true, enhance=false, sharp=false).Repair(eced,3,0)
- last = eced
- ### export clip: emask
- ### prefetch: 16,8
- ### ###
- SetMemoryMax(1200)
- eced = last
- sharpmask = emask.mt_lut("x 48 < 0 x 144 >= 399 x - x 2 << 188 - ? ?", U=1, V=1)
- sh = eced.LSFmod1(defaults="slow",Smode=5,Smethod=3,Lmode=4,strength=80,sharpmask=sharpmask,preblur="OFF",secure=true,edgemode=0,soft=-2,soothe=true,ss_x=1.00,ss_y=1.00)
- sh16 = sh.U16()
- deband = sh16.f3kdb(range=20, Y=64, Cb=56, Cr=56, grainY=0, grainC=0, dither_algo=3, dynamic_grain=true, keep_tv_range=false, input_mode=1, output_mode=1, output_depth=16)
- dbmask = emask.mt_lut("x 4 > x 4 - 6 << 0 ?",Y=3,U=1,V=1)
- Dither_merge16_8(deband, sh16, dbmask, luma=true)
- Dither_y_gamma_to_linear(curve="170")
- Dither_resize16(1280, 714, 4, -0.5, 1432, 960, kernel="Spline36", Y=3, U=3, V=3)
- Dither_y_linear_to_gamma(curve="170")
- Down10(10, tvRange=true, stack=false)
- #Interleave(up.Spline36Resize(1280,714, 4, -0.5, 1432, 960), last)
- #""")
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement