Expand Minimize

MFPKEY_ASFMEDIASINK_AUTOADJUST_BITRATE property

Specifies whether the ASF media sink automatically adjusts the bit rate.

Data typePROPVARIANT type (vt)PROPVARIANT member
VARIANT_BOOLVT_BOOLboolVal

Remarks

If the value of this property is VARIANT_TRUE, the ASF media sink automatically adjusts the bit rate of the ASF content in response to the characteristics of the streams being multiplexed.

This property affects how the ASF media sink behaves when a stream overflows the sink's "leaky bucket" parameters:

ValueBehavior
VARIANT_TRUEThe ASF media sink automatically adjusts the bit rate of the ASF content in response to the characteristics of the streams being multiplexed.
VARIANT_FALSEThe ASF media sink uses the stream bit rate value provided by the application.

 

The default value is VARIANT_FALSE.

Set this property when you configure the ASF media sink. The usage depends on which function you call to create the ASF media sink:

Setting this property to VARIANT_TRUE causes the ASF media sink to set the MFASF_MULTIPLEXER_AUTOADJUST_BITRATE flag on the ASF multiplexer. See IMFASFMultiplexer::SetFlags.

For more information about the leaky bucket concept, see the topic "The Leaky Bucket Buffer Model" in the Windows Media Format SDK documentation.

Requirements

Minimum supported client

Windows Vista [desktop apps only]

Minimum supported server

Windows Server 2008 [desktop apps only]

Header

Mfidl.h

See also

Media Foundation Properties
MF_ASFSTREAMCONFIG_LEAKYBUCKET1
MF_ASFSTREAMCONFIG_LEAKYBUCKET2

 

 

Community Additions

ADD
Show:
© 2014 Microsoft