This class incapsulates meta-information about WfV codecs.
Namespace:
Aurigma.GraphicsMill.Codecs
Assembly:
Aurigma.GraphicsMill.Codecs.AviProcessor (in Aurigma.GraphicsMill.Codecs.AviProcessor.dll)
Public NotInheritable Class AviCompressor
public sealed class AviCompressor
Since plain sequense of bitmaps occupies too much space, it is usually video compression is used. Compression is implemented in separate DLLs (so-called VfW-codecs) and they are independant on the AVI Processor. Some codecs are installed on each system by default, another ones should be obtained from independent vendors. Each such codec is identified by the so-called FOURCC code (4-byte string value). If to interpret the FOURCC bytes sequence as an integer value rather than string, you will get so-called compressor handler.
This class enables you to enumerate VfW codecs installed in the system and get information about them.
To enumerate all codecs, use the InstalledVideoCompressors property. It will return an array of AviCompressor instances. After you get an instance of this class, you can read its properties, e.g. Description, DriverName (path to the file which contains the codec), Version, CompressorHandler, etc.
Also, if you know the compressor handler or its FOURCC code, you can get information about it using GetVideoCompressor(Int32) method.
For higher convenience this class includes constants which specify most wide spread compressor handlers, for example, DivXPro5, Indeo5, MSVideo1, etc.