# Mode

Specifies how Media Server builds XML documents:

- `SingleRecord` - each document represents a single record, for example a recognized face.
- `Time` - each document represents the same amount of video content, for example 60 seconds of video. Specify the amount of content using the parameter OutputInterval. Each document contains any records that occur in that time frame, including records that overlap the start or end of the time frame. Each document might contain many records, for example recognized faces, speech-to-text results, and on-screen text extracted using OCR.
- `Event` - event mode creates documents that represent video segments, for example news stories in a news broadcast. Media Server creates a document for each record that occurs in an event track that you choose. Specify the event track using the parameter EventTrack. Each document contains information about the event, all records that overlap with that event, and all records that occurred since the end of the previous event. A pause in speech might indicate the end of one news story and the beginning of another, so you could configure Media Server to create documents that describe the content between pauses in a speech-to-text result track.
- `Bounded` - each document contains information about a specific event, for example a recognized speaker being detected in the audio track. Media Server creates a document for each record that occurs in an event track that you choose. Specify the event track using the parameter EventTrack. Each document also contains any other records that overlap with that event, for example information about a recognized face that appears in the video at the same time. In this mode, any records that do not occur at the same time as an event are not output.
- `AtEnd` - a single document for each asset, such as a video or image file. Media Server creates a maximum of one document for each `process` action. The document contains the records that were generated when Media Server processed that asset.
- `Page` - each document represents a page of a processed image or document.

For more information about these modes, refer to the Media Server Administration Guide.

Type: | String
Default: | `Time`, unless you use the image ingest engine in which case `AtEnd`
Required: | No
Configuration Section: | TaskName
Example: | `Mode=event`
See Also: | OutputInterval EventTrack

© Copyright 2020 Micro Focus or one of its affiliates | Send documentation feedback Close Send documentation feedback To open the configured email client on this computer, open an email window. Otherwise, copy the information below to a mail client, and then send this email to swpdl.idoldocsfeedback@microfocus.com. We appreciate your feedback! Product: Topic Title: Help Topic: Feedback:

_FT_HTML5_bannerTitle.htm