AviFile Class Reference


Detailed Description

This class provides methods to create compressed AVI movie.

How to use it?

  • Invokes method selectCompressionOptions to show the compressor dialog.
  • Invokes method create to create an AVI file.
  • Invokes method addFrame to add image buffer.
  • Invokes method close to close AVI file.

#include <AviFile.h>

List of all members.

Public Member Functions

bool  create (const awString::IString &name, int w, int h, int fps, int nof, const awString::IString &codecDescription, unsigned long quality)
bool  addFrame (unsigned char *bmpBuffer)
void  close ()
bool  selectCompressionOption (unsigned long hwndParent, unsigned long defaultFcchandler, unsigned long defaultQuality, int width, int height)
const awString::IString &  getDescriptionByHandler (unsigned long fcchandler)
unsigned long  getHandlerByDescription (const awString::IString &codecDescription)
unsigned long  getCompressorHandler ()
unsigned long  getCompressorQuality ()

Member Function Documentation

bool create ( const awString::IString &  name,
int  w,
int  h,
int  fps,
int  nof,
const awString::IString &  codecDescription,
unsigned long  quality 
)
bool addFrame ( unsigned char *  bmpBuffer )
bool selectCompressionOption ( unsigned long  hwndParent,
unsigned long  defaultFcchandler,
unsigned long  defaultQuality,
int  width,
int  height 
)
const awString::IString& getDescriptionByHandler ( unsigned long  fcchandler )
unsigned long getHandlerByDescription ( const awString::IString &  codecDescription )
unsigned long getCompressorHandler ( )
unsigned long getCompressorQuality ( )

AviFile AviFile AviFile AviFile AviFile AviFile AviFile AviFile AviFile AviFile
AviFile AviFile AviFile AviFile AviFile AviFile AviFile AviFile AviFile AviFile