1

I tried this:

black = BlankClip(length=10)
video = AVISource("@source1") 
overlay(video,black)

But now the whole video is black, not only the first 10 frames... What am I doing wrong?

ottsch
  • 431
  • 1
  • 6
  • 14

1 Answers1

3

The overlay does not automatically end, remember you can also overlay an image instead of a video for instance.

Give a frame for the end of the overlay and then continue the original video from there, like so:

overlay(video, black).trim(0, 10) + video.trim(11, framecount(video))   
Sertac Akyuz
  • 54,131
  • 4
  • 102
  • 169