Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- ffmpegsource2("filtrado_lossless.mkv")
- #SMDegrain(tr=3,thsad=160,blksize=8,overlap=2)
- Spline36Resize(1280,688) # encode mais rápido
- source=last
- bright = source.dfttest(sigma = 3, tbsize=3)
- medium = source.dfttest(sigma = 1, tbsize=3)
- dark = source.dfttest(sigma = 0.5, tbsize=3)
- th_low = 20
- th_med = 50
- th_high = 100
- mmask = medium.levels(th_med, 1.0, th_high, 255, 0, false)
- dmask = medium.levels(th_low, 1.0, th_med, 255, 0, false)
- bright.mt_merge(medium, mmask, U=3, V=3, luma=true)
- \ .mt_merge(dark, dmask, U=3, V=3, luma=true)
- SelectRangeEvery(2000,100) # encode mais rápido
Advertisement
Add Comment
Please, Sign In to add comment