Advertisement
junh1024

PMMM

Jun 15th, 2013
515
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. setmemorymax(800)
  2.  
  3.  
  4. ffvideosource("C:\Users\Jun-Hong\Videos\HD2\Mahou Shoujo Madoka Magica\JAPBDREMUX\[anti-raws]Mahou Shoujo Madoka Magika ep.09[BDRemux].mkv")
  5. src=assumefps(24000,1001)
  6. dss2("00007.mkv")
  7. dst=last.assumefps(24000,1001)
  8. # src=trim(0,framecount()-4)
  9.  
  10. w=1520
  11. h=856
  12.  
  13. # ep6
  14. OPstart_src=2830
  15. OPend_src  =4986
  16. EDstart_src=34429
  17. EDend_src  =36588
  18.  
  19.  
  20. # ep8 (10m2ts)
  21. OPstart_dst=2830
  22. OPend_dst  =4986
  23. EDstart_dst=34429
  24. EDend_dst  =36588
  25.  
  26. partA=dst.trim(0,OPstart_dst-1).Dither_convert_8_to_16().Dither_resize16(w,h,invks =true ,kernel="bicubic").DitherPost(mode=6)
  27. 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)
  28. partC=dst.trim(EDend_dst+1,99999).lanczosresize(w,h)
  29. 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)
  30.  
  31. # EDspl=src.trim(EDstart_src,EDend_src).bilinearresize(w,h)
  32. # EDtemp2=src.trim(EDstart_src,EDend_src).Dither_convert_8_to_16().Dither_resize16(w,h,invks =true ,kernel="bicubic").DitherPost(mode=6)
  33. # ED=mt_average(EDtemp2,repair(EDtemp2,EDspl))
  34. ED=src.trim(EDstart_src,EDend_src).lanczosresize(w,h)
  35.  
  36.  
  37. partA+OP+partB+ED+partC
  38.  
  39.  
  40. MT("""
  41. super = MSuper(pel=2, sharp=1)
  42. backward_vec2 = super.MAnalyse(isb = true, delta = 2, overlap=4)
  43. backward_vec1 = super.MAnalyse(isb = true, delta = 1, overlap=4)
  44. forward_vec1 = super.MAnalyse(isb = false, delta = 1, overlap=4)
  45. forward_vec2 = super.MAnalyse(isb = false, delta = 2, overlap=4)
  46. MDegrain2(super, backward_vec1,forward_vec1,backward_vec2,forward_vec2,thSAD=180)
  47. """,2,overlap=16)
  48.  
  49. limiter()
  50. mt_average(last,limiter(min_chroma=76,max_chroma=180),chroma="process")
  51.  
  52. # dst
  53.  
  54. # histogram(mode="levels")
  55.  
  56. # info()
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement