Mode

The type of language identification task to run. Set this parameter to one of the following options:

  • Boundary - Language identification seeks to determine boundaries in the audio where the language changes, and returns results for the time between boundaries.

    In this mode, SegmentDuration is ignored.

  • Segmented - The audio is divided into fixed-size segments and Media Server does not consider previous segments when running analysis. You can use this mode to determine the language if there are multiple languages present in the audio, but this mode does not identify the exact boundary points at which the language changes.

    In this mode, SegmentDuration specifies the amount of audio to analyze in a single segment. Media Server outputs a record in the SegmentedResult track for each analyzed segment, and one or more records in the Result track (Media Server starts a new record if the detected language changes).

  • Cumulative - The audio is divided into fixed-size segments and every result is based on analysis of the current segment and all of the previous segments. You might use this mode if you are processing a video file and expect the audio to contain only one language or you want to identify the primary language that is spoken.

    In this mode, SegmentDuration specifies the amount of audio to analyze in a single segment. Media Server outputs a record in the SegmentedResult track for each analyzed segment, and one record in the Result track when analysis has finished.

    NOTE: Cumulative mode is not suitable for analyzing continuous streams.

Type: String
Default:  
Required: No
Configuration Section: TaskName
Example: Mode=BOUNDARY
See Also: SegmentDuration