GIF to frames omits repeated frames
Posted: 2011-09-19T12:36:26-07:00
Hello. I am creating an image slideshow with version 6.7.2-6 for Windows. My questions are in bold. Thanks for reading.
I am starting with a bunch of JPGs and combining them into a large ( 20 meg GIF, 75 meg MIFF ) file using this at the command line:
This shows each image for 10 seconds before a morph transition to the next image. The result is nice, but I want to end up with a movie format like AVI. I learned elsewhere on this forum I should extract the frames to separate image files and use ffmpeg to do so. My problem is this next command creates about 60 PNG images, and my 10 second delays are reduced to the same number of frames as the -morph 4 transitions.
The 10 second delay on each photo is lost, but the transitions are intact. How can I make sure no frame will be lost when converting the MIFF to PNG? I thought -coalesce would do it, but this does not seem to be the case.
I am starting with a bunch of JPGs and combining them into a large ( 20 meg GIF, 75 meg MIFF ) file using this at the command line:
Code: Select all
convert.exe ( -delay 999 image001.jpg ) ( -delay 0 -morph 4 image001.jpg image002.jpg ) ( -delay 999 image002.jpg ) ( -delay 0 -morph 4 image002.jpg image003.jpg ) ( -delay 999 image003.jpg ) ( -delay 0 -morph 4 image003.jpg image004.jpg ) ( -delay 999 image004.jpg ) ( -delay 0 -morph 4 image004.jpg image005.jpg ) ( -delay 999 image005.jpg ) ( -delay 0 -morph 4 image005.jpg image006.jpg ) ( -delay 999 image006.jpg ) ( -delay 0 -morph 4 image006.jpg image007.jpg ) ( -delay 999 image007.jpg ) ( -delay 0 -morph 4 image007.jpg image008.jpg ) ( -delay 999 image008.jpg ) ( -delay 0 -morph 4 image008.jpg image009.jpg ) ( -delay 999 image009.jpg ) ( -delay 0 -morph 4 image009.jpg image010.jpg ) ( -delay 999 image010.jpg ) -coalesce -quality 100 result.miff
Code: Select all
convert.exe result.miff -resize 640x480 -quality 100 -coalesce result%%05d.png