Advertisement
Guest User

Untitled

a guest
Jun 20th, 2017
54
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. # File opening
  2. SetMTMode(5, 6)
  3. SetMemoryMax(512)
  4. AVISource("D:\capture_SF5.avi", audio=true).ConvertToYV12(interlaced=true)
  5.  
  6. SetMTMode(2)  
  7. MT("""QTGMC(Preset="Placebo",\
  8.      NoiseRemove=1, BT=5, Sigma=1, NoiseBypass=0, NoiseRestore=0,\
  9.        Sharpness=0.0,\
  10.      EdiMode="NNEDI3", NNSize=3, NNeurons=4, EdiQual=2,\
  11.      Border=true, SubPel=4,\
  12.      tr0=2, tr1=2, tr2=1)\
  13.      .SelectEven()""", threads=1, overlap=16, splitvertical=false) # 60 fps      
  14.  
  15. dehalo_alpha(rx=2.0, ry=2.0, brightstr=0.4, darkstr=0.4)
  16.  
  17. # Resize
  18. Spline36Resize(640, 360)
  19.  
  20. # Gamma
  21. hdragc(coef_gain=0.35, max_gain=0.35, coef_sat=1.17, max_sat=1.17, avg_lum=-128, protect=2)
  22.  
  23. # Sharpen
  24. MT("""LSFmod(defaults="slow", strength=80, ss_x=2.0, ss_y=2.0)""", threads=6, overlap=16)
  25.  
  26. #SetMTMode(5)
  27. nnedi3_rpow2(rfactor=2, nsize=0, nns=4, qual=2, pscrn=false, cshift="Spline64Resize")
  28.  
  29. # Sharpen
  30. merge(mt_lutxy(binomialblur(1.0), yexpr="x x y - abs 1 x y - 10 / / atan * +", u=2, v=2), 0.35)
  31.  
  32. # "crops out bad luma/chroma values, and thus helps compression"
  33. Limiter()
  34.  
  35. # Audio interleaving
  36. DelayAudio(-0.55) # Delay sound
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement