MF_MT_FRAME_RATE attribute

Frame rate of a video media type, in frames per second.

Data type

UINT64

Syntax

GUID MF_MT_FRAME_RATE = {0xc459a2e8,0x3d2c,0x4e44,{0xb1,0x32,0xfe,0xe5,0x15,0x6c,0x7b,0xb0} }  

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 frame rate is 29.97 fps, the ratio is 30,000/1001.

To set the value, use the MFSetAttributeRatio function. To get the value, use the MFGetAttributeRatio function.

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

Requirements

Header: Declared in mfapi.h.