description | ms.assetid | title | ms.topic | ms.date |
---|---|---|---|---|
Specifies a list of bit rates and corresponding buffer windows for a variable bit rate (VBR) Advanced Systems Format (ASF) file. |
e45d055f-d404-47e9-b3c8-ac743b290138 |
MF_PD_ASF_METADATA_LEAKY_BUCKET_PAIRS attribute (Wmcontainer.h) |
reference |
05/31/2018 |
Specifies a list of bit rates and corresponding buffer windows for a variable bit rate (VBR) Advanced Systems Format (ASF) file.
Byte array
This attribute applies to presentation descriptors for ASF content.
The IMFASFContentInfo::GeneratePresentationDescriptor method generates this attribute that applies to the presentation descriptor for ASF content.
The value of the attribute has the following format:
struct {
WORD wReserved;
WM_LEAKY_BUCKET_PAIR bucket[2];
};
The WM_LEAKY_BUCKET_PAIR structure is defined as follows:
typedef struct _WMLeakyBucketPair {
DWORD dwBitrate;
DWORD msBufferWindow;
} WM_LEAKY_BUCKET_PAIR;
For each bit rate, the msBufferWindow member indicates how much content is buffered before playback begins, in milliseconds. The size of the buffer in bytes equals msBufferWinow x dwBitrate / 8000.
Note
This attribute corresponds to the ASFLeakyBucketPairs attribute in the Windows Media Format SDK.
Requirement | Value |
---|---|
Minimum supported client |
Windows Vista [desktop apps only] |
Minimum supported server |
Windows Server 2008 [desktop apps only] |
Header |
|