Skip to content
This repository was archived by the owner on Jun 23, 2025. It is now read-only.

AviWriter API

Ernest Mallett edited this page Jul 20, 2017 · 1 revision

Constructor

constructor AviWriter()

Example:

AviWriter = avw = new AviWriter(); 

Methods

Bitmap Open(string fileName, UInt32 frameRate, int width, int height)

  • Opens video for writing
  • string fileName - Filename of video to be created
  • UInt32 frameRate - Framerate of video to be created
  • int width - Width of video to be created
  • int height - Height of video to be created Example:
AviWriter avw = new AviWriter();
avw.Open("New video",30,240,180); 

void AddFrame()

  • Writes frame to video Example:
AviWriter avw = new AviWriter();
avw.AddFrame();

void Close()

  • Closes and finishes writing video Example:
AviWriter avw = new AviWriter();
avw.AddFrame();
avw.Close();

AviException

string ErrMsg()

  • Returns an error message upon an AviException
Clone this wiki locally