A question that has come up more than once as a QUICK request is how to turn a series of FITS files
into a movie. Antony Holloway has written a script to automatically convert a series of FITS images
into an MPEG movie. The script makes use of the Starlink CONVERT and the Berkely mpeg_encode
packages.
The script, along with copies of the mpeg_encode source and documentation is available via
anonymous FTP:
fitstompeg scriptmpeg_encode documentationmpeg_encode for Linuxmpeg_encode for Digital UNIXmpeg_encode for SunOS/SolarisThe mpeg_encode program should be installed and accessible somewhere in your $PATH, the
fitstompeg script and default.param.head file should be copied into the directory containing the
FITS file you want to convert into a movie. By default the script will take all the files in the current
directory whose filename ends in “.FITS” and convert them into PGM images using the Starlink
CONVERT program. At this stage if you have the pbmplus package installed (which should be the case
for most Starlink sites) you can then modify the output PGM files before they are used to
produce the final animation. Two examples of such tinkering are shown in the script (shown
below).