Modifies transcoding configurations. You can modify the configuration of a specified transcoding template in a transcoding template group.
Operation description
For security purposes, you cannot add, modify, or delete transcoding template groups that are in the locked state. You can call the GetTranscodeTemplateGroup operation to query the template configuration and check whether the template group is locked based on the Locked response parameter. Alternatively, you can call this operation to unlock the template group before you add, modify, or delete templates.
Try it now
Test
RAM authorization
|
Action |
Access level |
Resource type |
Condition key |
Dependent action |
|
vod:UpdateTranscodeTemplateGroup |
update |
*All Resource
|
None | None |
Request parameters
|
Parameter |
Type |
Required |
Description |
Example |
| Name |
string |
No |
The name of the transcoding template group.
|
transcodetemplate |
| TranscodeTemplateList |
string |
No |
The transcoding template configurations (a JSON string). For more information about the parameter structure, see TranscodeTemplate. |
[{"Video":{"Bitrate":"400","Codec":"H.264","Fps":"30"},"Audio":{"Codec":"AAC","Bitrate":"64","Definition":"SD","EncryptType":"Private","Container":{"Format":"m3u8"},"PackageType":"HLSPackage"}}] |
| Locked |
string |
No |
The lock state of the template group. Valid values:
Default value: Disabled. If you specify this parameter, the lock state of the template group is changed, while the name and configurations of the transcoding template group remain unchanged. |
Disabled |
| TranscodeTemplateGroupId |
string |
Yes |
The ID of the transcoding template group. |
4c71a339fe*****52b4fa6f4527 |
Response elements
|
Element |
Type |
Description |
Example |
|
object |
The response parameters. |
||
| TranscodeTemplateGroupId |
string |
The ID of the transcoding template group. |
34e908aa4024a*****f7821c31f93a2a |
| RequestId |
string |
The request ID. |
25818875-5F78-4A*****F6-D7393642CA58 |
Examples
Success response
JSON format
{
"TranscodeTemplateGroupId": "34e908aa4024a*****f7821c31f93a2a",
"RequestId": "25818875-5F78-4A*****F6-D7393642CA58"
}
Error codes
See Error Codes for a complete list.
Release notes
See Release Notes for a complete list.