AVIGen - An AVI generator library for Euphoria 2.1+ (Windows version)
First release, 20020929
/Mic, 2002
stabmaster_@hotmail.com | http://www.cyd.liu.se/~micol972/site/


Files:
------
* avigen.dll		AVI generator functions. Requires VideoForWindows version something.something.
* avigen.ew		Wrapper for the DLL.
* demo.exw		Simple demo program.
* readme.txt		You're reading it..


Usage:
------
The library is very easy to use. These are the available operations:

procedure AVI_SetFileName(sequence filename)
	Set the name of the AVI file to create. Must end with .avi to work.

procedure AVI_SetFrameRate(integer rate)
	Set the desired frame rate.

procedure AVI_SetFrameFormat(integer width, integer height, integer bitsperpixel)
	Set the output format. You'd better use bitsperpixel=24, as I don't handle any other cases
	in my code.
	
function AVI_Begin()
	Initialize the AVI output engine. By this time you should have called at least AVI_SetFrameFormat.
	When you call this function, the standard codec-selection dialog will pop up. AVI_Begin returns
	non-zero on success. 
	
procedure AVI_End()
	Release the AVI output engine. 

function AVI_AddFrame(atom framePointer)
	Add another frame to the AVI stream. The framePointer is a pointer to an array of pixels, whose
	format should of course comply to the format you defined with AVI_SetFrameFormat.
	!!! Note that these frames are interpreted as Windows DIBs, i.e. they're assumed to be stored bottom-up !!!
	Returns non-zero on success.
	
AVI_SetFileName and AVI_SetFrameRate are optional, the other functions are required. The default filename and
framerate are "Untitled.avi" and 30, respectively. 







