close the stream.</li></ol><p>
I'll cover these in turn.
</p><h3>1. Setting General Output Options.</h3><p>
The things you need to configure for the output are the
AVI compressor to use, bits per pixel of the frames, 
frame duration, filename to write to and AVI name:
</p><pre>
   ' Create an instance of the AVI Creator:
   Dim cAVI as New cAVICreator

   ' Bits/pixel in images:
   cAVI.BitsPerPixel = 24
   ' MPEG4 video handler has the FourCC identifier MPG4:
   cAVI.VideoHandlerFourCC = FourCCFromString("