Job management

更新时间:
复制 MD 格式

In the job management module, you can quickly submit individual processing jobs for media files stored in OSS. These jobs include transcoding, snapshots, intelligent thumbnails, video moderation, media fingerprinting, and smart tags. This topic describes how to create and submit these jobs, and how to view their status and details.

Prerequisites

  • Set an input Bucket and an output Bucket. For more information, see Add media Buckets.

  • Enable the required pipeline based on the job type. For more information, see Enable a pipeline.

  • Optional: Create a template. If preset templates do not meet your business requirements, you can create a custom one. For more information, see Transcoding templates.

Limitations

The maximum size of an input file is 100 GB. Jobs fail if the file size exceeds this limit.

Create a transcoding job

This section describes how to submit a single transcoding job in the console. You can create a transcoding job to convert a video file into formats suitable for playback on various platforms. For a quick overview of the process, see Quickly submit a transcoding job.

Note

You can also submit a transcoding job by calling the SubmitJobs operation, or configure a workflow to automatically start multi-node transcoding jobs after a file is uploaded. For more information, see Get started with workflows.

  1. Log on to the MPS console.

  2. In the top navigation bar, select a region from the drop-down list.地域

  3. In the navigation pane on the left, choose Job Management.

  4. On the Encode tab, click Create Task.

  5. Configure the job parameters.

Parameter

Description

Input File URL

Click Select. In the Bucket drop-down list, select a Bucket. The folders in the selected Bucket are displayed under Path. Select an input file from a folder.

Note
  • If no Buckets are available in the Bucket drop-down list, go to the OSS console and create a Bucket in the current region. For more information, see Add media Buckets.

  • If you select a Bucket and no files are available under the path, go to OSS and upload files to the current Bucket in the current region.

  • If prompted that OSS is not activated, activate the service in the OSS console. For more information, see Activate OSS.

  • If you encounter a role error or a permissions error, log on with your Alibaba Cloud account, go to the Resource Access Management (RAM) console, and grant the required OSS access permissions to your current RAM user. You can attach the AliyunOSSFullAccess policy to grant full permissions on OSS, or customize permissions as needed. For more information, see Create a RAM user and grant permissions.

Encoding Pipeline

Select a pipeline name from the drop-down list.

Note
  • If no pipeline is available in the drop-down list, enable a pipeline first. For more information, see Enable a pipeline.

  • The transcoding pipeline has a default concurrency limit of 200 jobs. This is a soft limit and depends on resource availability.

Output File Name

Enter a name for the output file. A file extension is required for all file types except M3U8. For example: example_video01.mp4.

Output Path

Click Select. In the Bucket drop-down list, select a Bucket. The folders in the selected Bucket are displayed under Path. Select a folder to use as the output path.

Note
  • If the output path is the same as the input path and you use a different output file name, the source file is not overwritten. If the file names are the same, whether the source file is overwritten depends on your OSS configuration. To prevent overwriting, see Prohibit overwriting objects with the same name (Java). After this configuration is applied, writing the transcoded file to OSS fails if its name is the same as the source file. We recommend using a different name for the output file.

  • For information about how to resolve other common issues, see the description of the Input File URL parameter above.

  1. Click Next.

  2. Configure the Encoding Template.

Parameter

Description

Template Type

Select the type of transcoding template. For information about preset templates, see Preset template details. To create a custom transcoding template, see Transcoding templates.

Output Format

Select an output format from the drop-down list. The default format is mp4.

Template

Select a template from the list. The default template is MP4-4K.

(Optional) Watermark Template

Click the toggle switch to enable this feature.

  1. Select an existing watermark template from the Watermark Template drop-down list. If no watermark templates are available, create one first. For more information, see Watermark templates.

  2. To the right of Watermark Image, click Select. In the Bucket drop-down list, select a Bucket. The folders in the selected Bucket are displayed under Path. Select an image file to use as the watermark.

    Note

    Supported formats include PNG, animated PNG, and animated MOV files.

(Optional) Clip Output

Click the toggle switch to enable this feature. Specify the start time and duration to create a clip from the source video.

  1. In the Start From field, enter a start time in HH:mm:ss format.

    Note

    The start time must be less than the total video duration. Otherwise, the transcoding job fails.

  2. In the Clip Length field, enter a duration in HH:mm:ss format.

    Note

    If the specified clip length exceeds the available duration from the start time, the clip extends to the end of the source video.

(Optional) Rotate Angle

Enter a clockwise rotation angle. The value must be in the range of [0, 360].

  1. Click Submit to create the job.

    After the job is submitted, you can view its status, configuration, paths, and other details in the job list on the current tab.

    Note

    If a job fails and you cannot view its details, check your network connection and resubmit it.

Create an intelligent thumbnail job

