[Cialug] ImageMagick and animations?

Tom Poe tompoe at fngi.net
Wed May 2 22:07:12 CDT 2007


Dave Weis wrote:
>
> I've got a bunch of jpg files that I want to turn into an avi or some 
> type of animation. I can't get the right sequence of switches to make 
> it work. Has anyone else ever done this?
>
> dave
>
Here's one command to try:
bring up terminal, and change directories to have the command work in 
the present directory containing the image files, a sound file 
(somefile.ogg) and it will output a file called new5.mpg.  The frames 
per second are set as 1 frame divided by the number of images.
mencoder mf://*.jpg -mf w=320:h=240:fps=1/7:type=jpg -audiofile 
somefile.ogg -oac lavc -ovc lavc -of mpeg -mpegopts format=vcd -vf 
scale=352:240,harddup -srate 44100 -af lavcresample=44100 -lavcopts 
vcodec=mpeg1video:keyint=18:vrc_buf_size=327:vrc_minrate=1152:vbitrate=1152:vrc_maxrate=1152:acodec=mp2:abitrate=224
-ofps 30000/1001 -o new5.mpg
Tom
-------------- next part --------------
A non-text attachment was scrubbed...
Name: tompoe.vcf
Type: text/x-vcard
Size: 340 bytes
Desc: not available
Url : http://cialug.org/pipermail/cialug/attachments/20070502/1bc3c972/tompoe.vcf


More information about the Cialug mailing list