Open topic with navigation

# Mode

Specifies how Media Server constructs queries for inserting data into the database.

- `SingleRecord` - creates an INSERT query for every record. In this mode, each query inserts data for a single record, for example a recognized face or an ANPR result. Use this mode when you want to insert data for discrete events, such as recognized number plates.
- `Time` - each query sent to the database inserts data for the same amount of video content, for example 60 seconds of video. Specify the interval using the parameter OutputInterval. Each query can contain information from any records that relate to that time frame, including records that overlap the start or end of the interval. Each query might insert data from many records, for example recognized faces, speech-to-text results, and on-screen text extracted using OCR.
- `Event` - use event mode to create queries that represent video segments, for example news stories in a news broadcast. Media Server creates a separate query for each record that occurs in an event track that you choose. Specify the event track using the parameter EventTrack. Each query can insert 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 queries to insert the content between pauses in a speech-to-text result track.
- `Bounded` - use bounded mode to create queries that insert information about a specific event, for example a recognized speaker being detected in the audio track. Media Server creates a query for each record that occurs in an event track that you choose. Specify the event track using the parameter EventTrack. Each query can also contain information from 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` - use at-end mode to create queries that insert information about an asset, such as a video or image file. Media Server sends one query for each `process` action. The query can contain information from the records that were generated when Media Server processed that asset.
- `Page` - use page mode to create queries that insert information about a single page of a processed image or document.

Type: | String
Default: | Time
Required: | No
Configuration Section: | TaskName
Example: | `Mode=event`
See Also: | OutputInterval EventTrack

© 2016 Hewlett Packard Enterprise Development LP | Send documentation feedback to HPE Close We welcome your comments! To open the configured email client on this computer, open an email window. Otherwise, copy the information below to a web mail client, and send this email to AutonomyTPFeedback@hpe.com. Product: Topic Title: Help Topic: Feedback:

_HP_HTML5_bannerTitle.htm