You can call this operation to query custom transcoding templates in the specified state.
Operation description
You can call this operation up to 100 times per second. If the number of calls per second exceeds the limit, throttling is triggered. As a result, your business may be affected. We recommend that you take note of the limit when you call this operation. For more information, see QPS limit.
Debugging
Authorization information
There is currently no authorization information disclosed in the API.
Request parameters
Parameter | Type | Required | Description | Example |
---|---|---|---|---|
PageSize | long | No | The size of each page set during the result paging query.
| 10 |
PageNumber | long | No | The number of the page to return. Default value: 1. | 1 |
State | string | No | The status of the custom transcoding templates that you want to query.
| Normal |
NamePrefix | string | No | The name prefix based on which you want to search for templates. | S00000001 |
Response parameters
Examples
Sample success responses
JSON
format
{
"TotalCount": 1,
"TemplateList": {
"Template": [
{
"Video": {
"Bufsize": "6000",
"LongShortMode": "false",
"Degrain": "10",
"BitrateBnd": {
"Max": "500",
"Min": "100"
},
"PixFmt": "yuv420p",
"Pad": "1280:800:0:140",
"Codec": "H.264",
"Height": "800",
"Qscale": "1",
"Crop": "border",
"Bitrate": "200",
"Maxrate": "500",
"NarrowBand": {
"Abrmax": 0,
"MaxAbrRatio": 0,
"Version": ""
},
"MaxFps": "60",
"Profile": "high",
"Crf": "15",
"Remove": "false",
"Gop": "10",
"Width": "256",
"Fps": "25",
"Preset": "medium",
"ScanMode": "interlaced",
"ResoPriority": "heightFirst",
"Hdr2sdr": ""
},
"TransConfig": {
"IsCheckAudioBitrate": "false",
"TransMode": "onepass",
"IsCheckReso": "false",
"IsCheckVideoBitrateFail": "false",
"AdjDarMethod": "none",
"IsCheckVideoBitrate": "false",
"IsCheckResoFail": "false",
"IsCheckAudioBitrateFail": "false"
},
"State": "Normal",
"MuxConfig": {
"Gif": {
"FinalDelay": "0",
"DitherMode": "sierra",
"Loop": "0",
"IsCustomPalette": "false"
},
"Segment": {
"Duration": "10"
}
},
"Name": "MPS-example",
"Audio": {
"Profile": "aac_low",
"Remove": "false",
"Codec": "aac",
"Samplerate": "44100",
"Qscale": "1",
"Channels": "2",
"Bitrate": "500"
},
"Id": "16f01ad6175e4230ac42bb5182cd****",
"Container": {
"Format": "mp4"
},
"CreationTime": "2021-03-04T06:44:43Z"
}
]
},
"PageSize": 10,
"RequestId": "BC860F04-778A-472F-AB39-E1BF329C****",
"PageNumber": 1
}
Error codes
For a list of error codes, visit the Service error codes.
Change history
Change time | Summary of changes | Operation | ||||||
---|---|---|---|---|---|---|---|---|
2024-03-14 | The response structure of the API has changed | see changesets | ||||||
| ||||||||
2024-01-04 | The response structure of the API has changed | see changesets | ||||||
| ||||||||
2023-09-21 | The response structure of the API has changed | see changesets | ||||||
| ||||||||
2023-07-13 | The request parameters of the API has changed. The response structure of the API has changed | see changesets | ||||||
|