This topic describes how to trigger a transcoding task in a workflow in the ApsaraVideo Media Processing (MPS) console.
Procedure
- Log on to the MPS console. In the top navigation bar, select a region.
- Add media buckets.
In the left-side navigation pane, choose Input Buckets tab, click Add Bucket and configure the parameters. Perform the same operations on the Output Buckets tab. For more information, see Add media buckets.
. On the - Activate an MPS queue.
In the left-side navigation pane, choose Activate or pause an MPS queue.
. Find the MPS queue that you want to activate and click Activate in the Actions column. For more information, see - Optional. Create a transcoding template.
If the preset templates cannot meet your business requirements, you can create a custom transcoding template. For more information, see Transcoding templates.
- Create a workflow.
In the left-side navigation pane, choose Create a workflow.
. On the Workflow Settings page, click Create Workflow and configure the parameters. For more information, see - Upload video files.
You can upload video files in the MPS console or the Object Storage Service (OSS) console. We recommend that you upload video files in the OSS console. For more information, see Upload a video.
- Trigger the workflow.
If the uploaded videos meet the workflow triggering rule, the workflow is triggered. For videos that are uploaded to the input path before the workflow is created, you must call the AddMedia operation to trigger the workflow. This prevents repeated transcoding.
- View output media files.
In the left-side navigation pane, choose Manage media files.
and view output media files. For more information, seeFor more information about how to view the status of the workflow, see View execution Instances.