All Products
Search
Document Center

ApsaraVideo Media Processing:Create a Narrowband HDTM 1.0 transcoding job

Last Updated:Oct 23, 2023

Narrowband HDTM 1.0 transcoding is a transcoding feature provided by ApsaraVideo Media Processing (MPS). Narrowband HDTM 1.0 analyzes the properties such as the scene, movement, content, and texture in a video during transcoding and generates the output video with lower bitrate and bandwidth cost without compromising the image quality.

Prerequisites

The following configurations are complete before you create a Narrowband HD™ 1.0 transcoding job:

  • Enable an MPS queue. For more information, see Create and manage MPS queues. You can use a standard MPS queue or an MPS queue for high-speed transcoding to run Narrowband HD™ 1.0 transcoding jobs.

  • Upload the video to be processed to OSS. For more information, see Upload a video.

  • Configure a transcoding template. MPS provides preset Narrowband HD™ 1.0 transcoding templates. You can also apply for custom templates.

  • (Optional)Configure a watermark template. If you want to add a watermark to a video, we recommend that you use a watermark template for your convenience. For more information, see Manage watermark templates.

  • (Optional)If you need to receive notifications after jobs are complete, configure the notification feature. For more information, see Enable the notification feature for jobs or workflows.

Create a Narrowband HDTM 1.0 transcoding template

If the preset Narrowband HD™️ 1.0 transcoding templates do not meet your transcoding requirements, you can apply for custom templates. Contact your business manager and provide the UID of your Alibaba Cloud account, region in which MPS is activated, ID of the transcoding template, and customization requirements, such as output resolution, bitrate, encoding format, and image quality requirements.

Create a Narrowband HDTM 1.0 transcoding job or workflow

Create a Narrowband HDTM 1.0 transcoding job

  1. Log on to the ApsaraVideo Media Processing (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 Tasks > Job Management.

  4. On the Encode tab, click Create Task.

  5. Configure the parameters. For more information, see Create a transcoding job. Configure the Encoding Pipeline and Transcoding Templates parameters based on the following instructions:

    1. Encoding Pipeline: Select a standard MPS queue or an MPS queue for high-speed transcoding.

    2. Transcoding Templates: Set the Template Type parameter to Custom Templates or Preset Narrowband HD Template, and select a custom template or a preset Narrowband HD™️ 1.0 transcoding template. The name of a preset Narrowband HD™️ transcoding template ends with Narrowband HD™.1.0

  6. Click Submit. The Narrowband HDTM 1.0 transcoding job is created.

Create a Narrowband HDTM 1.0 transcoding workflow

  1. Log on to the ApsaraVideo Media Processing (MPS) console.
  2. In the top navigation bar, select a region from the drop-down list. Region drop-down list
  3. Create a transcoding workflow. For more information, see Create a workflow. Configure the Encoding Pipeline in the Input node and the Transcoding Templates parameters in the Encode node based on the following instructions:

    1. Encoding Pipeline: Select a standard MPS queue or an MPS queue for high-speed transcoding.

    2. Transcoding Templates: Set the Template Type parameter to Custom Templates or Preset Narrowband HD Template, and select a custom template or a preset Narrowband HD™️ 1.0 transcoding template. The name of a preset Narrowband HD™️ transcoding template ends with Narrowband HD™.1.0

  4. Then, if a video is uploaded to the specified path, the workflow is triggered.

    Note

    You can also manually trigger the workflow after a video is uploaded. For more information, see Workflow overview.

Create a Narrowband HDTM 1.0 transcoding job by calling an API operation

  1. Submit a Narrowband HD™️ 1.0 transcoding job.

    For videos and audios that have been uploaded to Object Storage Service (OSS), you can call the SubmitJobs operation to submit a Narrowband HD™️ 1.0 transcoding job.

    1. PipelineId: the ID of the MPS queue. Set this parameter to the ID of a standard MPS queue or an MPS queue for high-speed transcoding.

    2. TemplateId: the ID of the transcoding template. Set this parameter to the ID of a custom template or preset Narrowband HD™️ 1.0 transcoding template.

    3. For information about other parameters, see SubmitJobs.

  2. Receive a callback notification.

    If you have activated Message Service (MNS) and configured a queue or topic to receive notifications, MPS sends a notification to the queue or topic after the transcoding job is complete. For more information, see Receive notifications.

  3. Query the results of the transcoding job.

    1. You can call the QueryJobList operation to query the results of the transcoding job and the URL of the output file.

    2. You can call the ListJob operation to query multiple transcoding jobs at a time based on the MPS queue ID, job status, and creation time interval.