Take the 2-minute tour ×
Ask Ubuntu is a question and answer site for Ubuntu users and developers. It's 100% free, no registration required.

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.

share|improve this question

1 Answer 1

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

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.