This is the interface for the LEAD Video Frame Rate Controller Filter.
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 | FrameRate | Sets or gets the desired output frame rate, in frames per second. |
double | InputFrameRate | (Read only) The input (original) frame rate, in frames per second. |
VARIANT_BOOL | ChangeStreamLength | If set to VARIANT_TRUE, the filter will change the duration of the video stream by changing the frame rate as follows: Actual output rate = Selected rate * (Selected rate / Input rate).The video will play slower or faster according to the selected rate. If set to VARIANT_FALSE, the video plays at the normal speed and only the frame rate is changed. |
Resets the filter properties to their default values. Calling this method might cause the filter to reconnect its output pin.
The method will fail if the filter is in the running state.
Return | Description |
---|---|
S_OK | Success |
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