Windows apps
Collapse the table of content
Expand the table of content
The topic you requested is included in another documentation set. For convenience, it's displayed below. Choose Switch to see the topic in its original location.


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

Data type



To get this attribute, call MFGetAttributeRatio.

To set this attribute, call MFSetAttributeRatio.


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 maximum frame rate, the media source sets this attribute on the media type. The minimum frame rate is given in the MF_MT_FRAME_RATE_RANGE_MIN 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.


Minimum supported client

Windows 7 [desktop apps | UWP apps]

Minimum supported server

Windows Server 2008 R2 [desktop apps | UWP apps]



See also

Alphabetical List of Media Foundation Attributes
How to Set the Video Capture Frame Rate
Media Type Attributes
Video Capture



© 2018 Microsoft