up vote 0 down vote favorite
share [g+] share [fb]

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.

link|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
feedback

2 Answers

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: http://electron.mit.edu/~gsteele/ffmpeg/

There's a pyffmpeg project, I don't know if it supports this kind of frame sticking-together, but here's the URL: http://code.google.com/p/pyffmpeg/

link|improve this answer
feedback

HI use IrfanView.. it plays pgm file

link|improve this answer
feedback

Your Answer

 
or
required, but never shown