turning jpg sequence into mp4
Posted: 2010-02-25T11:39:27-07:00
I am taking jpg files that I created and trying to take 1...n of them and turn them into an mp4.
I got pretty far with:
convert -delay 1x2 -limit memory 512mb -limit map 64mb *.jpg movie.mp4
But, I get:
convert: missing an image filename `movie.avi' @ error/convert.c/ConvertImageCommand/2919
I also get:
convert: maximum channels exceeded `1.jpg' @ error/psd.c/ReadPSDImage/866.
convert: maximum channels exceeded `10.jpg' @ error/psd.c/ReadPSDImage/866.
convert: maximum channels exceeded `11.jpg' @ error/psd.c/ReadPSDImage/866.
convert: maximum channels exceeded `12.jpg' @ error/psd.c/ReadPSDImage/866.
convert: maximum channels exceeded `13.jpg' @ error/psd.c/ReadPSDImage/866.
convert: maximum channels exceeded `14.jpg' @ error/psd.c/ReadPSDImage/866.
convert: maximum channels exceeded `15.jpg' @ error/psd.c/ReadPSDImage/866.
convert: maximum channels exceeded `17.jpg' @ error/psd.c/ReadPSDImage/866.
convert: maximum channels exceeded `18.jpg' @ error/psd.c/ReadPSDImage/866.
convert: maximum channels exceeded `19.jpg' @ error/psd.c/ReadPSDImage/866.
convert: maximum channels exceeded `2.jpg' @ error/psd.c/ReadPSDImage/866.
convert: maximum channels exceeded `20.jpg' @ error/psd.c/ReadPSDImage/866.
convert: maximum channels exceeded `21.jpg' @ error/psd.c/ReadPSDImage/866.
convert: maximum channels exceeded `3.jpg' @ error/psd.c/ReadPSDImage/866.
convert: maximum channels exceeded `4.jpg' @ error/psd.c/ReadPSDImage/866.
convert: maximum channels exceeded `5.jpg' @ error/psd.c/ReadPSDImage/866.
convert: maximum channels exceeded `6.jpg' @ error/psd.c/ReadPSDImage/866.
convert: maximum channels exceeded `7.jpg' @ error/psd.c/ReadPSDImage/866.
convert: maximum channels exceeded `8.jpg' @ error/psd.c/ReadPSDImage/866.
convert: maximum channels exceeded `9.jpg' @ error/psd.c/ReadPSDImage/866.
When I run this command. So, I have a few specific questions:
1. All the examples suggest that all the *.jpg will be 1/2 second a part, and the output would be
in a movie.mp4 file. I've tried this with movie.mp4, movie.avi, and movie.mpeg. All give the same
convert: missing an image filename.
2. I did look on the forum to figure out what the deal is. I tried -write with a filename, and that
didn't produce an output file, so I went back to the suggested usage. I did see some postings that
suggested that if I built from source that I might not have the right flags for building the tools, so
maybe I need to recompile with MP4/AVI video support?
3. Assuming I could get this to produce an MP4, I would like to understand what this maximum channels exceeded
means, and also understand how I can tell convert to iterate over the images from 1..n vs. 1, 10, 11, .. 2, 20, 21.
etc.
I recognize that these are some pretty basic questions, but I would be very pleased if someone could point me
in the right direction. My animation future depends on it:)
I got pretty far with:
convert -delay 1x2 -limit memory 512mb -limit map 64mb *.jpg movie.mp4
But, I get:
convert: missing an image filename `movie.avi' @ error/convert.c/ConvertImageCommand/2919
I also get:
convert: maximum channels exceeded `1.jpg' @ error/psd.c/ReadPSDImage/866.
convert: maximum channels exceeded `10.jpg' @ error/psd.c/ReadPSDImage/866.
convert: maximum channels exceeded `11.jpg' @ error/psd.c/ReadPSDImage/866.
convert: maximum channels exceeded `12.jpg' @ error/psd.c/ReadPSDImage/866.
convert: maximum channels exceeded `13.jpg' @ error/psd.c/ReadPSDImage/866.
convert: maximum channels exceeded `14.jpg' @ error/psd.c/ReadPSDImage/866.
convert: maximum channels exceeded `15.jpg' @ error/psd.c/ReadPSDImage/866.
convert: maximum channels exceeded `17.jpg' @ error/psd.c/ReadPSDImage/866.
convert: maximum channels exceeded `18.jpg' @ error/psd.c/ReadPSDImage/866.
convert: maximum channels exceeded `19.jpg' @ error/psd.c/ReadPSDImage/866.
convert: maximum channels exceeded `2.jpg' @ error/psd.c/ReadPSDImage/866.
convert: maximum channels exceeded `20.jpg' @ error/psd.c/ReadPSDImage/866.
convert: maximum channels exceeded `21.jpg' @ error/psd.c/ReadPSDImage/866.
convert: maximum channels exceeded `3.jpg' @ error/psd.c/ReadPSDImage/866.
convert: maximum channels exceeded `4.jpg' @ error/psd.c/ReadPSDImage/866.
convert: maximum channels exceeded `5.jpg' @ error/psd.c/ReadPSDImage/866.
convert: maximum channels exceeded `6.jpg' @ error/psd.c/ReadPSDImage/866.
convert: maximum channels exceeded `7.jpg' @ error/psd.c/ReadPSDImage/866.
convert: maximum channels exceeded `8.jpg' @ error/psd.c/ReadPSDImage/866.
convert: maximum channels exceeded `9.jpg' @ error/psd.c/ReadPSDImage/866.
When I run this command. So, I have a few specific questions:
1. All the examples suggest that all the *.jpg will be 1/2 second a part, and the output would be
in a movie.mp4 file. I've tried this with movie.mp4, movie.avi, and movie.mpeg. All give the same
convert: missing an image filename.
2. I did look on the forum to figure out what the deal is. I tried -write with a filename, and that
didn't produce an output file, so I went back to the suggested usage. I did see some postings that
suggested that if I built from source that I might not have the right flags for building the tools, so
maybe I need to recompile with MP4/AVI video support?
3. Assuming I could get this to produce an MP4, I would like to understand what this maximum channels exceeded
means, and also understand how I can tell convert to iterate over the images from 1..n vs. 1, 10, 11, .. 2, 20, 21.
etc.
I recognize that these are some pretty basic questions, but I would be very pleased if someone could point me
in the right direction. My animation future depends on it:)