# MaximumDuration

The maximum amount of video and audio to ingest, before stopping ingestion. If you do not set this parameter, there is no limit on the amount of video and audio that is ingested.

You can set this parameter to ingest part of a video file, or a fixed amount of a continuous stream.

If the maximum duration is reached, Media Server stops ingestion but does finish processing any frames that have already been ingested.

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: | `MaximumDuration=30seconds`
See Also: | StartOffset

_FT_HTML5_bannerTitle.htm