Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- MP_Pipeline("""
- ### platform: win32
- SetMemoryMax(192)
- src="H:\remux\[BDMV][120307]Fate/Zero Blu-ray Disc BOX Ⅰ\Fate/Zero Blu-ray Disc BOX Ⅰ Disc1+特典CD\BDROM\BDMV\STREAM\00000.m2ts"
- cf = src + ".ffindex"
- FFIndex(src, cachefile=cf, demuxer="lavf")
- FFVideoSource(src, cachefile=cf, seekmode=-1, threads=1)
- ### prefetch: 8, 4
- ### lock threads to cores
- ### ###
- ### platform: win32
- SetMemoryMax(1536)
- src=last
- #nr=src.FFT3DFilter(sigma=3.2,sigma2=2.4,sigma3=1.6,sigma4=0.8,bw=16,bh=16,ow=8,oh=8,plane=4,bt=3)
- nr=src.MCTD(settings="medium", radius=2, sigma=8, limit=-1, limit2=0, chroma=true, twopass=false, useTTmpSm=false,
- \pp=false, protect=false, deblock=false, useQED=true, enhance=false, GPU=false, fixband=false, sharp=false)
- ### export clip: nr, src
- ### prefetch: 8, 4
- ### lock threads to cores
- ### ###
- ### platform: win32
- SetMemoryMax(512)
- rg17 = nr.removegrain(17,-1)
- iOB = src.mt_lut("x 64 >= x 0 ?",U=1,V=1)
- mB = mt_makediff(iOB,rg17,U=1,V=1).mt_binarize(144,upper=false,U=1,V=1).removegrain(5,-1)
- lB = mt_lutxy(nr,src,"x y - abs 4 <= x x y - 0 < y 4 - x ? ?",U=1,V=1)
- pnr = mt_merge(nr,lB,mB,U=2,V=2)
- lumamask=src.mt_lut("x 96 > 255 x 64 > x 64 - 3 << 64 x - 2 << ? ?",U=1,V=1).RemoveGrain(19, -1)
- anr=mt_merge(src,pnr,lumamask,luma=false,Y=3,U=4,V=4)
- #mask=src.TEdgeMask( link=2, preblur=true, valon=-1 ).mt_lut("x 3 <= 0 x 2 - 5 << ?",Y=3,U=2,V=2).mt_lut("x 5 <= 0 x 3 - 5 << ?",Y=2,U=3,V=3)
- mask=src.tcanny(sigma=1.5, mode=1, plane=7).mt_lut("x 4 <= 0 x 3 - 5 << ?",Y=3,U=2,V=2).mt_lut("x 8 <= 0 x 4 - 5 << ?",Y=2,U=3,V=3).mt_deflate(Y=3,U=3,V=3)
- ### export clip: anr, src, mask
- ### prefetch: 8, 4
- ### lock threads to cores
- ### ###
- SetMemoryMax(1536)
- db=anr.GradFun3( smode=1, thr=0.15, elast=2.5, ampn=0, radius=16, ampo=0.8, dthr=0.011, lsb=true, lsb_in=false, mask=0 ).f3kdb(range=16, Y=33, Cb=33, Cr=33, grainY=0, grainC=0, dither_algo=2, dynamic_grain=true, keep_tv_range=false, input_mode=1, output_mode=1, output_depth=16)
- np=db.GrainFL(lsb_in=true, lsb=true, th1=16, th2=24, th3=64, th4=112, g1str=0, g2str=6, g3str=0, g1shrp=60, g2shrp=66, g3shrp=80, g1size=1.40, g2size=1.40, g3size=1.40, g1soft=3,g2soft=3,g3soft=3)
- Dither_merge16_8(np, src.Dither_convert_8_to_16(), mask, luma=false)
- f3kdb(range=0, Y=0, Cb=0, Cr=0, grainY=0, grainC=0, dither_algo=2, dynamic_grain=true, keep_tv_range=false, input_mode=1, output_mode=2, output_depth=10)
- """)
Add Comment
Please, Sign In to add comment