<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>&nbsp;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?&nbsp; 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>
&quot;library&quot; 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.&nbsp; For<br>
example the guys who talked at MUM2 about GOMOS might want to look
at<br>
changes in water over a month.&nbsp; 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;&nbsp; # fictious and hopeful as are all avi calls
below<br><br>
avi_file = AVI::create(&quot;my_first_action_video.avi&quot;);<br>
open(FILE_PIPE, &quot;ls -l width==1 *.jpg |&quot;);<br>
while(&lt;FILE_PIPE&gt;)<br>
{<br>
&nbsp; chomp();<br>
&nbsp; avi-&gt;add_image($_);<br>
&nbsp; avi-&gt;show_image_for(2);&nbsp; # set delay 2 seconds<br>
}<br>
close(FILE_PIPE);<br>
avi-&gt;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>