Advertisement
trds

Untitled

May 30th, 2022
3,266
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Python 1.28 KB | None | 0 0
  1. LoadPlugin("D:\Encode\DG\DGDecodeNV.dll")
  2. sourceClip=DGsource("D:\ENCODE\USA.dgi")  # <- edit usa.dgi location
  3. baseClip=DGsource("D:\ENCODE\FRA.dgi", show=true, show2="2,120,Source").AssumeFPS(24000,1001).trim(189,0)+BlankClip(-169, 1920, 1080, "YV12", 24000, 1001).KillAudio() # <- edit fra.dgi location
  4. ReplaceFramesSimple(baseClip, sourceClip, mappings="[1 1675] [13757 14521] [16775 16821] [141472 153070]")
  5.  
  6. crop(0,140,0,-140)
  7.  
  8. ConditionalFilter(last, dirty_lines, "SceneType", "<", "1")
  9. ConditionalReader("D:\Encode\scenes.txt", "SceneType") # <- edit scenes.txt location
  10.  
  11. function dirty_lines (clip c) {
  12.  
  13. safe = c.Crop(0, 4, 0, -4)
  14. c.ConvertToYV24()
  15.  
  16. base1 = Crop(0, 4, 0, 0)
  17. t1 = Crop(0, 0, 0, 1 - Height()).Tweak(cont=1.3)
  18. t2 = Crop(0, 1, 0, 2 - Height()).Tweak(cont=0.97)
  19. t3 = Crop(0, 2, 0, 3 - Height()).Tweak(cont=1.06)
  20. t4 = Crop(0, 3, 0, 4 - Height()).Tweak(cont=1.06)
  21. StackVertical(t1, t2, t3, t4, base1)
  22.  
  23. base2 = Crop(0, 0, 0, -4)
  24. b1 = Crop(0, Height() - 1, 0, 0).Tweak(cont=1.3)
  25. b2 = Crop(0, Height() - 2, 0, -1).Tweak(cont=0.97)
  26. b3 = Crop(0, Height() - 3, 0, -2).Tweak(cont=1.06)
  27. b4 = Crop(0, Height() - 4, 0, -3).Tweak(cont=1.06)
  28. StackVertical(base2, b4, b3, b2, b1)
  29. ConvertToYV12()
  30. Overlay(last, safe, x=0, y=4)
  31.  
  32. return last
  33. }
  34.  
  35. spline36resize(1280,534)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement