Export (0) Print
Expand All
Expand Minimize

MF_TRANSCODE_QUALITYVSSPEED attribute

Specifies a number between 0 and 100 that indicates the tradeoff between encoding quality and encoding speed.

Data type

UINT32

The value of this property has the following range.

ValueMeaning
0

Lower quality, faster encoding.

100

Higher quality, slower encoding.

 

Get/set

To get this attribute, call IMFAttributes::GetUINT32.

To set this attribute, call IMFAttributes::SetUINT32.

Remarks

This attribute has the same GUID value as the AVEncCommonQualityVsSpeed property defined for ICodecAPI, and has the same interpretation.

The application can set this attribute on the transcode profile before building the transcode topology for Windows Media codecs. The value must be in the range from 0 to 100. For video stream, the transcode topology builder maps a value to the application-specified value and supplies the mapped value to the MFPKEY_COMPLEXITYEX property of the encoder. Lower values enable the encoder to use less complicated encoding algorithms. Using simpler algorithms produces lower-quality output, but the encoding process is faster and requires less processing power.

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

Requirements

Header

Mfidl.h

See also

Transcode API
IMFTranscodeProfile::SetVideoAttributes

 

 

Community Additions

ADD
Show:
© 2014 Microsoft