JKP123

Animal House 1978 HDR

Jun 2nd, 2021 (edited)
69
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.71 KB | None | 0 0
  1. import awsmfunc as awf
  2. import vapoursynth as vs
  3. import Debandmask as db
  4. import vsutil
  5. core = vs.get_core()
  6.  
  7. path=r'D:\Sync\National.Lampoons.Animal.House.1978.UHD.BluRay.2160p.DTS-X.7.1.HEVC.REMUX-FraMeSToR.mkv'
  8. video=core.ffms2.Source(path)
  9. video = core.std.CropRel(video, left=0, top=40, right=0, bottom=40)
  10. nh=round(1920 / video.width / 2 * video.height) * 2
  11. video=core.resize.Spline36(video,1920,nh)
  12. video=vsutil.depth(video,16)
  13. mask=db.debandmask(video)
  14. deband=core.neo_f3kdb.Deband(video, y=48, cb=45, cr=45, range=20, grainy=10,grainc=5, output_depth=16, keep_tv_range=True)
  15. video=core.std.MaskedMerge(deband,video,mask)
  16. video=vsutil.depth(video,10,dither_type='error_diffusion')
  17. video.set_output()
  18.  
Add Comment
Please, Sign In to add comment