Search code examples
ffmpegimage-scaling

Making images slide and resize as the video plays with ffmpeg


I want to create a video where I have multiple images on screen at once which are moving around or resizing as the video plays.

A vastly more advanced version would be like Facebooks https://www.facebook.com/lookback/

All I need, is to move a few images and change their scale, with set start and end times within the video.

I could obviously do this with a video editor but I'd like to just drop some images in a directory and then have a preset script which will then create the video for me.

I've a few months experience with FFMPEG so the directory part is easy, but I'm baffled on the moving bits.

Any suggestions? Many thanks.


Solution

  • For this you might consider the MLT framework which is essentially the open-source video editor which supports scripting.