Creating a Transcoding Task
After you subscribe to MPC, you can create a transcoding task to convert media files stored in an OBS bucket from one media format to another or more and then save transcoded files to an output bucket.
Process Flow

Restrictions
- The supported video codecs: H.264, H.265, MPEG-2, MPEG-4, MJPEG, WMV1/2/3, and Proress422
- The supported audio codecs: AAC, AC3, EAC3, HE-AAC, MP2, MP3, PCM (s161e, s16be, s241e, s24be, DVD), and WMA
If the encoding format of the input file is not one of the preceding formats, transcoding will fail.
Prerequisites
- You have registered a HUAWEI CLOUD account.
- You have completed real-name authentication on HUAWEI CLOUD.
Procedure
- Subscribe to OBS and upload your media to an OBS bucket.
- Log in to the OBS console.
- Click Create Bucket in the upper right corner. On the displayed page, specify bucket parameters. For details about these parameters, see Creating a Bucket.
If you want to store the input file and output file in different buckets, create two buckets.
When creating a bucket, select a region where you want MPC to do the transcoding. If you use MPC in CN North-Beijing 4, then you need to create a bucket in CN North-Beijing 4.
- In the bucket list, click the name of your created bucket. The Summary page is displayed.
- Click Objects. If you want to upload the input file to a folder, click Create Folder. Then, click Upload Object to upload the input file.

You can also use OBS Browser to upload files in batches. For details, see Uploading an Object.
- Log in to the MPC console. In the navigation pane, choose Cloud Resource Authorization.
- Click the Bucket Authorization tab, locate the row that contains the target bucket, and click Authorize.
If the input file and output file are stored in different buckets, authorize access to the two buckets.

- In the navigation pane, choose Media Processing > Transcoding.
- Click Create Task. On the displayed page, specify transcoding parameters.
- Select the buckets and paths for storing the input file and output file.

- Select a transcoding template.
MPC provides a set of built-in one-in one-out and one-in multiple-out templates. These system templates have common parameters preconfigured such as the definition, bitrate, and resolution. You are advised to use them if you do not have special requirements. You can choose Global Settings > System Templates to view the parameters of a system template on the MPC console.
- Click OK. The transcoding task starts running.
- View the task status in the task list.

- If transcoding succeeds, click the output path in the Output column to switch to the OBS console, where you can view, download, and share the transcoded audio or video file.
- If transcoding fails, view the failure cause in the Output column to locate the fault.
Did this article solve your problem?
Thank you for your score!Your feedback would help us improve the website.