|
.NET Framework | |||||||||
PREV TYPE NEXT TYPE | FRAMES NO FRAMES | |||||||||
SUMMARY: INNER | FIELD | CONST | PROP | METHOD | OP | EVENT | DETAIL: FIELD | CONST | PROP | METHOD | OP | EVENT |
Contains global information for the entire AVI file. It is contained within an 'avih' chunk within the LIST 'hdrl' chunk at the beginning of an AVI RIFF file.
Field Summary | |
---|---|
int | Flags |
int |
Height
Height |
int |
InitialFrames
Used for interleaved files. If you are creating interleaved files, specify the number of frames in the file prior to the initial frame of the AVI sequence in this field. |
int |
Length
Starting time of the AVI file and the length of the file. The units are defined by dwRate and dwScale. The dwStart field is usually set to zero. |
int |
MaxBytesPerSec
Approximate maximum data rate of the file. This value indicates the number of bytes per second the system must handle to present an AVI sequence as specified by the other parameters contained in the main header and stream header chunks. |
int |
MicroSecPerFrame
Period between video frames. This value indicates the overall timing for the file. |
int |
Rate
General time scale that the file will use. In addition to this time scale, each stream can have its own time scale. The time scale in samples per second is determined by dividing dwRate by dwScale. |
int | Reserved1 |
int |
Scale
General time scale that the file will use. In addition to this time scale, each stream can have its own time scale. The time scale in samples per second is determined by dividing dwRate by dwScale. |
int |
Start
Starting time of the AVI file and the length of the file. The units are defined by dwRate and dwScale. The dwStart field is usually set to zero. |
int |
Streams
Number of streams in the file. For example, a file with audio and video has 2 streams. |
int |
SuggestedBufferSize
Suggested buffer size for reading the file. Generally, this size should be large enough to contain the largest chunk in the file. If set to zero, or if it is too small, the playback software will have to reallocate memory during playback which will reduce performance. For an interleaved file, the buffer size should be large enough to read an entire record and not just a chunk. |
int |
TotalDataFrames
Total number of frames of data in file. |
int |
Width
Width |
Constructor Summary | |
---|---|
AviFile.AVIHeader(System.IO.Stream stream) |
Method Summary | |
---|---|
string | ToString() |
Methods inherited from class System.ValueType |
---|
Equals, GetHashCode |
Methods inherited from class System.Object |
---|
Finalize, GetType, MemberwiseClone |
Field Detail |
---|
public int Flags
public int Height
Height
public int InitialFrames
Used for interleaved files. If you are creating interleaved files, specify the number of frames in the file prior to the initial frame of the AVI sequence in this field.
public int Length
Starting time of the AVI file and the length of the file. The units are defined by dwRate and dwScale. The dwStart field is usually set to zero.
public int MaxBytesPerSec
Approximate maximum data rate of the file. This value indicates the number of bytes per second the system must handle to present an AVI sequence as specified by the other parameters contained in the main header and stream header chunks.
public int MicroSecPerFrame
Period between video frames. This value indicates the overall timing for the file.
public int Rate
General time scale that the file will use. In addition to this time scale, each stream can have its own time scale. The time scale in samples per second is determined by dividing dwRate by dwScale.
public int Reserved1
public int Scale
General time scale that the file will use. In addition to this time scale, each stream can have its own time scale. The time scale in samples per second is determined by dividing dwRate by dwScale.
public int Start
Starting time of the AVI file and the length of the file. The units are defined by dwRate and dwScale. The dwStart field is usually set to zero.
public int Streams
Number of streams in the file. For example, a file with audio and video has 2 streams.
public int SuggestedBufferSize
Suggested buffer size for reading the file. Generally, this size should be large enough to contain the largest chunk in the file. If set to zero, or if it is too small, the playback software will have to reallocate memory during playback which will reduce performance. For an interleaved file, the buffer size should be large enough to read an entire record and not just a chunk.
public int TotalDataFrames
Total number of frames of data in file.
public int Width
Width
Constructor Detail |
---|
public AviFile.AVIHeader(System.IO.Stream stream)
Method Detail |
---|
public string ToString()
|
.NET Framework | |||||||||
PREV TYPE NEXT TYPE | FRAMES NO FRAMES | |||||||||
SUMMARY: INNER | FIELD | CONST | PROP | METHOD | OP | EVENT | DETAIL: FIELD | CONST | PROP | METHOD | OP | EVENT |