Share via


MFPKEY_NUMTHREADS Property

Specifies the number of threads that the encoder will use.

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.

Requirements

Minimum supported client

Windows XP

Minimum supported server

Windows Server 2003

Header

Wmcodecdsp.h

See Also

Properties

 

 

Send comments about this topic to Microsoft

Build date: 4/7/2010