framerate Attribute (DirectShow)

[The feature associated with this page, DirectShow, is a legacy feature. It has been superseded by MediaPlayer, IMFMediaEngine, and Audio/Video Capture in Media Foundation. Those features have been optimized for Windows 10 and Windows 11. Microsoft strongly recommends that new code use MediaPlayer, IMFMediaEngine and Audio/Video Capture in Media Foundation instead of DirectShow, when possible. Microsoft suggests that existing code that uses the legacy APIs be rewritten to use the new APIs if possible.]

Note

[Deprecated. This API may be removed from future releases of Windows.]

 

The framerate attribute specifies a framerate, in frames per second.

Possible Values

Floating-point value. The value must include the leading zero before the decimal place. For example, 0.3, not .3. Do not use more than seven decimal digits.

Applies To

clip, group, timeline

Remarks

For the clip element, this attribute specifies the default frame rate of the source. Specify the attribute for still images andDIB sequences. For a still image, set the value to zero. For a DIB sequence, use a nonzero value. The default value is zero.

For the group element, this attribute specifies the output frame rate for the group.

For the timeline element, this attribute specifies the default frame rate for all groups.

See also

XTL Attributes

IAMTimelineSrc::SetDefaultFPS

IAMTimelineGroup::SetOutputFPS

IAMTimeline::SetDefaultFPS