Advertisement
Guest User

Untitled

a guest
Sep 21st, 2019
119
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 2.08 KB | None | 0 0
  1. ffvideosource("A:\FILME\Spider-Man.Far.from.Home.2019.1080p.Remux.AVC.DTS-HD.MA.7.1-playBD\video.mkv")
  2. crop(0,138,0,-138)
  3.  
  4. ConditionalFilter(last, logo, "SceneType", ">", "1")
  5. ConditionalFilter(last, overlay1, "SceneType", "<", "2")
  6. ConditionalReader("A:\ENCODE\scenes2.txt", "SceneType")
  7.  
  8. function logo(clip c) {
  9.  
  10. safe = c.Crop(4, 4, -4, -4)
  11. c.ConvertToYV24()
  12.  
  13. base1 = Crop(0, 4, 0, 0)
  14.  
  15. t1 = Crop(0, 0, 0, 1 - Height()).Tweak(cont=1.97)
  16. t2 = Crop(0, 1, 0, 2 - Height()).Tweak(cont=0.93)
  17. t3 = Crop(0, 2, 0, 3 - Height()).Tweak(cont=0.99)
  18. t4 = Crop(0, 3, 0, 4 - Height())
  19. StackVertical(t1, t2, t3, t4, base1)
  20.  
  21. base2 = Crop(0, 0, 0, -4)
  22.  
  23. b1 = Crop(0, Height() - 1, 0, 0).Tweak(cont=1.88)
  24. b2 = Crop(0, Height() - 2, 0, -1)
  25. b3 = Crop(0, Height() - 3, 0, -2).Tweak(cont=1.04)
  26. b4 = Crop(0, Height() - 4, 0, -3)
  27. StackVertical(base2, b4, b3, b2, b1)
  28.  
  29. base3 = Crop(4, 0, 0, 0)
  30. l1 = Crop(0, 0, 1 - Width(), 0).Tweak(cont=0.965)
  31. l2 = Crop(1, 0, 2 - Width(), 0).Tweak(cont=1.04)
  32. l3 = Crop(2, 0, 3 - Width(), 0).Tweak(cont=0.991)
  33. l4 = Crop(3, 0, 4 - Width(), 0).Tweak(cont=1.015)
  34. StackHorizontal(l1, l2, l3, l4, base3)
  35.  
  36. base4 = Crop(0, 0, -4, 0)
  37. r1 = Crop(Width() - 1, 0, -0, 0).Tweak(cont=0.91)
  38. r2 = Crop(Width() - 2, 0, -1, 0)
  39. r3 = Crop(Width() - 3, 0, -2, 0).Tweak(cont=0.98)
  40. r4 = Crop(Width() - 4, 0, -3, 0)
  41. StackHorizontal(base4, r4, r3, r2, r1)
  42.  
  43. ConvertToYV12()
  44. Overlay(last, safe, x=4, y=4)
  45.  
  46. return last
  47. }
  48.  
  49.  
  50. function overlay1 (clip c) {
  51.  
  52. safe = c.Crop(0, 4, 0, -4)
  53. c.ConvertToYV24()
  54.  
  55. base5 = Crop(0, 4, 0, 0)
  56.  
  57. t1 = Crop(0, 0, 0, 1 - Height()).Tweak(cont=1.97)
  58. t2 = Crop(0, 1, 0, 2 - Height()).Tweak(cont=0.93)
  59. t3 = Crop(0, 2, 0, 3 - Height()).Tweak(cont=1.025)
  60. t4 = Crop(0, 3, 0, 4 - Height())
  61. StackVertical(t1, t2, t3, t4, base5)
  62.  
  63. base6 = Crop(0, 0, 0, -4)
  64.  
  65. b1 = Crop(0, Height() - 1, 0, 0).Tweak(cont=1.99)
  66. b2 = Crop(0, Height() - 2, 0, -1).Tweak(cont=0.93)
  67. b3 = Crop(0, Height() - 3, 0, -2).Tweak(cont=1.025)
  68. b4 = Crop(0, Height() - 4, 0, -3)
  69.  
  70. StackVertical(base6, b4, b3, b2, b1)
  71. ConvertToYV12()
  72. Overlay(last, safe, x=0, y=4)
  73.  
  74. return last
  75. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement