|
Parameter |
Type |
Description |
Example |
|---|---|---|---|
|
object |
The subtitle processing settings. |
||
| DisableSubtitle |
boolean |
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 to process. If you set this parameter to null (default) or a value greater than 100, all subtitle streams are processed.
Note
If the specified index number does not match any subtitle stream, it is ignored. |
|
|
integer |
The index number of the subtitle stream to process. |
0 |
|
| ExtractSubtitle |
object |
The subtitle extraction settings. Note
The GenerateVideoPlaylist operation does not support this parameter. |
|
| URI |
string |
The OSS URI prefix for storing extracted subtitles. The URI follows the oss://bucket/object format, where bucket is the name of the OSS bucket in the same region as the current project and object is the full file path including the extension.
|
oss://test-bucket/extractsubtitle |
| Format |
string |
The format of the extracted subtitle file. Valid values:
|
webvtt |