Codec and DSP IPropertyBag Constants
There are two methods of setting properties on the codec and DSP objects programmatically, using either the IPropertyBag interface or the IPropertyStore interface. Most common properties are available through both interfaces. Use of the IPropertyStore interface is preferred over the IPropertyBag.
The Programming Reference provides a description of each IPropertyStore property and for each one lists the corresponding IPropertyBag property string. For your convenience the following table maps IPropertyBag property string constants to the appropriate IPropertyStore property reference page.
IPropertyBag string constant | IPropertyStore property key |
g_wszAvgFrameRate | MFPKEY_ASFOVERHEADPERFRAME |
g_wszWMACAvgBytesPerSecond | MFPKEY_WMAENC_AVGBYTESPERSEC |
g_wszWMACDRCSetting | MFPKEY_WMADEC_DRCMODE |
g_wszWMACHiResOutput | MFPKEY_WMADEC_HIRESOUTPUT |
g_wszWMACMusicSpeechClassMode | MFPKEY_WMAVOICE_ENC_MusicSpeechClassMode |
g_wszWMACOriginalWaveFormat | MFPKEY_WMAENC_ORIGWAVEFORMAT |
g_wszWMACSpeakerConfig | MFPKEY_WMADEC_SPKRCFG |
g_wszWMACVoiceBuffer | MFPKEY_WMAVOICE_ENC_BufferWindow |
g_wszWMACVoiceBuffer | MFPKEY_WMAVOICE_ENC_EDL |
g_wszWMADRCAverageReference | MFPKEY_WMADRC_AVGREF |
g_wszWMADRCAverageTarget | MFPKEY_WMADRC_AVGTARGET |
g_wszWMADRCPeakReference | MFPKEY_WMADRC_PEAKREF |
g_wszWMADRCPeakTarget | MFPKEY_WMADRC_PEAKTARGET |
g_wszWMCPAudioVBRQuality | MFPKEY_VBRQUALITY |
g_wszWMCPAudioVBRSupported | MFPKEY_VBRENABLED |
g_wszWMCPMaxPasses | MFPKEY_PASSESRECOMMENDED |
g_wszWMVCAvgBitrate | MFPKEY_RAVG |
g_wszWMVCBAvg | MFPKEY_BAVG |
g_wszWMVCBDeltaQP | MFPKEY_BDELTAQP |
g_wszWMVCBMax | MFPKEY_BMAX |
g_wszWMVCBufferFullnessInFirstByte | MFPKEY_BUFFERFULLNESSINFIRSTBYTE |
g_wszWMVCCodedFrames | MFPKEY_CODEDFRAMES |
g_wszWMVCComplexityEx | MFPKEY_COMPLEXITYEX |
g_wszWMVCComplexityMode | MFPKEY_COMPLEXITY |
g_wszWMVCCompressionOptimizationType | MFPKEY_COMPRESSIONOPTIMIZATIONTYPE |
g_wszWMVCCrisp | MFPKEY_CRISP |
g_wszWMVCDecoderComplexityProfile | MFPKEY_DECODERCOMPLEXITYPROFILE |
g_wszWMVCDecoderComplexityRequested | MFPKEY_DECODERCOMPLEXITYREQUESTED |
g_wszWMVCDecoderDeinterlacing | MFPKEY_DECODER_DEINTERLACING |
g_wszWMVCDenoiseOption | MFPKEY_DENOISEOPTION |
g_wszWMVCEndOfPass | MFPKEY_ENDOFPASS |
g_wszWMVCForceFrameHeight | MFPKEY_FORCEFRAMEHEIGHT |
g_wszWMVCForceFrameWidth | MFPKEY_FORCEFRAMEWIDTH |
g_wszWMVCForceMedianSetting | MFPKEY_FORCEMEDIANSETTING |
g_wszWMVCFOURCC | MFPKEY_FOURCC |
g_wszWMVCInterlacedCodingEnabled | MFPKEY_INTERLACEDCODINGENABLED |
g_wszWMVCLookAhead | MFPKEY_LOOKAHEAD |
g_wszWMVCLoopFilter | MFPKEY_LOOPFILTER |
g_wszWMVCMacroblockModeCostMethod | MFPKEY_MACROBLOCKMODECOSTMETHOD |
g_wszWMVCMaxBitrate | MFPKEY_RMAX |
g_wszWMVCMotionMatchMethod | MFPKEY_MOTIONMATCHMETHOD |
g_wszWMVCMotionSearchLevel | MFPKEY_MOTIONSEARCHLEVEL |
g_wszWMVCMotionSearchRange | MFPKEY_MOTIONSEARCHRANGE |
g_wszWMVCNoiseEdgeRemoval | MFPKEY_NOISEEDGEREMOVAL |
g_wszWMVCNumThreads | MFPKEY_NUMTHREADS |
g_wszWMVCPassesRecommended | MFPKEY_PASSESRECOMMENDED |
g_wszWMVCPassesUsed | MFPKEY_PASSESUSED |
g_wszWMVCPerceptualOptLevel | MFPKEY_PERCEPTUALOPTLEVEL |
g_wszWMVCProduceDummyFrames | MFPKEY_PRODUCEDUMMYFRAMES |
g_wszWMVCRangeRedux | MFPKEY_RANGEREDUX |
g_wszWMVCTotalFrames | MFPKEY_TOTALFRAMES |
g_wszWMVCVBREnabled | MFPKEY_VBRENABLED |
g_wszWMVCVBRQuality | MFPKEY_VBRQUALITY |
g_wszWMVCVideoScaling | MFPKEY_VIDEOSCALING |
g_wszWMVCVType | MFPKEY_VTYPE |
g_wszWMVCZeroByteFrames | MFPKEY_ZEROBYTEFRAMES |
See Also
Send comments about this topic to Microsoft
Build date: 4/7/2010