Trying to convert 200 jpg files to an mp4 w/ ImageMagick. Receiving the same error over and over again
11,873
Solution 1
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
Solution 2
sudo apt install ffmpeg
ImageMagick delegates video processing. I lost more than 5 hours to understand why such a bug NotIdentifiedByImageMagickError
Solution 3
From what I am reading the images you are running the command on have a .jpg extension.
Try
convert -delay 6 -quality 95 *.jpg movie.mp4
Author by
fmartin
Updated on June 05, 2022Comments
-
fmartin about 2 years
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?
-
fmartin almost 9 yearsSadly, I receive the error:
convert: delegate failed `"avconv" -v -1 -i "%M%%d.jpg" "%u.%m" 2> "%Z"' @ error/delegate.c/InvokeDelegate/1310.
-
Franck Dernoncourt almost 7 yearsglob is defined in the POSIX standard and it's not available on Windows by default.
-
Franck Dernoncourt almost 7 years
convert -delay 600 *.png movie.mp4
worked on my side (600 means 6 seconds) -
tommy.carstensen over 3 yearsWhat does
-pattern_type glob
and-c:v
do?