Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- FFVideoSource("Southpaw.mkv")
- Crop(0, 140, 0, -140)
- FillMargins(1, 1, 0, 1)
- Spline36Resize(1280,534,1,1,0,-1)
- safe=Crop(4, 2, -4, -2)
- ConvertToYV24()
- base1=Crop(0, 2, -0, -2)
- # Top
- Top1 = Crop(0, 0, 0, 1 - Height()).Tweak(cont=1.05)
- Top2 = Crop(0, 1, 0, 2 - Height()).Tweak(cont=0.98)
- # Bottom
- Bottom2 = Crop(0, Height() - 2, 0, -1).Tweak(cont=0.98)
- Bottom1 = Crop(0, Height() - 1, 0, -0).Tweak(cont=1.06)
- StackVertical(Top1, Top2, base1, Bottom2, Bottom1)
- base2=Crop(4, 0, -4, 0)
- # Left
- Left1 = Crop(0, 0, 1 - Width(), 0).Tweak(cont=1.17)
- Left2 = Crop(1, 0, 2 - Width(), 0).Tweak(cont=0.98)
- Left3 = Crop(2, 0, 3 - Width(), 0).Tweak(cont=1.02)
- Left4 = Crop(3, 0, 4 - Width(), 0).Tweak(cont=1.005)
- # Right
- Right4 = Crop(Width() - 4, 0, -3, 0).Tweak(cont=1.15)
- Right3 = Crop(Width() - 3, 0, -2, 0).Tweak(cont=1.05)
- Right2 = Crop(Width() - 2, 0, -1, 0).Tweak(cont=1.02)
- Right1 = Crop(Width() - 1, 0, -0, 0).Tweak(cont=1.004)
- StackHorizontal(left1, left2, left3, left4, base2, Right4, Right3, Right2, Right1)
- ConvertToYV12()
- Overlay(last, safe, x=4, y=2)
- BalanceBorders(0, 0, 2, 2)
- #Banding
- Banding=f3kdb(dither_algo=3, range=15, grainY=10, dynamic_grain=true)
- ConditionalFilter(last, Banding, "SceneType", "<", "1")
- ConditionalReader("Banding.txt", "SceneType")
- function FDeb(clip c) {
- a = c
- b = c.GradFun3(thr=0.45)
- th_low = 20
- th_high = 35
- dmask = b.levels(th_low,1.0,th_high,255,0,false)
- h=a.mt_merge(b,dmask,U=3,V=3,luma=true)
- repair(a, h, 15)
- return last
- }
- #Banding.Range.txt
- type int
- default 0
- R 47142 47276 1
- R 52589 52641 1
- R 53011 53077 1
- R 53178 53886 1
- R 66349 66495 1
- R 68482 68520 1
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement