This is the interface for the LEAD AV1 Encoder.
Indicates which encoding mode should be used.
typedef enum
{
AV1ControlMode_CBR_Driven = 0,
AV1ControlMode_Quality_Driven = ( AV1ControlMode_CBR_Driven + 1 )
} eAV1ControlMode;
Encodes using constant bit rate (CBR) mode.
Encodes using variable bit rate (VBR) to match a specified quality level.
Lists the valid values for the ApiLevel parameter that can be passed to the ResetToDefaultsEx method.
typedef enum
{
LAV1Enc_ApiLevel_1 = 0, // current version
} eAV1EncApiLevel;
Type | Name | Description |
---|---|---|
eAV1ControlMode | ControlMode | Use this option to set or get the AV1 encoder control mode. The default value is AV1ControlMode_CBR_Driven. |
LONG | Bitrate | Sets the bitrate for the AV1 encoder in kilobits per second units. this value takes effect only when the Control Mode is set to AV1ControlMode_CBR_Driven. The default value is 700 kbits/second. |
LONG | Quality | Sets the quality level for the AV1 encoder ranged from 1 (minimum quality, smaller output size) to 100 (maximum quality, larger output size). this value takes effect only when the Control Mode is set to AV1ControlMode_Quality_Driven. The default value is 65. |
Resets the filter to default values.
Specifies which defaults should be used by the encoder. Current applications should set ApiLevel to LAV1Enc_ApiLevel_1 = 0.
The encoder might change in the future and have different properties or default behavior. Calling this method ensures future versions of the filter will behave the same way as when you developed your application.
It is best to call ResetToDefaultsEx(LAV1Enc_ApiLevel_1) before you start setting properties and start calling other methods for this interface.
Return | Description |
---|---|
S_OK | Success. |
E_INVALIDARG | The ApiLevel parameter is invalid. |
Help Collections
Raster .NET | C API | C++ Class Library | HTML5 JavaScript
Document .NET | C API | C++ Class Library | HTML5 JavaScript
Medical .NET | C API | C++ Class Library | HTML5 JavaScript
Medical Web Viewer .NET
Multimedia
Direct Show .NET | C API | Filters
Media Foundation .NET | C API | Transforms
Supported Platforms
.NET, Java, Android, and iOS/macOS Assemblies
Imaging, Medical, and Document
C API/C++ Class Libraries
Imaging, Medical, and Document
HTML5 JavaScript Libraries
Imaging, Medical, and Document