A bash function to make movies

I use ffmpeg often to make and modify movies. But when creating movies from image sequences, ffmpeg requires the movies to be sequentially numbered. Some time ago, I wrote a bash function that create temporary symbolic links to the image files from which ffmpeg can create a movie. You can find the function below, and an example call is

that produces a movie output.mp4 at 15 frames/sec from the files included in the wildcard.


One thought on “A bash function to make movies”

Leave a Reply

Your email address will not be published. Required fields are marked *

Time limit is exhausted. Please reload CAPTCHA.