[oclug] Making Movies.

Bryan Bulten bryan at bulten.ca
Sat Apr 17 13:33:28 EDT 2004


Hello,

> If anyone could point me to a reasonably painless way of turning
> a numbered series of jpegs into an mpeg, I'd appreciate it.

There was a presentation at the Open Source Weekend about Perl and
time-lapsed movies.  If I remember correctly, Stephen Jenkins used
ImageMagick's convert to do this:

  convert *.jpg video.mpg  (syntax may be off)

I tried some of the stuff that he did at the presentation, and found
that newer versions of ImageMagick didn't include the program needed for
mpeg conversion.  Instead, I used the following:

  jpeg2yuv -f 25 -I p -j image%04d.jpg | mpeg2enc -o video.mpg 

Where image%04d represents the image file name, numbered in sequence. 
The commands used are a part of the mjpeg tools package.


Cheers.

-- 
Bryan Bulten
http://www.bulten.ca/
http://wxnet.sourceforge.net/
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: not available
Url : http://tux.oclug.on.ca/pipermail/oclug/attachments/20040417/e26adc19/attachment.bin


More information about the OCLUG mailing list