This topic describes how to create, enable, disable, and delete an ApsaraVideo Media Processing (MPS) queue in the MPS console.

Background information

An MPS queue is a queue for processing jobs. A job must be added to an MPS queue to be scheduled and run. If an MPS queue contains a large number of jobs, the jobs are queued up. An MPS queue can be in the In Use or Stopped state.

MPS provides multiple types of MPS queues that you can use to process different types of jobs based on your business requirements. The following table describes the types of MPS queues. By default, a standard MPS queue and an MPS queue for intelligent production are enabled for each Alibaba Cloud account. For more information about how to create or enable other types of MPS queues, see the Procedure section of this topic.
Note
  • Intelligent production jobs, including intelligent thumbnail creation jobs, must be run in an MPS queue for intelligent production. MPS assigns you a default MPS queue for intelligent production that is not displayed in the MPS console. You cannot modify the default MPS queue for intelligent production or create another one. If you do not specify the ID of an MPS queue when you call the SubmitIProductionJob operation to submit an intelligent production job, the default MPS queue for intelligent production is used.
  • You must use an MPS queue for intelligent thumbnail creation when you submit an intelligent thumbnail creation job in the MPS console.
Feature MPS queue type Default concurrency limit
Regular transcoding and Narrowband HD™ 1.0 transcoding Standard MPS queue 200
Narrowband HD™ 2.0 transcoding MPS queue for Narrowband HD™ 2.0 200
High-speed transcoding MPS queue for high-speed transcoding 200
Content moderation MPS queue for content moderation 10
Media fingerprinting MPS queue for media fingerprinting 10
Smart tagging MPS queue for smart tagging 2
Intelligent thumbnail MPS queue for intelligent thumbnail creation 10
Intelligent production such as video synopsis and caption extraction MPS queue for intelligent production 10

Procedure

  1. Log on to the MPS console.
  2. In the top navigation bar, select a region from the drop-down list. Region drop-down list
  3. In the left-side navigation pane, choose Global Settings > Pipelines.
  4. On the Pipelines page, click Create MPS Queue.
  5. In the Create MPS Queue dialog box, configure the parameters that are described in the following table.
    Parameter Description
    MPS Queue Name The name of the MPS queue. The name can contain letters, digits, and special characters such as hyphens (-), and can be up to 128 bytes in size. The name cannot start with a special character.
    MPS Queue Type The type of the MPS queue. Select an appropriate MPS queue type based on the feature that you use. If the feature that you use is not supported in the current region, you can create a job but the job fails to be run.
  6. Click OK.
    Note After you create an MPS queue, it is in the In Use state by default.
  7. Optional. Configure the notification feature for the MPS queue.
    1. Find the MPS queue for which you want to enable the notification feature and click Set Notifications in the Actions column.
      Note You can integrate Message Service (MNS) to associate an MNS topic or queue with an MPS queue. If a job is complete in the MPS queue, MPS sends a notification to the specified MNS topic or queue. For more information, see Enable the notification feature for jobs or workflows.
      Parameter Description
      Notifications Specifies whether to enable the notification feature. Turn on Notifications.
      Message Type The type of message. Select Queue or Topic.
      Queue Name or Topic Name The name of the MNS queue or topic. Select a queue or a topic from the Queue Name or Topic Name drop-down list based on the option that you select for the Message Type parameter.
    2. Click OK.

What to do next

Important
  • If you submit a job to an MPS queue that is deleted or disabled, MPS does not schedule or run the job.
  • The jobs that are submitted before you delete or disable an MPS queue are not affected. However, the jobs that are queued up cannot be canceled and MPS runs the jobs later. You are charged the corresponding fees.
  • Submit a job: When you create a job or create a workflow and configure the input parameters, select an appropriate MPS queue. For more information, see Job management and Create a workflow.
  • Enable or disable an MPS queue
    1. Log on to the MPS console. In the left-side navigation pane, choose Global Settings > Pipelines.
    2. Find the MPS queue that you want to manage. Click Activate or Stop in the Actions column to enable or disable the MPS queue.
  • Delete an MPS queue
    1. Log on to the MPS console. In the left-side navigation pane, choose Global Settings > Pipelines.
    2. Find the MPS queue that you want to manage. Click Stop in the Actions column. After the MPS queue is disabled, click Delete MPS Queue.

Related API operations

You can call the UpdatePipeline operation to modify the name, state, and notification settings of a specific MPS queue. For more information, see UpdatePipeline.

For more information about other API operations, see MPS queue management.