auromat.util.movie module

A little helper module to create movies out of images using ffmpeg.

auromat.util.movie.createMovie(moviePath, imagePaths, frameRate=25, crf=18, maxBitrate=2000, width=None, height=None, tempFolder=None)[source]
Parameters:
  • moviePath – path with .mp4 or .webm ending, will be overridden if existing
  • imagePaths – paths of images in correct order
  • frameRate – the frame rate of the movie
  • crf – -crf parameter of ffmpeg, lower is better
  • maxBitrate – maximum bitrate in kbit/s
  • height (width,) – width and height of movie in pixels; if not given, then image dimensions are used
  • tempFolder – the folder to store temporary data in (symlinks), will be removed afterwards