I managed to get a set of images loaded using Python.
I’d like my script to take this series of images (in whatever format I need them), and create a video from them. The big limit in all this is that I am looking for something easy and simple to install. Ideally, using the standard OS X installation procedure:
- download .dmg
- click
- move into the application folder
I do not want to expend a lot of effort to install the video editing program. Just something simple that works.
Questions
-
What format should I aim for? I need my video to be playable on Linux, Mac, and Windows systems. The images are graphs, so we are speaking of discreet images, not photographs. It should be pretty easy to compress it. There will be about 1000 images, so this will be a short movie.
-
What tools should I use to produce the actual video? I need to either do it directly from Python using a library designed for this purpose, or by scripting command-line tools called from Python.
If you’re not averse to using the command-line, there’s the
convertcommand from the ImageMagick package. It’s available for Mac, Linux, Windows. See http://www.imagemagick.org/script/index.php.It supports a huge number of image formats and you can output your movie as an mpeg file:
or as animated gifs for uploading to webpages:
More options for the
convertcommand available here: ImageMagick v6 Examples –Animation Basics