On the Tasks page of the ApsaraVideo Media Processing (MPS) console, you can generate a media file based on an uploaded video file by creating a job. You can create a transcoding job, a video moderation job, or a media fingerprinting job. This topic describes how to create and submit a job. This topic also describes how to view the status and details of a job after it is submitted.
Prerequisites
Input and output media buckets are added before you create a job. For more information, see Add media buckets.
Create a transcoding job
You can create a transcoding job to transcode a video into different formats that are suitable for playback on various platforms.
Parameter | Description |
---|---|
Input File URL |
Click Select next to the Input File URL field. In the Select File dialog box, select an Object Storage Service (OSS) bucket from the Bucket drop-down list. Then, folders in the OSS bucket are automatically displayed in the Path section. Select a folder as the input path. Note The Input File URL parameter specifies the path of the input video file that is stored in the OSS bucket.
If no bucket name is displayed in the Bucket drop-down list, create a bucket in this
region. For more information, see Add media buckets.
|
Encoding Pipeline | The MPS queue for transcoding.
Note If no MPS queue name is displayed in the Encoding Pipeline drop-down list, enable an MPS queue for transcoding. For more information, see Activate or pause an MPS queue.
|
Output File Name | Enter the name of the output file name in the Output File Name field. |
Output Path |
Click Select next to the Output Path field. In the Select Output Path dialog box, select an OSS bucket from the Bucket drop-down list. Then, folders in the OSS bucket are automatically displayed in the Path section. Select a folder as the output path. Note The Output Path parameter specifies the path of the output video file that is stored in the OSS bucket.
If no bucket name is displayed in the Bucket drop-down list, create a bucket in this
region. For more information, see Add media buckets.
|
Parameter | Description |
---|---|
Template Type | The type of the transcoding template. Default value: Preset Static Template.
Note MPS offers two types of transcoding templates: preset templates and custom templates.
|
Output format | Select the output format from the drop-down list. Default value: mp4. |
Template | Select a transcoding template from the list. Default value: MP4-4K. |
Watermark Template (Optional) | Turn on Watermark Template.
|
Clip Output (Optional) | Turn on Clip Output.
|
Rotate Angle (Optional) | Turn on Rotate Angle.
Enter the rotation angle in the Rotate Angle field. Valid values: 0 to 360. |
Create a video moderation job
MPS intelligently detects pornographic content, terrorism content, ads, and undesirable content in a video. This feature helps you reduce manpower costs for manual review and lower the risks that may be brought by non-compliant content. You can create a job to use the video moderation feature.
Parameter | Description |
---|---|
Input File URL |
Click Select next to the Input File URL field. In the Select File dialog box, select an Object Storage Service (OSS) bucket from the Bucket drop-down list. Then, folders in the OSS bucket are automatically displayed in the Path section. Select a folder as the input path. |
Content Moderation Pipeline | The MPS queue for video moderation. Select an MPS queue from the Content Moderation Pipeline drop-down list.
Note If no MPS queue name is displayed in the drop-down list, enable an MPS queue for video
moderation. For more information, see Activate or pause an MPS queue.
|
Moderation Type | The types of prohibited content to be detected. By default, Pornography and Terrorism are selected. |
Storage Path |
Click Select next to the Output Path field. In the Select Output Path dialog box, select an OSS bucket from the Bucket drop-down list. Then, folders in the OSS bucket are automatically displayed in the Path section. Select a folder as the output path. Note The Output Path parameter specifies the path of the output video file that is stored in the OSS bucket.
If no bucket name is displayed in the Bucket drop-down list, create a bucket in this
region. For more information, see Add media buckets.
|
Create a media fingerprinting job
You can create a media fingerprinting job to extract fingerprint features such as images and audio from a video to generate a media fingerprint. The media fingerprint can be used to find and remove duplicate videos, trace the source of video clips, filter videos that infringe copyright, and identify user-generated content (UGC).
Parameter | Description |
---|---|
Input File URL |
Click Select next to the Input File URL field. In the Select File dialog box, select an Object Storage Service (OSS) bucket from the Bucket drop-down list. Then, folders in the OSS bucket are automatically displayed in the Path section. Select a folder as the input path. |
Video DNA Pipeline | The MPS queue for media fingerprinting.
Note If no MPS queue name is displayed in the Video DNA Pipeline drop-down list, enable an MPS queue for media fingerprinting. For more information,
see Activate or pause an MPS queue.
|
Inbound Rule for DNA Library | The rule of adding fingerprints to the media fingerprint library. Default value: Save Non-duplicated Content Only. |
Advanced Settings (Optional) | Turn on Copyright Protection.
Note After you enable the copyright protection feature, the media fingerprint information
is stored by using the Ant Blockchain technologies developed by Ant Financial and
is available for future inspections conducted by judicial authorities.
|
Query a snapshot job
You can query the status of a snapshot job in a workflow that is run. For information about how to add a snapshot node in a workflow, see Create a workflow.