JKP123

Caramel 2007

Mar 15th, 2021
84
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.05 KB | None | 0 0
  1. import vapoursynth as vs
  2. import rekt
  3. import awsmfunc as awf
  4. import fvsfunc as fvf
  5. import muvsfunc as muv
  6. import mvsfunc as mvf
  7. import kagefunc as kgf
  8. import adptvgrnMod
  9. import functools
  10. import vsutil
  11.  
  12. core = vs.get_core()
  13. video = core.lsmas.LWLibavSource(r'H:\Caramel.2007.1080p.BluRay.REMUX.AVC.DD.5.1-VaMPiRO.mkv')
  14. video1 = core.std.CropRel(video, left=0, top=20, right=0, bottom=22)
  15. video1 = awf.fb(video1,bottom=1 )
  16. bb = awf.bbmod(video1,left=6, top=6 ,right=6, bottom=8, thresh=90, blur=60)
  17. video2=fvf.AutoDeblock(bb.deblock.Deblock(quant=28, aoffset=0, boffset=0))
  18. video2 = vsutil.depth(video2, 16)
  19. mask = awf.bandmask(video2 , thr=250)
  20. deband = core.neo_f3kdb.Deband(video2, y=45, cb=45, cr=45, grainy=20, grainc=56, dynamic_grain=True, range=30, output_depth=16)
  21. deband = adptvgrnMod.adptvgrnMod(deband, strength=1, size=1.25, sharp=55, static=False, luma_scaling=25,grain_chroma=True, grainer=None, show_mask=False)
  22. src = core.std.MaskedMerge(video2, deband, mask)
  23. src = vsutil.depth(src, 8, dither_type='error_diffusion')
  24. src.set_output()
  25.  
  26.  
  27.  
Advertisement
Add Comment
Please, Sign In to add comment