Queries the details of a transcoding template group based on the template group ID.
Operation description
This operation returns information about the specified transcoding template group and the configurations of all the transcoding templates in the group.
Debugging
Authorization information
There is currently no authorization information disclosed in the API.
Request parameters
Parameter | Type | Required | Description | Example |
---|---|---|---|---|
TranscodeTemplateGroupId | string | Yes | The ID of the transcoding template group. | a591f697c7167*****6ae1502142d0 |
Response parameters
Examples
Sample success responses
JSON
format
{
"RequestId": "6730AC93-7B12-4B*****7F-49EE1FE8BC49",
"TranscodeTemplateGroup": {
"CreationTime": "2018-12-12T10:20:51Z",
"IsDefault": "NotDefault",
"AppId": "app-****",
"TranscodeTemplateGroupId": "a59b11f697c716*****6ae1502142d0",
"Name": "test",
"ModifyTime": "2018-12-12T11:20:51Z",
"Locked": "Enabled",
"TranscodeTemplateList": [
{
"Type": "Normal",
"Video": "{\"Codec\":\"H.264\",\"Bitrate\":\"900\",\"Width\":\"960\",\"Remove\":\"false\",\"Fps\":\"30\"}",
"TransConfig": "{\"IsCheckReso\":\"true\",\"IsCheckResoFail\":\"false\",\"IsCheckVideoBitrate\":\"false\",\"IsCheckVideoBitrateFail\":\"false\",\"IsCheckAudioBitrate\":\"false\",\"IsCheckAudioBitrateFail\":\"false\"}",
"Rotate": "90",
"TranscodeTemplateId": "696d29a11erc057*****a3acc398d02f4",
"TemplateName": "test",
"EncryptSetting": "\"EncryptType\":\"Private\"",
"Audio": "{\\\"Codec\\\":\\\"AAC\\\",\\\"Remove\\\":\\\"false\\\",\\\"Bitrate\\\":\\\"44\\\",\\\"Samplerate\\\":\\\"32000\\\",\\\"Channels\\\":\\\"2\\\",\\\"Profile\\\":\\\"aac_low\\\"}",
"TranscodeFileRegular": "{MediaId}/transcoce_1",
"Container": "\"Format\":\"m3u8\"",
"Clip": "{\\\"TimeSpan\\\":{\\\"Seek\\\":\\\"1\\\",\\\"Duration\\\":\\\"5\\\"}",
"Definition": "SD",
"PackageSetting": "\"PackageType\":\"HLSPackage\",\"PackageConfig\":{ \"BandWidth\":\"900000\" }",
"SubtitleList": "[{\"SubtitleUrl\":\"http://outin-test.oss-cn-shanghai.aliyuncs.com/subtitles/c737fece-14f1-4364-b107-d5f7f8edde0e.ass\",\"CharEncode\":\"utf-8\"}]",
"MuxConfig": "\"Segment\": { \"Duration\":\"6\" }",
"WatermarkIds": [
"\"USER_DEFAULT_WATERMARK\",\"ddddddddd\""
],
"TraceMark": "{\n\t\"Enable\": true\n}",
"CopyrightMark": "{\n\t\"Content\": \"test\"\n}"
}
]
}
}
Error codes
For a list of error codes, visit the Service error codes.
Change history
Change time | Summary of changes | Operation |
---|---|---|
2023-09-14 | The response structure of the API has changed | View Change Details |
Common errors
The following table describes the common errors that this operation can return.
Error code | Error message | HTTP status code | Description |
---|---|---|---|
InvalidTranscodeTemplateGroup.NotFound | The transcode template group does not exist. | 404 | The error message returned because the specified transcoding template group does not exist. |