Creates a new AVI file.

Codec examples:

'DIB ' : no compression

'cvid' : cinepak by Radius

'msvc' : Microsoft Video 1

'mp42' : Microsoft MPEG4 V2

More codecs at http://www.fourcc.org or http://msdn.microsoft.com/library/default.asp?url=/library/en-us/dnwmt/html/registeredfourcccodesandwaveformats.asp (or at msdn.microsoft.com searching for registered fourcc codes and wave formats).

You can save each frame to the created AVI file using SaveToAVI method.

Finally call CloseAVIFile to close the file.

Namespace: HiComponents.IEvolution
Assembly: IEvolution2 (in IEvolution2.dll) Version: 10.1.0.0

Syntax

         
 C#  Visual Basic  Visual C++ 
public IEImage..::..CreateAVIFileResult CreateAVIFile(
	string fileName,
	double rate,
	string codec
)
Public Function CreateAVIFile ( _
	fileName As String, _
	rate As Double, _
	codec As String _
) As IEImage..::..CreateAVIFileResult
public:
IEImage..::..CreateAVIFileResult CreateAVIFile(
	String^ fileName, 
	double rate, 
	String^ codec
)

Parameters

fileName
String
The file name to create
rate
Double
Specifies the number of frames per second.
codec
String
Specifies the compression codec to use (must be installed on system) as four characters length string

Return Value

Returns CreateAVIFileResult.OK on success.

See Also