NumParallel

The maximum number of CPU threads to use for analysis. In most cases this specifies the number of video frames to analyze concurrently.

As long as your server has sufficient resources, increasing the value of this parameter allows Media Server to analyze a greater number of frames in a given time. The result of this depends on the value you have set for IngestRate:

  • If you are processing video with IngestRate=1, Media Server is more likely to achieve the sample intervals that you have requested and your analysis tasks will skip fewer frames.
  • If you are processing video with IngestRate=0, Media Server can complete processing the video in less time.

Do not increase the value of this parameter unless your server has spare resources (CPU cores), because doing so will significantly decrease performance.

Type: Integer
Default: 2
Required: No
Configuration Section: TaskName
Example:

To allow scene analysis to use up to two threads:

NumParallel=2

See Also:

IngestRate

SampleInterval