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