How to create a movie from a sequence of individual frames


Easy version

Use the mediaconvert program on an SGI to create a movie file from the individual frames.

  1. All the frames should be put into a single directory, and should have the same format of a base name plus numbers (i.e. 00002.stuff.tiff or something like that).
  2. Enter the directory name into the "Video to Convert" input field.
  3. Pick the Numbered Images radio button which should then appear.
  4. Enter the start and end frame numbers. The total will be automatically computed for you.
  5. Enter the file template. For the example above, the template would be "#.stuff.tiff".
  6. When you hit return after filling in the file template, a small Video Input Parameters dialog box should pop up. The defaults are fine, just hit Close. If you made a mistake, you'll either be thrown back to the radio button step above or the box just won't pop up and the right half of the panel will stay greyed out.
  7. The Output (right) half of the mediaconvert panel should now be active. Click on the Video Parameters arrow button to the panel that lets you control the type of movie, the image size, compression, amount to crop, and so on. Click Start when you're satisfied with the settings. The defaults are probably just what you need. Be warned that the conversion may take a few minutes per hundred frames. You'll see an estimated time to completion dialog as it's crunching. You should definitely have the output file be on a locally mounted disk to speed things up. Ideally the input files should be local as well.
  8. If you want to record your movie onto videotape:


More detail


Additional notes

The old way to do single-frame recording was to use the Abekas A60 framestore. That path is still available for use, but not recommended anymore since it's quite slow. The A60's special-purpose disk only holds 740 frames and takes 20 minutes to load them.

The mediaconvert executable is also aliased to movieconvert.

If you want to do the frames->movie conversion as part of a script, you could use the dmconvert program, which is what's actually being used behind the GUI frontend of mediaconvert. The command-line syntax is quite complex, there are examples in the extensive man page.
[At the moment moviola doesn't seem to have that man page, but radiance does. TMM Wed Jan 13 19:06:23 1999]


Troubleshooting

The mediaconvert program is very finicky about the file template. It will often take you more than one try to convince it to accept your files. Don't give up, eventually you will beat it into submission. My current conjecture is that filling in the file template after the start and end fields will make it behave. If even that doesn't work, you could try using one '#' for each decimal place and having files of the form {"0030.rgb, "0003.rgb", "0300.rgb"} instead of {"30.rgb", "3.rgb", "300.rgb"}. Then you'd enter "####.rgb" for the template.

Return to Main Video Menu
videolab@graphics.stanford.edu
Last modified: Wed Jan 13 19:14:27 PST 1999