Image sequence to avi...

Image sequence to avi...

Post by smilestil » Thu, 19 May 2005 12:26:33


Basic idea, but is prooving more complicated. I have about 10,000 1000
by 1000 pixel jpgs that i want to convert into DVD video. I tried using
VideoMach, but it always hangs, and doesn't seem to be able to handle
that many images. Help, please.
 
 
 

Image sequence to avi...

Post by Laurence F » Tue, 24 May 2005 18:34:09


I've started making animations in the form of MPEG files,
and you may be able to adapt the method I use to your purposes.
L. Nobre G., the author of the FEATPOST and ANEEMATE packages,
figured out how to do this (' http://www.yqcomputer.com/ ').

This is a quote from the 'mplayer'
documentation
(' http://www.yqcomputer.com/ ',
specifically, ' http://www.yqcomputer.com/ '):

"It is important to clarify a common mistake. When people see a file
with a .AVI extension, they immediately conclude that it is not an
MPEG file. That is not true. At least not entirely. Contrary to
popular belief such a file can contain MPEG-1 video.

You see, a codec is not the same as a file format. Examples of
video
codecs are: MPEG-1, MPEG-2, MPEG-4 (DivX), Indeo5, 3ivx. Examples
of
file formats are: MPG, AVI, ASF."

I use a combination of ImageMagick (' http://www.yqcomputer.com/ ')
and netpbm (' http://www.yqcomputer.com/ ') to convert Encapsulated
PostScript (EPS) files generated by my software package, GNU 3DLDF,
to an MPEG file. I describe my method at
' http://www.yqcomputer.com/ #Birth'.

I'm pretty sure that it's possible to convert JPEG to PBM
using ImageMagick's 'convert' command. The 'netpbm' package may
also provide a command for this.
In order for 'ppmtompeg' to be able to convert the images
to MPEG, they must have one of two formats, namely 320 x 240 or
640 x 480 (width by height in pixels). Since your JPEG images are
1000 x 1000, you will have to modify them.
You can use ImageMagick's 'mogrify' command to either
1. crop them or 2. put a border around them to make them
1280 x 960 and scale them down to 640 x 480.

If you have any questions, please "cc" me or contact me directly.

Laurence Finston
http://www.yqcomputer.com/