Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- index = 0
- lower = openshot.QtImageReader(listPhoto[index])
- c1 = openshot.Clip(lower)
- c1.Layer(2)
- start = index * timeOfAPhoto
- c1.Position(start)
- c1.End(timeOfAPhoto)
- # t.AddClip(c1)
- listClip.append(c1)
- e = openshot.Mask(reader, brightness, contrast)
- e.Layer(2)
- e.Position(start)
- e.End(6.0)
- listEffect.append(e)
- # t.AddEffect(e)
- # print(e.Json())
- index += 1
- lower1 = openshot.QtImageReader(listPhoto[index])
- c1 = openshot.Clip(lower1)
- c1.Layer(2)
- start = index * timeOfAPhoto
- c1.Position(start)
- c1.End(timeOfAPhoto)
- # t.AddClip(c1)
- listClip.append(c1)
- e2 = openshot.Mask(reader, brightness, contrast)
- e2.Layer(2)
- e2.Position(start)
- e2.End(6.0)
- listEffect.append(e2)
- # t.AddEffect(e)
- # print(e.Json())
- index += 1
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement