Activate the service
You must have an Alibaba Cloud account and activated MPS, OSS, and RAM.
Create two buckets on the OSS console. One bucket is used to store input files and the other bucket is used to store output files after transcoding. The input and output files can be stored in one bucket.
Log on to the MPS console > Settings > Transcoding Templates/Watermark Templates, and create a custom transcoding template and a custom watermark template.
Log on to the MPS console > Settings > MPS Queues to view the default MPS queue ID.
Demo function description
The demo contains examples of the transcoding process (
transcodeJobFlow) and screenshot process (
transcodeJobFlowcontains the transcoding process recommended by the preset smart template (
systemTemplateJobFlow) and transcoding process of the custom template (
A watermark is set for each transcoding output file.
Note: Before using the MPS demo project, read the README file carefully. As theAlibaba Cloud SDK is continuously upgraded, the solution about multi-regionsupport in the README file is upgraded. For more information about the latest solution, see Multi-region support.