All Products
Search
Document Center

ApsaraVideo Media Processing:Overview

Last Updated:Mar 06, 2024

This topic describes the terms and usage notes of ApsaraVideo Media Processing (MPS) queues.

Terms

An MPS queue is a queue for processing jobs. After you submit asynchronous jobs, the jobs are queued for running based on the job priorities and the sequence in which the jobs are submitted.

  • 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.

  • You can set different priorities for jobs in an MPS queue.

    • 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 MPS queues to distinguish and manage different production queues.

  • You can enable or disable an MPS queue, and set the job priorities based on your business requirements.

  • 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

Different types of MPS queues differ in the maximum number of MPS queues to be created, applicable features, and supported 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.

Note

MPS queues of the same type in each region within an Alibaba Cloud account share the same concurrency limit.

Queue type

Feature

Default concurrency limit

Standard MPS queue

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

MPS queue for high-speed transcoding

The features and supported templates of MPS queues for high-speed transcoding are the same as those of standard MPS queues.

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

MPS queue for Narrowband HD™ 2.0

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 based on your business requirements, use standard MPS queues.

200

MPS queue for content moderation

This MPS queue is applicable to content moderation jobs.

10

MPS queue for video fingerprinting

This MPS queue is applicable to media fingerprint jobs.

10

MPS queue for smart tagging

This MPS queue is applicable to smart tagging jobs.

2

MPS queue for intelligent thumbnail creation

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

MPS queue for intelligent production

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