The intelligent thumbnail feature uses AI to understand video content. It combines visual analysis with large-scale user behavior data to select the optimal keyframe or clip to use as a video cover, improving click-through rates and the user experience.

  1. Log on to the MPS console.

  2. In the top navigation bar, select a region from the drop-down list.地域

  3. In the navigation pane on the left, choose Job Management.

  4. On the Intelligent Thumbnail tab, click Create Task.

  5. Configure the job parameters.

Parameter

Description

Input File URL

Click Select. In the Bucket drop-down list, select a Bucket. The folders in the selected Bucket are displayed under Path. Select an input file from a folder.

Note
  • If no Buckets are available in the Bucket drop-down list, go to the OSS console and create a Bucket in the current region. For more information, see Add media Buckets.

  • If no files are available in the path after you select a Bucket, go to OSS to upload a file to that Bucket in the current region.

  • If prompted that OSS is not activated, activate the service in the OSS console. For more information, see Activate OSS.

  • If you encounter a role error or a permissions error, log on with your Alibaba Cloud account, go to the Resource Access Management (RAM) console, and grant the required OSS access permissions to your current RAM user. You can attach the AliyunOSSFullAccess policy to grant full permissions on OSS, or customize permissions as needed. For more information, see Create a RAM user and grant permissions.

Intelligent Thumbnail Pipeline

Select a pipeline name from the drop-down list.

Note
  • If no pipeline is available in the drop-down list, enable a pipeline first. For more information, see Enable a pipeline.

  • The intelligent thumbnail pipeline has a default concurrency limit of 10 jobs. This is a soft limit and depends on resource availability.

Output Path

Click Select. In the Bucket drop-down list, select a Bucket. The folders in the selected Bucket are displayed under Path. Select a folder to use as the output path.

Note
  • If the output path is the same as the input path and you use a different output file name, the source file is not overwritten. If the file names are the same, whether the source file is overwritten depends on your OSS configuration. To prevent overwriting, see Prohibit overwriting objects with the same name (Java). After this configuration is applied, writing the transcoded file to OSS fails if its name is the same as the source file. We recommend using a different name for the output file.

  • For information about how to resolve other common issues, see the description of the Input File URL parameter above.

  1. Click Submit to create the job.

    After the job is submitted, you can view its status, configuration, paths, and other details in the job list on the current tab.

    Note

    If a job fails and you cannot view its details, check your network connection and resubmit it.

Create a video moderation job

Create a video moderation job to automatically detect pornographic content, terrorist and politically sensitive content, ads, and undesirable content in a video. This helps you reduce manual review costs and lower compliance risks.

  1. Log on to the MPS console.

  2. In the top navigation bar, select a region from the drop-down list.地域

  3. In the navigation pane on the left, choose Job Management.

  4. On the Content Moderation tab, click Create Task.

  5. Configure the Input and Output parameters.

Parameter

Description

Input File URL

Click Select. In the Bucket drop-down list, select a Bucket. The folders in the selected Bucket are displayed under Path. Select an input file from a folder.

Note
  • If no Buckets are available in the Bucket drop-down list, go to the OSS console and create a Bucket in the current region. For more information, see Add media Buckets.

  • If you select a Bucket and no files are available in the path, go to OSS to upload files to the bucket in the current region.

  • If prompted that OSS is not activated, activate the service in the OSS console. For more information, see Activate OSS.

  • If you encounter a role error or a permissions error, log on with your Alibaba Cloud account, go to the Resource Access Management (RAM) console, and grant the required OSS access permissions to your current RAM user. You can attach the AliyunOSSFullAccess policy to grant full permissions on OSS, or customize permissions as needed. For more information, see Create a RAM user and grant permissions.

Content Moderation Pipeline

Select a pipeline name from the Content Moderation Pipeline drop-down list.

Note
  • If no pipeline is available in the drop-down list, enable a pipeline first. For more information, see Enable a pipeline.

  • The video moderation pipeline has a default concurrency limit of 10 jobs. This is a soft limit and depends on resource availability.

Moderation Type

By default, Pornography and Terrorism are selected.

Storage Path

Click Select. In the Bucket drop-down list, select a Bucket. The folders in the selected Bucket are displayed under Path. Select a folder to use as the output path.

Note
  • If the output path is the same as the input path and you use a different output file name, the source file is not overwritten. If the file names are the same, whether the source file is overwritten depends on your OSS configuration. To prevent overwriting, see Prohibit overwriting objects with the same name (Java). After this configuration is applied, writing the transcoded file to OSS fails if its name is the same as the source file. We recommend using a different name for the output file.

  • For information about how to resolve other common issues, see the description of the Input File URL parameter above.

  1. Click Submit to create the job.

    After the job is submitted, you can view its status, configuration, paths, and other details in the job list on the current tab.

    Note

    If a job fails and you cannot view its details, check your network connection and resubmit it.

