I've been trying to make a movie using a bunch of png files, however without any success. The following command

convert -delay 100 -loop 0 *.png animation.mpeg


convert.im6: delegate failed `"ffmpeg" -v -1 -mbd rd -trellis 2 
-cmp 2 -subcmp 2 -g 300 -i "%M%%d.jpg" "%u.%m" 2> "%Z"' @ 

The odd thing is that I am successfully be able to make a gif using the following command

convert -delay 100 -loop 0 *.png animation.gif

Does anybody know how to solve this problem?


1 Answer 1


See create slideshow from images. Their suggestion is to use "libx264" for better quality. The images need a sequence number (could that be your problem?)

ffmpeg -framerate 1/5 -i *%03d.png -c:v libx264 -r 30 -pix_fmt yuv420p out.mp4

(here %03 means a 3 digit numbering).

  • 2
    4 digits in your file name? and are they in sequence? If not you need to supply all the files (dont use wildcards)
    – Rinzwind
    Mar 14, 2016 at 10:53
  • can I use the same exact command to convert to avi format or do I have to add additional parameters?
    – Mona Jalal
    Oct 22, 2019 at 21:23
  • You can use this. Just add the output to it as your aci
    – Rinzwind
    Oct 23, 2019 at 5:30

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.