Questions and postings pertaining to the usage of ImageMagick regardless of the interface. This includes the command-line utilities, as well as the C and C++ APIs. Usage questions are like "How do I use ImageMagick to create drop shadows?".
It spits out all 2000 files perfectly, but then it reports the following error:
convert.exe: subimage specification returns no images `video.mpeg' @ error/constitute.c/ReadImage/577.
Normally I wouldn't mind because I'm getting the desired frames extracted, but I need to share this process with my users and I don't want them confused. Is something wrong with my command? Any help is appreciated. Thanks!
EDIT: I should note that frames [0-1999] do not report an error.
Looking at that source code, which is complex, IM is trying and failing to clone all the images. It only does this when you have a scene geometry, eg [2000-3999]. Perhaps it is running out of memory. (Cloning shouldn't take much memory, but may take you over a threshold. Each image has a 13,000 bytes overhead so 2000 takes 26 MB.) How large are the video frames?
This isn't a fatal error. Does "-quiet" suppress the message?
You can redirect messages with "2> file.txt", then check the file for fatal error messages.
Thanks for investigating. Using -quiet does not hide the error. I don't think it's a memory issue though. I've simplified the problem, and you can see for yourself.