This is the interface for the LEAD Video Dynamic Rate Control Filter.
Lists the valid values for the ApiLevel parameter that can be passed to the ResetToDefaultsEx method.
typedef enum LMVDynRate_APILEVEL
{
LMVDynRate_APILEVEL_1 = 0
} LMVDynRate_APILEVEL;
API Version 1 defaults. Enabled=TRUE, Rate=1.0
Type | Name | Description |
---|---|---|
VARIANT_BOOL | Enable | Set to VARIANT_TRUE to enable the filter. If set to VARIANT_FALSE, the filter will pass the video stream as is, without changing the frame rate. |
double | Rate | Sets or gets the dynamic playback rate, relative to input sample times. Eg. 1.0 = 1x (original input stream playback rate), .5 = 1/2x (half as fast as original input rate), 2.0 = 2x (twice as fast as original input rate) |
Gets the adjusted duration after the dynamic playback rate is being applied.
Pointer to a variable that will receive the duration.
Return | Description |
---|---|
S_OK | Successful. |
< 0 | An error occurred. |
Resets the filter properties to their default values based on the API Level version passed.
Specifies which defaults should be used by the filter. Current applications should set ApiLevel to LMVDynRate_APILEVEL_1 = 0.
The method will fail if the filter is in the running state.
Return | Description |
---|---|
S_OK | Successful. |
VFW_E_WRONG_STATE | The filter is in the wrong state. |
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