An MPS queue is a queue for tasks. When you submit an asynchronous task, it is added to a queue to be scheduled and run based on its priority and submission order. This topic describes the basic concepts and limits of ApsaraVideo Media Processing (MPS) queues.
Terms
You can enable or disable an MPS queue. If an MPS queue is disabled, MPS does not run the jobs in this MPS queue until the MPS queue is enabled again. However, the ongoing jobs in this MPS queue are not affected.
Tasks in a pipeline can be assigned multiple priorities.
If you submit jobs by calling API operations, you can set priorities that range from 1 to 10 for the jobs.
If you submit jobs in the MPS console, the priorities of all jobs are set to 6 by default and cannot be modified.
Jobs with the same priority are run based on the sequence in which the jobs are submitted. Jobs with different priorities are run based on the job priorities in descending order.
Scenarios
You can create multiple pipelines to manage different production queues separately.
You can enable or disable an MPS queue, and set the job priorities as needed.
You can enable message notifications and set the Message Service (MNS) message type for an MPS queue to receive notifications on asynchronous job results.
You can configure alert rules for an MPS queue to monitor metrics such as the number of transcoding jobs.
Limits
Pipeline types vary in their creation limits, supported features, and concurrency.
Maximum number of MPS queues to be created: By default, an MPS queue for high-speed transcoding, a default MPS queue for intelligent production, and four MPS queues of other types can be created in each region within an Alibaba Cloud account.
Features: Different types of MPS queues can process different types of jobs. If you submit a job that is not applicable, the job fails to be run.
Concurrency: Different types of MPS queues support different concurrencies. The jobs that exceed the concurrency limit are queued for running. For more information, see the following table.
MPS queues of the same type in each region within an Alibaba Cloud account share the same concurrency limit.
Pipeline Type | Applicable features | Default concurrency limit |
Standard pipeline | This MPS queue is applicable to custom templates, customized templates, preset templates except for Narrowband HD™ 2.0 templates and super-resolution templates, asynchronous snapshot jobs, and media information analysis jobs. | 400 |
Accelerated Transcoding Pipeline | The templates and features are the same as those for standard pipelines. To quickly obtain transcoding results, we recommend that you enable MPS queues for high-speed transcoding. You can set the speed boost to 5-time, 10-time, 20-time, or 30-time. For more information, see Official release of high-speed transcoding after public preview. | 200 |
MPS queue for high-speed transcoding (previous version) | The MPS queues for high-speed transcoding that were created before February 14, 2023 support only a 5-time speed boost. | 200 |
Narrowband HD 2.0 pipeline | This MPS queue is applicable only to the preset Narrowband HD™ 2.0 templates and preset super-resolution templates. The preset super-resolution templates include the multi-platform MP4-SDToHD and multi-platform MP4-2KTo4K templates. For the Narrowband HD™ 2.0 templates and super-resolution templates that are customized in the background as needed, use standard MPS queues. | 200 |
Video moderation pipeline | This applies to content moderation jobs. | 10 |
Media Fingerprint Pipeline | This applies to media fingerprint jobs. | 10 |
Smart Tag Pipeline | This MPS queue is applicable to smart tagging jobs. | 2 |
Smart Thumbnail Pipeline | This MPS queue is applicable only to intelligent thumbnail creation jobs in intelligent production. If you submit an intelligent thumbnail creation job in the MPS console, you must use an MPS queue for intelligent thumbnail creation. If you submit an intelligent thumbnail creation job by calling the SubmitIProductionJob operation, you can specify the ID of an MPS queue for intelligent thumbnail creation. If you do not specify an MPS queue ID, the default MPS queue for intelligent production is used. | 10 |
Intelligent Production Pipeline | This MPS queue is applicable to intelligent production jobs such as video synopsis and subtitle extraction. MPS allocates a default MPS queue for intelligent production to your Alibaba Cloud account. This default MPS queue is not displayed in the console, and you cannot modify it or create one. If you do not specify the ID of an MPS queue for intelligent production when you submit an intelligent production job by calling the SubmitIProductionJob operation, the default MPS queue for intelligent production is used. | 10 |