Advertisement
Guest User

Untitled

a guest
May 22nd, 2019
71
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Python 0.86 KB | None | 0 0
  1.     index = 0
  2.     lower = openshot.QtImageReader(listPhoto[index])
  3.     c1 = openshot.Clip(lower)
  4.     c1.Layer(2)
  5.     start = index * timeOfAPhoto
  6.     c1.Position(start)
  7.     c1.End(timeOfAPhoto)
  8.     # t.AddClip(c1)
  9.     listClip.append(c1)
  10.  
  11.     e = openshot.Mask(reader, brightness, contrast)
  12.     e.Layer(2)
  13.     e.Position(start)
  14.     e.End(6.0)
  15.     listEffect.append(e)
  16.     # t.AddEffect(e)
  17.     # print(e.Json())
  18.     index += 1
  19.  
  20.     lower1 = openshot.QtImageReader(listPhoto[index])
  21.     c1 = openshot.Clip(lower1)
  22.     c1.Layer(2)
  23.     start = index * timeOfAPhoto
  24.     c1.Position(start)
  25.     c1.End(timeOfAPhoto)
  26.     # t.AddClip(c1)
  27.     listClip.append(c1)
  28.  
  29.     e2 = openshot.Mask(reader, brightness, contrast)
  30.     e2.Layer(2)
  31.     e2.Position(start)
  32.     e2.End(6.0)
  33.     listEffect.append(e2)
  34.     # t.AddEffect(e)
  35.     # print(e.Json())
  36.     index += 1
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement