| Parameter | Type | Description | Example |
|---|---|---|---|
| object | The subtitle processing settings. | ||
| DisableSubtitle | boolean | Specifies whether to disable subtitle generation. 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 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
If you specify an index number but no subtitle stream with the index number is found, the index number is ignored.
| |
| integer | The index number of the subtitle stream that needs to be processed. | 0 | |
| ExtractSubtitle | object | The subtitle extraction settings. Note
The GenerateVideoPlaylist operation does not support this parameter.
| |
| URI | string | The prefix of the OSS URI where the extracted subtitles are stored. The OSS URI is in the oss://bucket/object format, where bucket specifies the name of the OSS bucket that is in the same region as the current project and object specifies the full file path that includes the file name extension.
| oss://test-bucket/extractsubtitle |
| Format | string | The format of the extracted subtitle file. Valid values:
| webvtt |