Sign up ×
Super User is a question and answer site for computer enthusiasts and power users. It's 100% free, no registration required.

Is it possible to create a video file (playable in VLC) from a collection of pgm files. I would like to do this in Python.

share|improve this question
I assume you're referring to portable gray map files. Are you trying to make a slide show or is each image to be a frame in an animation? –  Kenneth Cochran Feb 3 '10 at 14:58

1 Answer 1

The easiest way I've found to combine images into a movie is to use ffmpeg. Here's a page on how to do that:

There's a pyffmpeg project, I don't know if it supports this kind of frame sticking-together, but here's the URL:

share|improve this answer

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.