Parameter | Type | Description | Example |
---|---|---|---|
object | The subtitle processing settings. | ||
DisableSubtitle | boolean | Specifies whether to disable subtitle processing. Valid values:
Note
If you call the GenerateVideoPlaylist operation and subtitles are required, you must set this parameter to false.
| false |
Stream | array | The index numbers of subtitle streams for source files that need to be processed. If you set this parameter to null (default) or a value greater than 100, all subtitle streams are processed.
Note
Only subtitle streams whose index numbers exist are processed. If the index number of a subtitle stream does not exist, the subtitle stream is ignored.
| |
integer | The index number of the subtitle stream that needs to be processed. | 0 | |
ExtractSubtitle | object | The subtitle extraction settings. Note
If you call the GenerateVideoPlaylist operation, this parameter is not supported.
| |
URI | string | The prefix of the OSS path that is used to save the extracted subtitles. The OSS path is in the oss://bucket/object format. bucket specifies the name of the OSS bucket that is in the same region as the current project. object specifies the full file path that contains the file name extension.
| oss://test-bucket/extractsubtitle |
Format | string | The format of the extracted subtitle file. Valid values:
| webvtt |