I have a video which uses a green screen in it. I have 1000 images which I want to be put onto the green screen, and each exported as unique videos. So, 1 image per video. 1000 images = 1000 unique videos (all from the same base video).

Obviously, doing this by hand is impractical. Assuming the green screen is perfectly green so there is no manual work involved, what is the best software / method to achieve this?

  • Premiere doesn’t support automation, but you can “paste attributes” with any effect, including keyers. After effects supports scripting/ automation. So does davinci resolve/ fusion. Dec 8, 2019 at 22:16
  • 1
    This answer on Stack Exchange explains how to do it with FFMPEG stackoverflow.com/questions/8299252/…
    – user25890
    Dec 10, 2019 at 18:52

2 Answers 2


FFMPEG has colorkey and chromakey options, it does something likes

Overlay a greenscreen-video on top of a static background image

Using a shell script to loop through your thousand images on the ffmpeg command would be helpful.


If I understood correctly and you want to export each frame as a separate video, this would actually be quite easy. Simply key your footage using after effects or any compositing program and export the footage as an image sequence. If you want to change the codec or container of the files, you can use ffmpeg to convert each file (for example .png) into a video container (for example .mp4).

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge that you have read and understand our privacy policy and code of conduct.

Not the answer you're looking for? Browse other questions tagged or ask your own question.