Mode

Specifies how Media Server constructs requests for sending to the destination URL.

  • SingleRecord - sends a separate request for every record, such as a recognized face or a detected number plate.
  • Time - sends requests that represent the same amount of video content, for example 60 seconds of video. Specify the amount of content using the parameter OutputInterval. Each request contains any records that relate to that time frame, including records that overlap the start or end of the time frame. Each request might contain many records, for example recognized faces, speech-to-text results, and on-screen text extracted using OCR.
  • Event - sends requests that represent video segments, for example news stories in a news broadcast. Media Server sends a request for each record that occurs in an event track that you choose. Specify the event track using the parameter EventTrack. Each request can contain 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 construct requests that describe the content between pauses in a speech-to-text result track.
  • Bounded - sends requests that contain information about a specific event, for example a recognized speaker being detected in the audio track. Media Server sends a request for each record that occurs in an event track that you choose. Specify the event track using the parameter EventTrack. Each request can also contain information from records that overlap with that event, for example 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 - sends a single request for each asset, such as a video or image file. Media Server sends one request for each process action. The request contains the records that were generated when Media Server processed that asset.
  • Page - each request 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