This is the interface for the LEAD VP9 Encoder.
Indicates which encoding mode should be used.
typedef enum
{
VP9ControlMode_CBR_Driven = 0,
VP9ControlMode_Quality_Driven = ( VP9ControlMode_CBR_Driven + 1 )
} eVP9ControlMode;
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
{
LVP9Enc_ApiLevel_1 = 0, // current version
} eVP9EncApiLevel;
Type | Name | Description |
---|---|---|
eVP9ControlMode | ControlMode | Use this option to set or get the VP9 encoder control mode. The default value is VP9ControlMode_CBR_Driven. |
LONG | Bitrate | Sets the bitrate for the VP9 encoder in kilobits per second units. this value takes effect only when the Control Mode is set to VP9ControlMode_CBR_Driven. The default value is 700 kbits/second. |
LONG | Quality | Sets the quality level for the VP9 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 VP9ControlMode_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 LVP9Enc_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(LVP9Enc_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