SampleInterval

Analysis tasks usually do not process every frame of a video.

This parameter specifies the interval at which frames are selected to be analyzed, in milliseconds. For example, if you set SampleInterval=125 then any two frames analyzed by the task will be separated by at least 125 milliseconds. This means that at most eight frames are analyzed for every second of video.

If the parameter IngestRate is set to 0, the interval between frames selected for analysis will be as close as possible to SampleInterval. All of the selected frames will be analyzed.

If the parameter IngestRate is set to 1, frames are initially selected in the same way as for IngestRate=0. However, if the analysis task cannot process frames at this rate, it will drop some of the selected frames. For example, if you set SampleInterval=125 and the task analyzes fewer than eight frames per second, it will drop frames to keep up with the video.

In most cases HPE recommends that you use the default value of SampleInterval. If you have set IngestRate=1 and a task has to drop frames, or if you have set IngestRate=0 and processing takes a long time, it might be due to the server having insufficient resources.

Note: If you set the parameter RestrictToInputRegion to TRUE, this parameter is ignored and Media Server processes all input frames.

Type: Integer
Default: 1000
Required: No
Configuration Section: TaskName
Example: SampleInterval=250
See Also:

IngestRate

NumParallel


_HP_HTML5_bannerTitle.htm