# 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 a value using one or more of the following units:
         days          d
         hours         h
         minutes       m
         seconds       s
         milliseconds  ms
         microseconds  us
For example, all of the following are 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