Create a media fingerprinting job

This feature extracts features from a video's image and audio content to generate a media fingerprint. You can use media fingerprints to find duplicate videos, trace the source of video clips, and filter copyrighted content. Use cases include video deduplication, copyright infringement filtering, originality identification, and content tracing.

  1. Log on to the MPS console.

  2. In the top navigation bar, select a region from the drop-down list.地域

  3. In the navigation pane on the left, choose Job Management.

  4. On the Video DNA tab, click Create Task.

  5. Configure the job parameters.

Parameter

Description

Input File URL

Click Select. In the Bucket drop-down list, select a Bucket. The folders in the selected Bucket are displayed under Path. Select an input file from a folder.

Note
  • If no Buckets are available in the Bucket drop-down list, go to the OSS console and create a Bucket in the current region. For more information, see Add media Buckets.

  • If no files are available under the path after you select a Bucket, go to OSS and upload files to that Bucket in the current region.

  • If prompted that OSS is not activated, activate the service in the OSS console. For more information, see Activate OSS.

  • If you encounter a role error or a permissions error, log on with your Alibaba Cloud account, go to the Resource Access Management (RAM) console, and grant the required OSS access permissions to your current RAM user. You can attach the AliyunOSSFullAccess policy to grant full permissions on OSS, or customize permissions as needed. For more information, see Create a RAM user and grant permissions.

Video DNA Pipeline

Select a pipeline name from the drop-down list.

Note
  • If no pipeline is available in the drop-down list, enable a pipeline first. For more information, see Enable a pipeline.

  • The media fingerprinting pipeline has a default concurrency limit of 10 jobs. This is a soft limit and depends on resource availability.

Inbound Rule for DNA Library

Select a rule from the Inbound Rule for DNA Library options. The default rule is Save Non-duplicated Content Only.

  1. Click Submit to create the job.

    After the job is submitted, you can view its status, configuration, paths, and other details in the job list on the current tab.

    Note

    If a job fails and you cannot view its details, check your network connection and resubmit it.

Create a smart tagging job

Note

This feature is available in the China (Beijing) and China (Shanghai) regions.

  1. Log on to the MPS console.

  2. In the top navigation bar, select a region from the drop-down list.地域

  3. In the navigation pane on the left, choose Job Management.

  4. On the Smart Tagging tab, click Create Task.

  5. Configure the job parameters.

Parameter

Description

Input File URL

Click Select. In the Bucket drop-down list, select a Bucket. The folders in the selected Bucket are displayed under Path. Select an input file from a folder.

Note
  • If no Buckets are available in the Bucket drop-down list, go to the OSS console and create a Bucket in the current region. For more information, see Add media Buckets.

  • If no files are available in the path after you select a Bucket, first go to OSS and upload a file to the Bucket in the current region.

  • If prompted that OSS is not activated, activate the service in the OSS console. For more information, see Activate OSS.

  • If you encounter a role error or a permissions error, log on with your Alibaba Cloud account, go to the Resource Access Management (RAM) console, and grant the required OSS access permissions to your current RAM user. You can attach the AliyunOSSFullAccess policy to grant full permissions on OSS, or customize permissions as needed. For more information, see Create a RAM user and grant permissions.

Smart Tagging Pipelines

Select a pipeline name from the drop-down list.

Note
  • If no pipeline is available in the drop-down list, enable a pipeline first. For more information, see Enable a pipeline.

  • The smart tag pipeline has a default concurrency limit of 2 jobs. This is a soft limit and depends on resource availability.

Title

Enter a title for the file. This title is used as an input for multi-modal video classification.

Template

Select a template name from the drop-down list.

Note

If no templates are available in the drop-down list, go to Global Settings > Smart Tagging Templates to create a template.

Return raw OCR results

Click the switch to specify whether to return text recognition results. When enabled, the labeling task can return the raw OCR text recognition results.

Return raw ASR results

Click the switch to enable or disable the return of text recognition results. When enabled, the labeling task can return the raw ASR results.

  1. Click Submit Task to create the job.

    After the job is submitted, you can view its status, configuration, paths, and other details in the job list on the current tab.

    Note

    If a job fails and you cannot view its details, check your network connection and resubmit it.

Query a snapshot job

You can query the status of snapshot jobs that ran as part of a workflow. To add a snapshot node to a workflow, see Create a workflow.

  1. Log on to the MPS console.

  2. In the top navigation bar, select a region from the drop-down list.地域

  3. In the navigation pane on the left, choose Job Management.

  4. Click the Snapshot tab. From the drop-down list, select Search by Time or Search by ID.

  5. Based on the selected criteria, select a Start time and an End Time, or enter a snapshot task ID, and then click Query.

API reference