1

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 1

2

Not sure about .eps but you need 2 tools for this:

Installation

  1. imagemagick

    sudo apt-get install imagemagick
    
  2. mpeg2enc

    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
3
  • 1
    I get this error. convert: no encode delegate for this image format filename.avi @ error/constitute.c/WriteImage/1188.
    – user27323
    Feb 19, 2013 at 8:42
  • ha! you probably need ffmpeg. I already have this installed. (or the new AVCONV)
    – Rinzwind
    Feb 19, 2013 at 8:52
  • I have ffmpeg also installed.
    – user27323
    Feb 19, 2013 at 8:55

You must log in to answer this question.