softpcapps Software CODE HELP BLOG

Shareware and free Open Source Windows Software Applications and free Online Tools

How to make a zoom in video with ffmpeg

To make a zoom out video with ffmpeg, use the following code.

ffmpeg.exe -loop 1 -t effectDurationInSeconds  -r 25 -i firstImage -filter_complex
:s=imageWidthximageHeight[vo]" -map "[vo]" -y zoomout.mp4

effectDurationInSeconds : duration of the effect in seconds

imageWidth, imageHeight : image width and height.