IEncoderControl

Capture Manager SDK

IEncoderControl

IEncoderControl – it manages and creates video and audio encoders by the next methods:

HRESULT getCollectionOfEncoders( BSTR* aPtrPtrXMLstring) - get GUID collection of encoders in XML form (EncoderFactoryXMLDocument), where aPtrPtrXMLstring is a pointer on created string;
HRESULT getMediaTypeCollectionOfEncoder( IUnknown *aPtrUncompressedMediaType, REFCLSID aRefEncoderCLSID, BSTR* aPtrPtrXMLstring) - get collection of compressed media types for the selected encoder in XML form (EncoderMediaTypeXMLDocument), where aPtrUncompressedMediaType is a pointer on media type object, aRefEncoderCLSID is an encoder IID, aPtrPtrXMLstring is a pointer on created string;

HRESULT createEncoderNodeFactory( REFCLSID aRefEncoderCLSID, REFIID aREFIID, IUnknown** aPtrPtrEncoderNodeFactory) - create an encoder node factory, where aRefEncoderCLSID is an encoder IID, aREFIID is IID of encoder node factory interface (IEncoderNodeFactory), aPtrPtrEncoderNodeFactory is a pointer on created object.