All Products
Search
Document Center

Intelligent Media Services:Task management

Last Updated:Feb 19, 2025

If you want to use Intelligent Media Services (IMS) for transcoding, you can create a transcoding task in the IMS console or by calling an API operation. This topic introduces how to create and manage a transcoding task in IMS.

Create a transcoding task

Use the IMS console

  1. Log on to the IMS console.

  2. In the upper-left corner, select a region based on your business requirements.

  3. In the left-side navigation pane, choose VOD Media Processing > Task Management.

  4. On the Transcoding tab, click Create Transcoding Task. Configure the following parameters:

    截屏2025-01-10 16

    截屏2025-01-10 16

    Parameter

    Description

    Basic Parameters

    Task Name

    The name of the transcoding task.

    File Source

    The source of the media asset. Valid values: OSS and Media Asset Management.

    OSS Path

    The Object Storage Service (OSS) directory in which the media asset is stored. This parameter is required if the File Source parameter is set to OSS.

    Storage Address

    The IMS directory in which the media asset is stored. This parameter is required if the File Source parameter is set to Media Asset Management. After you select a directory, click Add File to select a media asset.

    Select a template

    The transcoding template.

    Subtitle Configuration

    Subtitle

    Specifies whether to enable the subtitle feature.

    External Subtitle File

    The subtitle files to be added to the video.

    Subtitle Template

    The subtitle template.

    Watermark Configuration

    Watermark

    Specifies whether to enable the watermark feature.

    Watermark Template

    The watermark template.

    Output Information

    Output Location

    • Original Storage Location: The processed file is saved in the directory in which the source file is stored.

    • Custom: Specify a custom directory in which the processed file is saved.

    Output Address

    The custom directory in which the processed file is saved.

    Output File Name

    The name of the transcoded file. You must add a file name extension except for an M3U8 file.

Call an API operation

Call the SubmitMediaConvertJob operation to submit a transcoding task.

Query the details of the transcoding task

Use callback information

You can query the details of a transcoding task based on the callback that indicates a transcoding subtask or a main transcoding task is complete. For more information, see Callback overview.

Call an API operation

Call the GetMediaConvertJob operation to query the details of a transcoding task.