Skip to content

/AWS1/CL_MDISUBTITLINGCONFIG

A type of OutputConfig, used when the output in a feed is for the smart subtitling feature. smart subtitling uses automatic speech recognition (ASR) to generate live TTML subtitles from the audio in your source media.

CONSTRUCTOR

IMPORTING

Required arguments:

iv_language TYPE /AWS1/MDITRANSCRIPTIONLANGUAGE /AWS1/MDITRANSCRIPTIONLANGUAGE

The language of the audio in the source media. Elemental Inference uses this setting to optimize transcription accuracy. Specify the language using an ISO 639-2/T three-letter code, optionally with a region subtag. Supported values: eng, eng-au, eng-gb, eng-us, fra, ita, deu, spa, por.

Optional arguments:

io_aspectratio TYPE REF TO /AWS1/CL_MDIASPECTRATIO /AWS1/CL_MDIASPECTRATIO

The aspect ratio of the output video, specified as width and height integer values. Elemental Inference uses the aspect ratio to determine subtitle layout and line lengths.

iv_dictionary TYPE /AWS1/MDIDICTIONARYID /AWS1/MDIDICTIONARYID

The ID of a custom dictionary to improve transcription accuracy for domain-specific terminology. Use the CreateDictionary operation to create a dictionary.

iv_profanityfilter TYPE /AWS1/MDIPROFANITYFILTERMODE /AWS1/MDIPROFANITYFILTERMODE

Controls how profanity is handled in the generated subtitles. Valid values: DISABLED (no filtering, default), CENSOR (replace profanity with asterisks), DROP (remove profanity from the transcript).


Queryable Attributes

language

The language of the audio in the source media. Elemental Inference uses this setting to optimize transcription accuracy. Specify the language using an ISO 639-2/T three-letter code, optionally with a region subtag. Supported values: eng, eng-au, eng-gb, eng-us, fra, ita, deu, spa, por.

Accessible with the following methods

Method Description
GET_LANGUAGE() Getter for LANGUAGE, with configurable default
ASK_LANGUAGE() Getter for LANGUAGE w/ exceptions if field has no value
HAS_LANGUAGE() Determine if LANGUAGE has a value

aspectRatio

The aspect ratio of the output video, specified as width and height integer values. Elemental Inference uses the aspect ratio to determine subtitle layout and line lengths.

Accessible with the following methods

Method Description
GET_ASPECTRATIO() Getter for ASPECTRATIO

dictionary

The ID of a custom dictionary to improve transcription accuracy for domain-specific terminology. Use the CreateDictionary operation to create a dictionary.

Accessible with the following methods

Method Description
GET_DICTIONARY() Getter for DICTIONARY, with configurable default
ASK_DICTIONARY() Getter for DICTIONARY w/ exceptions if field has no value
HAS_DICTIONARY() Determine if DICTIONARY has a value

profanityFilter

Controls how profanity is handled in the generated subtitles. Valid values: DISABLED (no filtering, default), CENSOR (replace profanity with asterisks), DROP (remove profanity from the transcript).

Accessible with the following methods

Method Description
GET_PROFANITYFILTER() Getter for PROFANITYFILTER, with configurable default
ASK_PROFANITYFILTER() Getter for PROFANITYFILTER w/ exceptions if field has no val
HAS_PROFANITYFILTER() Determine if PROFANITYFILTER has a value