Child pages
  • Animation Encoder, ffmpeg with x264

Versions Compared


  • This line was added.
  • This line was removed.
  • Formatting was changed.
Comment: Migrated to Confluence 5.3

Many LTR postprocessing tools generate a series of images (file-001.png, file-002.png, ... etc).  When viewed in sequence, these images form a movie or animation.  This page documents how to merge these images into a movie which may be played on a variety of players:

  • Windows Media Player
  • Quicktime
  • MPlayer
  • VLC
  • xanim

Our favorite movie encoder is ffmpeg with the H.264/x264 MPEG plugin/codec.  We have found that H.264 offers the best compromise between image quality and movie file size.



Assume you have images:

Code Block

and you wish to generate an animation (movie.mp4). Here's the command you would use:

Code Block
ffmpeg -f image2 -i "image%03d.tiff" -pix_fmt yuv420p movie.mp4