Increasing Movie Quality
Movie quality can generally be increased by capturing the frames at a higher resolution (larger size), and then reducing them before creating the movie. A method for doing this automatically is defined below based on the pnmscale utility. The idea is to create a subdirectory called moviefilm, or remove any previously created files in it, and then to apply pnmscale to all the frame images with a reduction factor of 2. This anti-aliases the images and makes them appear smoother by eliminating jagged edges.
mkdir moviefilm
rm moviefilm/*.ppm
bash
for file inls \*.ppm; do pnmscale -reduce 2 $file > moviefilm/$file ; done
exit
Then make your movie from the reduced images in the moviefilm subdirectory.
The pnmscale utility can be obtained from the netpbm project at SourceForge.