Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- FFVideoSource("D:\Games\KEY\Little Buster! EX\MOV\op00.mpg")
- src = last
- src16 = last.Dither_convert_8_to_16()
- edge = src.nnedi3_rpow2(rfactor=2, nsize=0, nns=4, qual=2).Dither_convert_8_to_16().Dither_resize16(1440, 1080, -0.5, -0.5, kernel="Spline64")
- flatlu = src16.Dither_resize16(1440, 1080, kernel="Spline64", Y=3, U=1, V=1)
- flatch = src16.Dither_resize16(1440, 1080, kernel="Bicubic", a1=0.5, a2=0.5, Y=1, U=3, V=3)
- flat = flatlu.MergeChroma(flatch)
- db = flat.f3kdb(16, 44, 36, 36, 0, 0, input_mode=1, output_mode=1)
- dbl = db.Dither_limit_dif16(flat, thr=0.25, Y=3, U=3, V=3)
- prewittm = edge.DitherPost(mode=0).mt_edge("prewitt", 18, 255, 10, 255, Y=3, V=3, U=3)
- emask = mt_hysteresis(prewittm.RemoveGrain(4, 4), prewittm, U=3, V=3).RemoveGrain(22, 22).RemoveGrain(11, 11).RemoveGrain(20, 0)
- Dither_merge16_8(dbl, edge, emask, luma=false, Y=3, U=3, V=3)
- Down10(stack=false, dither=-2)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement