ClintHeyer.Media
Class AviFile

Field Summary
ClintHeyer.Media.AviFile.AVIStreamHeader AudioStream
ClintHeyer.Media.AviFile.BITMAPINFOHEADER BitmapInfo
string filename
ClintHeyer.Media.AviFile.AVIHeader Header
ClintHeyer.Media.AviFile.AVIStreamHeader VideoStream
ClintHeyer.Media.AviFile.WAVEFORMAT WaveFormat

Constructor Summary
AviFile(string filename)

Property Summary
int AudioBitrate
         Gets the audio bitrate in kilobits per second (kbps)
string Codec
int ColourDepth
System.TimeSpan Duration
         Same as Length, but returns as a TimeSpan
int FrameRate
int Height
         Gets the pixel height of frame
float Length
         Gets the run-length of the file (in seconds)
double Quality
         Gets a percentage value for the quality of the file. Returns -1 if quality is not available
ClintHeyer.Media.SoundFormat Sound
         Gets the sound format for the first sound channel
int Width
         Gets the pixel width of frame

Method Summary
string GetSectionHeader(System.IO.Stream stream)
bool HandleExtra(System.IO.Stream stream, int size)
bool HandleNextSection(System.IO.Stream stream)
bool HandleSection(System.IO.Stream stream, string fccTag, int size)

Methods inherited from class ClintHeyer.Media.MediaFile
GetFile, IgnoreBytes

Methods inherited from class System.Object
Equals, Finalize, GetHashCode, GetType, MemberwiseClone, ToString


Field Detail

AudioStream

public ClintHeyer.Media.AviFile.AVIStreamHeader AudioStream


BitmapInfo

public ClintHeyer.Media.AviFile.BITMAPINFOHEADER BitmapInfo


filename

private string filename


Header

public ClintHeyer.Media.AviFile.AVIHeader Header


VideoStream

public ClintHeyer.Media.AviFile.AVIStreamHeader VideoStream


WaveFormat

public ClintHeyer.Media.AviFile.WAVEFORMAT WaveFormat

Constructor Detail

AviFile

public AviFile(string filename)

Property Detail

AudioBitrate

public int AudioBitrate

Gets the audio bitrate in kilobits per second (kbps)


Codec

public string Codec


ColourDepth

public int ColourDepth


Duration

public System.TimeSpan Duration

Same as Length, but returns as a TimeSpan


FrameRate

public int FrameRate


Height

public int Height

Gets the pixel height of frame


Length

public float Length

Gets the run-length of the file (in seconds)


Quality

public double Quality

Gets a percentage value for the quality of the file. Returns -1 if quality is not available


Sound

public ClintHeyer.Media.SoundFormat Sound

Gets the sound format for the first sound channel


Width

public int Width

Gets the pixel width of frame

Method Detail

GetSectionHeader

public string GetSectionHeader(System.IO.Stream stream)


HandleExtra

private bool HandleExtra(System.IO.Stream stream,
                         int size)


HandleNextSection

private bool HandleNextSection(System.IO.Stream stream)


HandleSection

private bool HandleSection(System.IO.Stream stream,
                           string fccTag,
                           int size)