0

Wanted: A Python library (supporting at least Python 3.5+) that can take a sequence of (non-animated) raster images (in some format that Pillow can generate) plus timing information and create a movie (not GIF!) file — MPEG, MP4, or whatever the kids are watching these days.

2

MoviePy can do what you need with the heavy lifting behind the scenes being done by FFMPEG, which it downloads and installs of first use. The documentation is also very helpful.

  • Support MP4 and any other FFMPEG supported output format as well as GIFs.
  • Inputs can be:
  • It is cross platform with even a pre-configured Docker container available.
  • Works with Python 2.7 and 3.3+

enter image description hereenter image description here

Of course it can do a lot more besides.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

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