Advertisement
FranceBB

[OPF-Italia] Kuiba BDMV

Feb 4th, 2017
209
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. AVCSource("video.dga", deblock=true)
  2.  
  3. Dither_convert_8_to_16()
  4.  
  5. input = last
  6.  
  7. ly = input.Dither_resize16(1280, 720, kernel="blackmanminlobe", taps=4, y=3, u=1, v=1, lsb_inout=true)
  8.  
  9. lu = input.utoy().dither_resize16(1280, 720, kernel="spline36", invks=true, invkstaps=3, src_left=0.25, u=1, v=1)
  10.  
  11. lv = input.vtoy().dither_resize16(1280, 720, kernel="spline36", invks=true, invkstaps=3, src_left=0.25, u=1, v=1)
  12.  
  13. ytouv(lu,lv,ly)
  14.  
  15. hqdn3d(ls=8.0, cs=8.0, lt=6.0, ct=4.5, restart=7)
  16.  
  17. BicubicSharp(r=2.0, edges=0.5, g=2.2, wg=5.0, bl=0.0, str=0.5, mode=1, bitdepth=16)
  18.  
  19. f3kdb(range=15, Y=45, Cb=30, Cr=30, grainY=0, grainC=0, sample_mode=2, blur_first=true, dynamic_grain=false,  opt=-1, mt=true, keep_tv_range=false, input_depth=16, output_depth=16)
  20.  
  21. ClampHDR(ay=16, by=235, au=16, bu=240, av=16, bv=240, bitdepth=16)
  22.  
  23. Dither_quantize(10, reducerange=true, mode=8)
  24. Dither_out()
  25.  
  26. output = last
  27. return output
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement