ILMVFrameRateCtrl Interface

This is the interface for the LEAD Video Frame Rate Controller Filter.

Interface Properties:

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.

Interface Methods:

HRESULT ResetToDefaults()

Description

Resets the filter properties to their default values. Calling this method might cause the filter to reconnect its output pin.

Comments

The method will fail if the filter is in the running state.

Returns

S_OK 

Success

VFW_E_WRONG_STATE

The filter is in the wrong state.

Help Version 21.0.2021.7.2
Products | Support | Contact Us | Intellectual Property Notices
© 1991-2021 LEAD Technologies, Inc. All Rights Reserved.

LEADTOOLS Filters C API Help

Products | Support | Contact Us | Intellectual Property Notices
© 1991-2021 LEAD Technologies, Inc. All Rights Reserved.