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 The portion of the file holding the video data. The video data might be compressed to save disk space. The data has to be decompressed using a video decompressor Also known as a decoder, this is a module or algorithm to decompress data. before you can play (see) it. 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.

 

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.