Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- #MP_Pipeline("""
- ### platform: win32
- src="S:\1\[BDMV][120307]Fate/Zero Blu-ray Disc BOX Ⅰ\Fate/Zero Blu-ray Disc BOX Ⅰ Disc1+特典CD\BDROM\BDMV\STREAM\00000.m2ts"
- FFIndex(src, demuxer="lavf")
- FFVideoSource(src, seekmode=-1, threads=1)
- #DSS2(src)
- emask = last.tcanny(sigma=2.00, mode=1, plane=1)
- ### prefetch: 32, 16
- ### export clip: emask
- ### ###
- ### platform: win32
- SetMemoryMax(800)
- src = last
- aacs = src.CSmod(chroma=false, Smode=3, Smethod=1, strength=100, preblur=0, thr=0, Tlimit=false, ss_w=2.00, ss_h=2.00, Repmode=13, filter_ss="SangNom(aa=48).TurnRight().SangNom(aa=48).TurnLeft()")
- aamask = emask.mt_lut("x 48 <= 0 x 48 - 3 << ?", U=1, V=1).RemoveGrain(20, -1).mt_inflate(U=1, V=1)
- aaed = mt_merge(src, aacs, aamask, luma=false, Y=3, U=2, V=2)
- nrmask = emask.mt_lut("x 2 <= 0 x 2 - 6 << ?", U=1, V=1).RemoveGrain(20, -1)
- last = aaed
- ### prefetch: 16, 8
- ### export clip: nrmask
- ### ###
- ### platform: win32
- SetMemoryMax(1400)
- aaed = last
- nr1 = aaed.MCTD(settings="low", radius=2, sigma=4, limit=-1, limit2=0, chroma=false, twopass=false, useTTmpSm=true, GPU=false, fixband=true, pp=true, useMMask=false, protect=true, deblock=false, useQED=true, sharp=false, enhance=false)
- nr1 = nr1.Repair(aaed, 1, 0)
- noise = mt_makediff(aaed, nr1, Y=3, U=1, V=1)
- #noisel = noise.mt_lut("x 4 + 128 min x 4 - max", Y=3, U=1, V=1)
- #lmask = nr1.mt_lut("x 127 > 255 x 64 > x 2 << 512 - 0 ? ?", Y=3, U=1, V=1)
- #noisereduc = Dither_merge16_8(noise.U16, noisel.U16, lmask, luma=false, Y=3, U=1, V=1)
- noisereduc = Dither_lutxy8(noise, nr1, "y 127 > 32768 y 64 > x 128 - 512 y 4 * - * 32768 + x 256 * ? ?", Y=3, U=1, V=1)
- noisereduc = Dither_limit_dif16(noisereduc, noise.U16, thr=4.00, elast=3.0, Y=3, U=1, V=1)
- aaed16 = aaed.U16
- nr1.U16
- ### prefetch: 8, 2
- ### export clip: nrmask, aaed16, noisereduc
- ### ###
- SetMemoryMax(1200)
- nr1_16 = last
- nr2_16 = nr1_16.dfttest(Y=false, U=true, V=true, sigma=4.0, sigma2=4.0, sbsize=12, sosize=9, tbsize=3, lsb=true, lsb_in=true).Dither_limit_dif16(nr1_16, thr=2.00, elast=3.0, Y=2, U=3, V=3)
- db = nr2_16.f3kdb(range=16, Y=44, Cb=44, Cr=44, grainY=0, grainC=0, input_mode=1, output_mode=1)
- dbl = db.Dither_limit_dif16(nr2_16, thr=0.30, elast=3.0, Y=3, U=3, V=3)
- dbed = dbl.Dither_add16(noisereduc, dif=true, Y=3, U=2, V=2)
- Dither_merge16_8(dbed, aaed16, nrmask, luma=true, Y=3, U=3, V=3)
- #SeparateResize16(1280, 720, ChromaPara="a1=0.5, a2=0.5")
- Down10(stack=false)
- #""")
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement