The maximum frame rate that is supported by a video capture device, in frames per second.
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 | Windows Store apps]|
Minimum supported server
|Windows Server 2008 R2 [desktop apps | Windows Store apps]|
- How to Set the Video Capture Frame Rate
- Media Type Attributes
- Video Capture
Build date: 11/28/2012