AviHeader

AviHeader class

Represents the AVIMAINHEADER structure in an AVI video.

public sealed class AviHeader : CustomPackage

Constructors

Name Description
AviHeader() Initializes a new instance of the AviHeader class.

Properties

Name Description
AviHeaderFlags { get; } Gets a bitwise combination of zero or more of the AVI flags.
Count { get; } Gets the number of metadata properties.
Height { get; } Gets the height of the AVI file in pixels.
InitialFrames { get; } Gets the initial frame for interleaved files. Noninterleaved files should specify zero. 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 member.
Item { get; } Gets the MetadataProperty with the specified name.
Keys { get; } Gets a collection of the metadata property names.
MaxBytesPerSec { get; } Gets the 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.
MetadataType { get; } Gets the metadata type.
MicroSecPerFrame { get; } Gets the the number of microseconds between frames. This value indicates the overall timing for the file.
PaddingGranularity { get; } Gets the alignment for data, in bytes. Pad the data to multiples of this value.
PropertyDescriptors { get; } Gets a collection of descriptors that contain information about properties accessible through the GroupDocs.Metadata search engine.
Streams { get; } Gets the number of streams in the file. For example, a file with audio and video has two streams.
SuggestedBufferSize { get; } Gets the 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.
TotalFrames { get; } Gets the the total number of frames of data in the file.
Width { get; } Gets the width of the AVI file in pixels.

Methods

Name Description
virtual AddProperties(Func<MetadataProperty, bool>, PropertyValue) Adds known metadata properties satisfying the specified predicate. The operation is recursive so it affects all nested packages as well.
Contains(string) Determines whether the package contains a metadata property with the specified name.
virtual FindProperties(Func<MetadataProperty, bool>) Finds the metadata properties satisfying the specified predicate. The search is recursive so it affects all nested packages as well.
GetEnumerator() Returns an enumerator that iterates through the collection.
virtual RemoveProperties(Func<MetadataProperty, bool>) Removes metadata properties satisfying the specified predicate.
virtual Sanitize() Removes writable metadata properties from the package. The operation is recursive so it affects all nested packages as well.
virtual SetProperties(Func<MetadataProperty, bool>, PropertyValue) Sets known metadata properties satisfying the specified predicate. The operation is recursive so it affects all nested packages as well. This method is a combination of AddProperties and UpdateProperties. If an existing property satisfies the predicate its value is updated. If there is a known property missing in the package that satisfies the predicate it is added to the package.
virtual UpdateProperties(Func<MetadataProperty, bool>, PropertyValue) Updates known metadata properties satisfying the specified predicate. The operation is recursive so it affects all nested packages as well.

Remarks

Learn more

See Also