<html>
<body>
Steve,<br><br>
I use ffmpeg to do that :
<a href="http://ffmpeg.sourceforge.net/index.php" eudora="autourl">http://ffmpeg.sourceforge.net/index.php</a><br><br>
On Linux or Win32 (with cygwin) you should download <b>last CVS
version</b> (<pre>cvs -z9
-d:pserver:anonymous@mplayerhq.hu:/cvsroot/ffmpeg co ffmpeg),
</pre> do ./configure (options ?); make; make install and then
launch :ffmpeg -r 10 -i img%3d.jpg -f avi -vcodec msmpeg4v2 -qscale 5 -y
anim.avi<br>
to convert your img001.jpg, img002.jpg to AVI readable at least tested on
Win32.<br>
-r 10 = 10 images/s<br>
-qscale 5 = quality (1 = best, 31 = worse)<br>
the output video has good quality and computing time and memory is very
good !<br><br>
Regards,<br><br>
Julien<br><br>
<br>
At 20:52 02/12/2004, Steve Lehr wrote:<br>
<blockquote type=cite class=cite cite="">Group:<br><br>
Anyone making movies with Mapserv? I'd like to string a 1000 or so
images<br>
generated into an AVI, say display a jpeg every N seconds.<br><br>
I can easily make script in php to generate the images, i'm looking for
a<br>
"library" that allows me to string images together and make a
movie type<br>
format.<br><br>
Preferrably something free and standard - really hoping for
MPEG/AVI. For<br>
example the guys who talked at MUM2 about GOMOS might want to look
at<br>
changes in water over a month. A viewer to string images together
would be<br>
nice.<br><br>
Anyone using a tool with php or perl to do that?<br><br>
I'm thinking like something below - I'm not nec married to avi could be
some<br>
other video type; nor am I married to JPEG's below could be png,
gif<br>
something mapserver renderable<br><br>
#!/usr/bin/perl<br><br>
use AVI; # fictious and hopeful as are all avi calls
below<br><br>
avi_file = AVI::create("my_first_action_video.avi");<br>
open(FILE_PIPE, "ls -l width==1 *.jpg |");<br>
while(<FILE_PIPE>)<br>
{<br>
chomp();<br>
avi->add_image($_);<br>
avi->show_image_for(2); # set delay 2 seconds<br>
}<br>
close(FILE_PIPE);<br>
avi->close();<br><br>
<br><br>
Steven Lehr<br>
Assistant Professor<br>
Freshmen Program<br>
College of Engineering<br>
Embry-Riddle Aeronautical University (LB159)<br>
600 S. Clyde Morris Blvd.<br>
Daytona Beach, FL 32114-3900<br>
386-226-7740 </blockquote></body>
</html>