Advertisement
trds

Untitled

Nov 28th, 2021
814
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Python 1.91 KB | None | 0 0
  1. LoadPlugin("D:\Encode\DG\DGDecodeNV.dll")
  2. DGSource("D:\encode\narnia3.dgi", show=true, show2="2,2,Source")
  3. ConditionalFilter(last, logo, "SceneType", "<", "1")
  4. ConditionalReader("D:\encode\scenes.txt", "SceneType")
  5.  
  6.  
  7. function logo (clip c) {
  8.  
  9. safe = c.Crop(6, 0, -6, 0)
  10. c.ConvertToYV24()
  11.  
  12. base1 = Crop(6, 0, 0, 0)
  13. left1 = Crop(0, 0, 1 - Width(), 0).Tweak(cont=2.4)
  14. left2 = Crop(1, 0, 2 - Width(), 0).Tweak(cont=0.95)
  15. left3 = Crop(2, 0, 3 - Width(), 0).Tweak(cont=1.15)
  16. left4 = Crop(3, 0, 4 - Width(), 0).Tweak(cont=1.01)
  17. left5 = Crop(4, 0, 5 - Width(), 0).Tweak(cont=1.05)
  18. left6 = Crop(5, 0, 6 - Width(), 0).Tweak(cont=1)
  19. StackHorizontal(left1, left2, left3, left4, left5, left6, base1)
  20.  
  21. base2 = Crop(0, 0, -6, 0)
  22. right1 = Crop(Width() - 1, 0, -0, 0).Tweak(cont=2.1)
  23. right2 = Crop(Width() - 2, 0, -1, 0).Tweak(cont=1.01)
  24. right3 = Crop(Width() - 3, 0, -2, 0).Tweak(cont=1.14)
  25. right4 = Crop(Width() - 4, 0, -3, 0)
  26. right5 = Crop(Width() - 5, 0, -4, 0).Tweak(cont=1.05)
  27. right6 = Crop(Width() - 6, 0, -5, 0)
  28. StackHorizontal(base2, right6, right5, right4, right3, right2, right1)
  29.  
  30. ConvertToYV12()
  31. Overlay(last, safe, x=6, y=0)
  32.  
  33. return last
  34. }
  35.  
  36. replaceframessimple(last, last.fixer(3,0,3,0)
  37. \ , mappings="[35274 35318]  [36633 36678] [43527 43569] [44571 44603] [44620 44641] [45387 45704] [45769 46016] [57743 57759] [87519 87873] [88557 88737] [88875 88915] [89577  89582] [89661 89793] [89908 89989] [90152 90173] [90276 90386] [90911 90966] [91027 91065] [100320 100543] [100778 100818] [100857 100919] [143058 143414] [144424 144498]")
  38.  
  39. replaceframessimple(last, last.fixer(5,0,5,0)
  40. \ , mappings="[36320 36423]")
  41.  
  42. replaceframessimple(last, last.fixer(3,3,3,3)
  43. \ , mappings="[35319 35324] [35341 35388] [59254 59326]  [77042 77067] [83949 85669]")
  44.  
  45. replaceframessimple(last, last.f3kdb(sample_mode=2, range=16, Y=90, dither_algo=3
  46. \ , dynamic_grain=false, grainY=40, grainC=40)
  47. \ , mappings="[629 845]")
  48.  
  49.  
  50.  
  51.  
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement