Trying to convert 200 jpg files to an mp4 w/ ImageMagick. Receiving the same error over and over again

fmartin picture fmartin · Aug 3, 2015 · Viewed 10.1k times · Source

I'm trying to convert 200 .jpg files that were .ppm files into one .mp4 file.

In the same directory as the .jpg files, I ran this code:

convert -delay 6 -quality 95 test*ppm movie.mp4

and received this error message:

convert: no images defined `movie.mp4' @ error/convert.c/ConvertImageCommand/3210.

What caused this error?

Answer

fmartin picture fmartin · Aug 3, 2015

Nevermind, I just ended up using ffmpeg. This is the code that I used:

ffmpeg -framerate 1 -pattern_type glob -i '*.jpg' -c:v libx264 out.mp4