MF_MT_FRAME_RATE_RANGE_MIN attribute

The minimum frame rate that is supported by a video capture device, in frames per second.

Data type

UINT64

Get/set

To get this attribute, call MFGetAttributeRatio.

To set this attribute, call MFSetAttributeRatio.

Remarks

The frame rate is expressed as a ratio. The upper 32 bits of the attribute value contain the numerator, and the lower 32 bits contain the denominator. For example, if the frame rate is 30 frames per second (fps), the ratio is 30/1.

If the capture device reports a minimum frame rate, the media source sets this attribute on the media type. The maximum frame rate is given in the MF_MT_FRAME_RATE_RANGE_MAX attribute. The device is not guaranteed to support every increment within this range.

To set the device's frame rate, first modify the value of the MF_MT_FRAME_RATE attribute on the media type. Then set the media type on the media source.

The GUID constant for this attribute is exported from mfuuid.lib.

Requirements

Requirement Value
Minimum supported client
Windows 7 [desktop apps | UWP apps]
Minimum supported server
Windows Server 2008 R2 [desktop apps | UWP apps]
Header
Mfapi.h

See also

Alphabetical List of Media Foundation Attributes

How to Set the Video Capture Frame Rate

Media Type Attributes

Video Capture

MF_MT_FRAME_RATE_RANGE_MAX