MFPKEY_NUMTHREADS Property
![]() |
Specifies the number of threads that the codec will use for encoding.
Constant for IPropertyBag
g_wszWMVCNumThreads
Data Type
VT_I4
Default Value
1
Remarks
This value is intended to divide encoding into multiple threads to take advantage of computers with multiple processors. Splitting encoding tasks into multiple threads can cause a slight decrease in quality as compared to a single thread.
For the video encoder (wmvencod.dll) released with Windows XP and Windows Vista, this property should be set to 1, 2, or 4. Other values will be rounded down.
For the video encoder (wmvencod.dll) released with Windows 7, this property should be set to 1, 2, 4, or 8. Other values will be rounded down.
Applies To
This write-only property is available on the encoder of the following codecs:
Requirements
Client: Requires Windows 7, Windows Vista, or Windows XP.
Header: Include wmcodecdsp.h.
See Also