A transcoding template is a collection of processing parameters that simplifies transcoding job creation and workflow configuration. Each template is identified by a unique ID.
Template types
Transcoding templates fall into three types: custom templates, customized templates, and preset templates.
-
Custom template: a transcoding template created in the ApsaraVideo Media Processing (MPS) console or by using the API. No backend-customized parameters are applied.
-
Customized template: a transcoding template with backend-configured parameters tailored to your requirements. The customized parameters take precedence, and any user-configured parameters do not take effect. You cannot view or modify the customized parameters.
-
Preset template: a transcoding template predefined in MPS based on resolutions and network conditions. Preset templates include static preset templates and intelligent preset templates. Static preset templates support regular transcoding, audio transcoding, container format conversion, Narrowband HD™ 1.0, and Narrowband HD™ 2.0. For more information, go to the MPS console or see Preset template details.
If existing transcoding templates cannot meet your business requirements, you can specify the Outputs parameter when you call the SubmitJobs operation. For more information, see the Output section of the "Parameter details" topic. Parameters specified in the SubmitJobs operation take precedence over the template parameters. If the output is not as expected when you use a transcoding template with the SubmitJobs operation, check whether additional parameters are specified in the operation.
Limits
By default, you can create up to 10 transcoding templates per region within an Alibaba Cloud account, including custom and customized templates. To increase this quota, submit a ticket to contact Alibaba Cloud technical support.
Features comparison
A check mark (√) indicates that the operation is supported. A cross mark (×) indicates that the operation is not supported.
|
Operation |
MPS Console |
MPS SDKs |
API |
|
Create a transcoding template |
√ |
√ |
√ |
|
Query or search for a transcoding template |
√ |
√ |
√ |
|
Modify a transcoding template |
√ |
√ |
√ |
|
Copy a transcoding template |
√ |
× |
× |
|
Delete a transcoding template |
√ |
√ |
√ |
|
Use a transcoding template to submit a transcoding job |
√ Note
You cannot use an intelligent preset template to submit a transcoding job. |
√ Note
You can use an intelligent preset template to submit a transcoding job. |
√ Note
You can use an intelligent preset template to submit a transcoding job. |
|
Use a transcoding template to trigger a workflow |
√ Note
You cannot use an intelligent preset template to trigger a workflow. |
√ Note
You can use an intelligent preset template to trigger a workflow. |
√ Note
You can use an intelligent preset template to trigger a workflow. |