Following is a script I use to create an uncompressed .avi
from a directory of .png files. Same idea as David's except
that it uses transcode instead of mplayer. I find the latter
a bit easier to use for simple stuff.
Like David's idea, you will first `convert' the .gif files to .png
then apply the following, with the parameters changed to fit
your needs.
typeset src=/tmp/DirecoryOfPngImages
typeset aviName=/tmp/nameOfAviFile
typeset fileList=im_in_list
typeset frameSize=4096x2160 # dimensions of input
typeset clipWin=540,1024,540,1024 # you can clip and encode a window
# Just leave this out, below, for
# no clipping
typeset searchString='*.png'
cd $src && find . -type f -name $searchString | sort > $fileList &&\
transcode -x imlist,null\
--use_rgb\
-y raw,null\
-f 60\
-i $fileList\
-g $frameSize\
-j $clipWin\
-o $aviName\
-H 0
echo transcoding to $aviName complete
_______________________________________________
Magick-users mailing list
[email protected]
http://studio.imagemagick.org/mailman/listinfo/magick-users