TransformOutputVideoAnalyzerPreset

data class TransformOutputVideoAnalyzerPreset(val audioAnalysisMode: String? = null, val audioLanguage: String? = null, val experimentalOptions: Map<String, String>? = null, val insightsType: String? = null)

Constructors

Link copied to clipboard
constructor(audioAnalysisMode: String? = null, audioLanguage: String? = null, experimentalOptions: Map<String, String>? = null, insightsType: String? = null)

Types

Link copied to clipboard
object Companion

Properties

Link copied to clipboard

Possible values are Basic or Standard. Determines the set of audio analysis operations to be performed. Default to Standard.

Link copied to clipboard
val audioLanguage: String? = null

The language for the audio payload in the input using the BCP-47 format of 'language tag-region' (e.g: 'en-US'). If you know the language of your content, it is recommended that you specify it. The language must be specified explicitly for AudioAnalysisMode:Basic, since automatic language detection is not included in basic mode. If the language isn't specified, automatic language detection will choose the first language detected and process with the selected language for the duration of the file. It does not currently support dynamically switching between languages after the first language is detected. The automatic detection works best with audio recordings with clearly discernible speech. If automatic detection fails to find the language, transcription would fall back to en-US. The list of supported languages is available here: https://go.microsoft.com/fwlink/?linkid=2109463.

Link copied to clipboard

Dictionary containing key value pairs for parameters not exposed in the preset itself.

Link copied to clipboard
val insightsType: String? = null

Defines the type of insights that you want the service to generate. The allowed values are AudioInsightsOnly, VideoInsightsOnly, and AllInsights. If you set this to AllInsights and the input is audio only, then only audio insights are generated. Similarly, if the input is video only, then only video insights are generated. It is recommended that you not use AudioInsightsOnly if you expect some of your inputs to be video only; or use VideoInsightsOnly if you expect some of your inputs to be audio only. Your Jobs in such conditions would error out. Default to AllInsights.