Microsoft KB Archive/872902

= FIX: You cannot set a keyframe interval that is shorter than 1 second in the Windows Media Format 9 Series SDK =

Article ID: 872902

Article Last Modified on 7/20/2004

-

APPLIES TO


 * Windows Media Format 9 Series Software Development Kit

-





SYMPTOMS
When you use the Microsoft Windows Media Format 9 Series Software Development Kit (SDK), the smallest possible value to pass to the SetMaxKeyFrameSpacing method from the IWMVideoMediaProps interface is 1 second.



CAUSE
A rounding error prevents the SDK from setting this value for an interval that is shorter than 1 second.



RESOLUTION
A supported hotfix is now available from Microsoft, but it is only intended to correct the problem that is described in this article. Only apply it to systems that are experiencing this specific problem. This hotfix may receive additional testing. Therefore, if you are not severely affected by this problem, we recommend that you wait for the next release version of the Microsoft Windows Media Format 9 Series SDK that contains this hotfix.

The following file is available for download from the Microsoft Download Center:

Download the WindowsMedia9-KB872902-x86-ENU.exe package now.

For additional information about how to download Microsoft Support files, click the following article number to view the article in the Microsoft Knowledge Base:

119591 How to Obtain Microsoft Support Files from Online Services

Microsoft scanned this file for viruses. Microsoft used the most current virus-detection software that was available on the date that the file was posted. The file is stored on security-enhanced servers that help to prevent any unauthorized changes to the file.

The English version of this hotfix has the file attributes (or later) that are listed in the following table. The dates and times for these files are listed in coordinated universal time (UTC). When you view the file information, it is converted to local time. To find the difference between UTC and local time, use the Time Zone tab in the Date and Time tool in Control Panel.   Date         Time   Version     Size       File name ---  30-Jun-2004  07:48  9.0.0.3213  1,120,256  Wmsdmoe2.dll 30-Jun-2004 07:48  9.0.0.3213  1,001,984  Wmvdmoe2.dll



STATUS
Microsoft has confirmed that this is a bug in the Microsoft products that are listed in the &quot;Applies to&quot; section.



MORE INFORMATION
In the Windows Media Format 9 Series SDK, you can call the SetMaxKeyFrameSpacing method to set the interval programmatically. You can also modify the profile (PRX) in a text editor such as Notepad.

In the profile, modify the maxkeyframespacing attribute to permit a keyframe spacing interval that is shorter than 1 second. This value is a 100-nanosecond value. For example, a .5-second interval would be represented by a value of 5000000.

For additional information, click the following article number to view the article in the Microsoft Knowledge Base:

824684 Description of the standard terminology that is used to describe Microsoft software updates

Additional query words: WMFSDK keyframe interval

Keywords: kbfix KB872902

-

[mailto:TECHNET@MICROSOFT.COM Send feedback to Microsoft]

© Microsoft Corporation. All rights reserved.