Is there a way to convert a sequence of images to a video from terminal? Specifically, the sequence of images are in .eps
format (filename_1.eps
,filename_2.eps
,...,filename_99.eps
,filename_100.eps
) and I want to convert them to .avi
format i.e. to filename.avi
.
1 Answer
Not sure about .eps
but you need 2 tools for this:
Installation
-
sudo apt-get install imagemagick
-
wget http://www.imagemagick.org/download/delegates/mpeg2vidcodec_v12.tar.gz tar xvzf mpeg2vidcodec_v12.tar.gz cd mpeg2 ./configure make
Copy then
tmpeg2enc
contents to /usr/bin:sudo mv mpeg2/src/mpeg2enc /usr/bin
Creating a move sequence from images
convert -delay 20 *.eps video.avi
Convert .eps
In case .eps is not supported you can convert them to another format with
convert image.eps image.png
-
1I get this error.
convert: no encode delegate for this image format filename.avi @ error/constitute.c/WriteImage/1188.
– user27323Feb 19, 2013 at 8:42 -
ha! you probably need
ffmpeg
. I already have this installed. (or the new AVCONV)– RinzwindFeb 19, 2013 at 8:52 -
I have ffmpeg also installed.– user27323Feb 19, 2013 at 8:55