Try this:
- Code: Select all
video = DirectShowSource("C:\Users\Dor\Desktop\פרקי דרגון בול\נקיים\[www.bafsubs.tk]Dragon_Ball_Kai_E1.mkv",fps=23.976,convertfps=true)
part1 = video.Trim(0,300)
part2 = video.Trim(301,404)
part3 = video.Trim(405,0)
image = Imagesource("C:\Users\Dor\Desktop\פרקי דרגון בול\נקיים\pic3.png", pixel_type="RGB32")
video = part1 ++ Overlay(part2, image, x=130, y=180, mask=image.ShowAlpha()) ++ part3
part4 = video.Trim(0,300)
part5 = video.Trim(301,404)
part6 = video.Trim(405,0)
image2 = Imagesource("C:\Users\Dor\Desktop\פרקי דרגון בול\נקיים\dbzkailogo1.png", pixel_type="RGB32")
Overlay(part5, image2, x=-130, y=-180, mask=image.ShowAlpha())
part4 ++ Overlay(part5, image2, x=-130, y=-180, mask=image.ShowAlpha()) ++ part6
You will just ajust the frame numbers in the trims to set which frame range you want the images on.
