Well that is certainly one way.

Sorry, I did not know you wanted to do a multiframe format such as 
mp4. mogrify ony processes each image one at a time, so this will not 
help.

You will need to go back to convert. You can either convert and 
append all the images to mp4 multiframe output if there are not too 
many images, e.g (I don't have ffmpeg installed so to demonstrate), 
just replace all the rose: images with your input and .gif with .mp4

convert rose: rose: rose: rose: rose: rose.gif
identify rose.gif
rose.gif[0] GIF 70x46 70x46+0+0 8-bit PseudoClass 256c 17.2kb
rose.gif[1] GIF 70x46 70x46+0+0 8-bit PseudoClass 256c 17.2kb
rose.gif[2] GIF 70x46 70x46+0+0 8-bit PseudoClass 256c 17.2kb
rose.gif[3] GIF 70x46 70x46+0+0 8-bit PseudoClass 256c 17.2kb
rose.gif[4] GIF 70x46 70x46+0+0 8-bit PseudoClass 256c 17.2kb


or write a script to loop through your images and append them one at 
a time, such as (without the formal loop)

convert rose: rose.gif
convert rose: rose.gif rose.gif
convert rose: rose.gif rose.gif
convert rose: rose.gif rose.gif
identify rose.gif
rose.gif[0] GIF 70x46 70x46+0+0 8-bit PseudoClass 256c 13.9kb
rose.gif[1] GIF 70x46 70x46+0+0 8-bit PseudoClass 256c 13.9kb
rose.gif[2] GIF 70x46 70x46+0+0 8-bit PseudoClass 256c 13.9kb
rose.gif[3] GIF 70x46 70x46+0+0 8-bit PseudoClass 256c 13.9kb

Anthony is more of an expert at animation than I am, so he may be 
able to give you better advice and more efficient ways of handling.

Fred



>When I tried this:
>
>mogrify -format mp4 *.JPG
>
>all the frames are converted individually to mp4 movies of 1 frame.
>
>Do I need to use ffmpeg or a similar software to put them all together
>or is there a way of concatenating all the frames to a movie in a single
>command?
_______________________________________________
Magick-users mailing list
[email protected]
http://studio.imagemagick.org/mailman/listinfo/magick-users

Reply via email to