[Cialug] ImageMagick and animations?

Tom Poe tompoe at fngi.net
Thu May 3 11:59:42 CDT 2007


Dave Weis wrote:
>
> On Wed, 2 May 2007, Tom Poe wrote:
>> 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
>
> This segfaulted when I tried it, but I have 3000 files that are 
> 2500x1900 or so. I'm running imagemagick now to bump them down to 
> 640x480. 
> dave
>
You can change the w=320 to w=640 and change the h=240 to h=480 when you 
run it, and see what happens.  scale=352:240 can be changed to 
scale=640:480.  That's assuming you can use imagemagick to scale down to 
640x480.
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/20070503/32b31b37/tompoe.vcf


More information about the Cialug mailing list