Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- ffvideosource("A:\FILME\Spider-Man.Far.from.Home.2019.1080p.Remux.AVC.DTS-HD.MA.7.1-playBD\video.mkv")
- crop(0,138,0,-138)
- ConditionalFilter(last, logo, "SceneType", ">", "1")
- ConditionalFilter(last, overlay1, "SceneType", "<", "2")
- ConditionalReader("A:\ENCODE\scenes2.txt", "SceneType")
- function logo(clip c) {
- safe = c.Crop(4, 4, -4, -4)
- c.ConvertToYV24()
- base1 = Crop(0, 4, 0, 0)
- t1 = Crop(0, 0, 0, 1 - Height()).Tweak(cont=1.97)
- t2 = Crop(0, 1, 0, 2 - Height()).Tweak(cont=0.93)
- t3 = Crop(0, 2, 0, 3 - Height()).Tweak(cont=0.99)
- t4 = Crop(0, 3, 0, 4 - Height())
- StackVertical(t1, t2, t3, t4, base1)
- base2 = Crop(0, 0, 0, -4)
- b1 = Crop(0, Height() - 1, 0, 0).Tweak(cont=1.88)
- b2 = Crop(0, Height() - 2, 0, -1)
- b3 = Crop(0, Height() - 3, 0, -2).Tweak(cont=1.04)
- b4 = Crop(0, Height() - 4, 0, -3)
- StackVertical(base2, b4, b3, b2, b1)
- base3 = Crop(4, 0, 0, 0)
- l1 = Crop(0, 0, 1 - Width(), 0).Tweak(cont=0.965)
- l2 = Crop(1, 0, 2 - Width(), 0).Tweak(cont=1.04)
- l3 = Crop(2, 0, 3 - Width(), 0).Tweak(cont=0.991)
- l4 = Crop(3, 0, 4 - Width(), 0).Tweak(cont=1.015)
- StackHorizontal(l1, l2, l3, l4, base3)
- base4 = Crop(0, 0, -4, 0)
- r1 = Crop(Width() - 1, 0, -0, 0).Tweak(cont=0.91)
- r2 = Crop(Width() - 2, 0, -1, 0)
- r3 = Crop(Width() - 3, 0, -2, 0).Tweak(cont=0.98)
- r4 = Crop(Width() - 4, 0, -3, 0)
- StackHorizontal(base4, r4, r3, r2, r1)
- ConvertToYV12()
- Overlay(last, safe, x=4, y=4)
- return last
- }
- function overlay1 (clip c) {
- safe = c.Crop(0, 4, 0, -4)
- c.ConvertToYV24()
- base5 = Crop(0, 4, 0, 0)
- t1 = Crop(0, 0, 0, 1 - Height()).Tweak(cont=1.97)
- t2 = Crop(0, 1, 0, 2 - Height()).Tweak(cont=0.93)
- t3 = Crop(0, 2, 0, 3 - Height()).Tweak(cont=1.025)
- t4 = Crop(0, 3, 0, 4 - Height())
- StackVertical(t1, t2, t3, t4, base5)
- base6 = Crop(0, 0, 0, -4)
- b1 = Crop(0, Height() - 1, 0, 0).Tweak(cont=1.99)
- b2 = Crop(0, Height() - 2, 0, -1).Tweak(cont=0.93)
- b3 = Crop(0, Height() - 3, 0, -2).Tweak(cont=1.025)
- b4 = Crop(0, Height() - 4, 0, -3)
- StackVertical(base6, b4, b3, b2, b1)
- ConvertToYV12()
- Overlay(last, safe, x=0, y=4)
- return last
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement