This topic introduces the terms related to ApsaraVideo Media Processing (MPS).
A region is an Alibaba Cloud service node. You can select different Alibaba Cloud regions and use Alibaba Cloud services closer to your business for lower access latency and better user experience.
OSS stands for Alibaba Cloud Object Storage Service. MPS transcodes media files stored in OSS. The output files are also stored in OSS.
- local file
A local file is a media file locally stored on your device and not yet uploaded to OSS.
- job input
In MPS, a job input refers to an input file.
- input file
An input file is a media file you have stored in OSS. A local file uploaded to OSS can also serve as an input file.
- job output configurations
Job output configurations consist of elements such as the template ID, watermark list, and output file.
- output file
An output file is a media file or file set generated by MPS after transcoding and stored in OSS.
By default, a job in MPS refers to a transcoding job. A transcoding job is composed of a job input and job output configurations. Each job is identified by a unique ID. When you submit a transcoding job, you must specify an MPS queue for the job. The scheduling engine schedules jobs in the MPS queue to the transcoding system in which MPS performs transcoding operations. In addition, MPS supports other types of jobs: template analysis jobs, snapshot jobs, and media information analysis jobs. These jobs allow you to analyze templates, capture snapshots, and analyze media information. These jobs do not occupy MPS queue resources.
- MPS queue
An MPS queue is a queue for jobs. When transcoding jobs are added to an MPS queue, they are scheduled for transcoding by MPS. If an MPS queue contains a large number of jobs, the jobs are queued up. An MPS queue can be in the active or suspended state. If an MPS queue is suspended, MPS does not schedule transcoding jobs in this MPS queue until the MPS queue is activated again. However, ongoing transcoding jobs in this MPS queue are not affected.
- custom template
A custom template specifies a set of transcoding parameters, such as audio, video, and container parameters. Each custom template is identified by a unique ID. You can create custom templates in all regions. Custom templates created in a specific region can be used for all your transcoding jobs in this region.
- preset template
A preset template is an intelligent transcoding template pre-defined in MPS. The template can be used to dynamically adjust the transcoding settings based on the characteristics of an input file, and therefore provides you with the optimal output file under specific bandwidth conditions. For information about preset templates supported by MPS, see Preset template details.
- template analysis job
Due to the differences between input files, such as differences in resolution and bitrate, not all preset templates are suitable for an input file. Therefore, before you use a preset template, you must call the SubmitAnalysisJob operation to submit a template analysis job. The template analysis job returns a list of preset templates that can be used for a specific input file. You can call the QueryAnalysisJobList operation to query this list. When you submit a transcoding job, you must specify a preset template in the list returned by the template analysis job. Otherwise, the submitted transcoding job fails.
MPS allows you to add up to four static watermarks to an output file. You can create a watermark template that specifies the seldom changed attributes of watermarks, such as the positions, offset, and size. If you want to add a watermark to an output video, specify the watermark template and watermark content when you submit a transcoding job.
- watermark template
Parameters on watermarks can be categorized into two types: parameters on variable attributes of watermarks and parameters on seldom changed ones. The former type determines the content in watermarks, whereas the latter type determines the positions, offset, and size of watermarks. The latter type constitutes a watermark template. Each watermark template is identified by a unique ID.
- snapshot job
A snapshot job captures a snapshot in the JPG format at a specified point in time of an input video file.
- media information analysis job
A media information analysis job analyzes the information about an input file.