# SegmentDuration

The maximum duration of a record in the `SegmentedResult` track.

Media Server does not generate records in the `Result` track until an event has finished, because each record represents a complete event. The maximum duration of a record in the `SegmentedResult` track is limited to the value of this parameter, so this track provides a way to obtain results sooner but with similar accuracy to a `Result` track. When a record reaches the maximum duration, Media Server outputs the record and begins a new one with the same ID. This means that for every record in the `Result` track that exceeds the maximum duration, there will be two or more records in the `SegmentedResult` track.

Segmented results are useful when you want to obtain information about events before they finish. For more information about the tracks that are produced by analysis engines, refer to the Media Server Administration Guide.

Type: | Time duration The value of this parameter is a time duration. Specify the duration in the following format:
         1days 2hours 3minutes 4seconds 500milliseconds 600microseconds
You can omit any of the individual durations when they are not required:
         4seconds 500milliseconds
You can also shorten the string by abbreviating the units to their first letter (milliseconds abbreviates to ms, microseconds to us):
         4s 500ms
The following are all equivalent:
         1minute 3seconds
         1m 3s
         63s
To specify an infinite duration, use the value `Infinite`.
Default: |
Required: | No
Configuration Section: | TaskName
Example: | `SegmentDuration=5s`
See Also: |

_FT_HTML5_bannerTitle.htm