Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- setmemorymax(800)
- ffvideosource("C:\Users\Jun-Hong\Videos\HD2\Mahou Shoujo Madoka Magica\JAPBDREMUX\[anti-raws]Mahou Shoujo Madoka Magika ep.09[BDRemux].mkv")
- src=assumefps(24000,1001)
- dss2("00007.mkv")
- dst=last.assumefps(24000,1001)
- # src=trim(0,framecount()-4)
- w=1520
- h=856
- # ep6
- OPstart_src=2830
- OPend_src =4986
- EDstart_src=34429
- EDend_src =36588
- # ep8 (10m2ts)
- OPstart_dst=2830
- OPend_dst =4986
- EDstart_dst=34429
- EDend_dst =36588
- partA=dst.trim(0,OPstart_dst-1).Dither_convert_8_to_16().Dither_resize16(w,h,invks =true ,kernel="bicubic").DitherPost(mode=6)
- partB=dst.trim(OPend_dst+1,EDstart_dst-1).Dither_convert_8_to_16().Dither_resize16(w,h,invks =true ,kernel="bicubic").DitherPost(mode=6)
- partC=dst.trim(EDend_dst+1,99999).lanczosresize(w,h)
- OP=src.trim(OPstart_src,OPend_src).Dither_convert_8_to_16().Dither_resize16(w,h,invks =true ,kernel="bicubic").DitherPost(mode=6).MT("""hqdering(supersampling=2)""",2,overlap=16)
- # EDspl=src.trim(EDstart_src,EDend_src).bilinearresize(w,h)
- # EDtemp2=src.trim(EDstart_src,EDend_src).Dither_convert_8_to_16().Dither_resize16(w,h,invks =true ,kernel="bicubic").DitherPost(mode=6)
- # ED=mt_average(EDtemp2,repair(EDtemp2,EDspl))
- ED=src.trim(EDstart_src,EDend_src).lanczosresize(w,h)
- partA+OP+partB+ED+partC
- MT("""
- super = MSuper(pel=2, sharp=1)
- backward_vec2 = super.MAnalyse(isb = true, delta = 2, overlap=4)
- backward_vec1 = super.MAnalyse(isb = true, delta = 1, overlap=4)
- forward_vec1 = super.MAnalyse(isb = false, delta = 1, overlap=4)
- forward_vec2 = super.MAnalyse(isb = false, delta = 2, overlap=4)
- MDegrain2(super, backward_vec1,forward_vec1,backward_vec2,forward_vec2,thSAD=180)
- """,2,overlap=16)
- limiter()
- mt_average(last,limiter(min_chroma=76,max_chroma=180),chroma="process")
- # dst
- # histogram(mode="levels")
- # info()
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement