ApsaraVideo for Media Processing

A cloud service for transcoding multimedia data into various output resolutions, bit rates, and formats for unhindered playback

Buy Now Contact Sales

Overview

Alibaba Cloud Media Processing is a cloud service for transcoding multimedia data. It provides a cost-effective, easy-to-use, elastic, and highly scalable method to convert audio and video into formats suitable for playing on PCs, TVs, and mobile interfaces.

Media Processing was designed based on the needs of Alibaba Cloud users. In the past, users dedicated time and resources to purchase, build, and manage transcoding software and hardware, as well as perform sophisticated configuration optimization, transcode parameter adaptation, and other operations. Media Processing has changed all this by enhancing the elasticity of the cloud; this service provides transcoding capabilities to satisfy tomorrow's transcoding demands all while reducing waste.s.


Benefits

Powerful Transcoding Capabilities

The high-speed and stable parallel transcoding system dynamically adjusts transcoding resources as needed. It provides automatic scaling to seamlessly extend cluster resources in response to high-concurrency transcoding needs.

Specialized Transcoding Algorithms

This service provides powerful computing resources, advanced video processing algorithms, and globally unique image quality restoration technology. It reconstructs normal or corrupted video content as ultra-HD or digitally-restored versions.

Feature-rich, Highly Customizable

1. The service provides video transcoding, snapshots, watermarks, video editing, splicing, and many other media transcoding capabilities that suit various scenarios.

2. In addition, it provides highly-scalable media transcoding templates and custom transcoding parameters to meet diverse transcoding needs.

Easy-to-use Media Workflows

Custom media workflows automatically trigger media workflow transcoding when files are uploaded. A messaging mechanism provides real time status updates and a normal video processing flow can be constructed in one minute.

Cost-effective

1. Pay for what you actually use without the need for upfront investment.

2. Narrowband HD and H.265 technology provide smaller file sizes and less traffic, while retaining video quality.

Product Details

As a one-stop audio and video-on-demand solution, Media Processing Services integrates video audio and video upload, automatic transcoding, media resource management and distribution to help users quickly build common audio and video processing processes. This includes highly scalable media processing templates, a rich set of media processing functions, and highly scalable media workflows.


Features

Highly Scalable Media Workflows

Custom media workflows automatically trigger media workflow transcoding when files are uploaded. A messaging mechanism provides real-time status updates and a normal video processing flow can be constructed in one minute.

Numerous Media Transcoding Functions

Video Transcoding

The service supports mainstream video formats and provides narrowband HD, digital restoration, and efficient, specialized, and customizable video transcoding services.

Snapshots

Media Transcoding allows you to take JPG format snapshots at specified times of video file stored in OSS.

Watermarks

A maximum of four static images in PNG format can be added to an output video.

Video Editing and Splicing

Extract a media clip of a specified duration from a specified start point and splice multiple audio/video clips into a single file.

AV Extraction

Isolates the audio or video in the video file and transcode as needed.

Video-to-GIF Conversion

Transcode a video to output an animated GIF.

Highly Scalable Media Transcoding Templates

Preset Templates

Preset transcoding templates are built into the service, so you can directly call video, audio, and preset encapsulation templates. These templates apply to all playback devices and bandwidth conditions.

Smart Templates

Based on video content analysis results, the system intelligently recommends smart transcoding templates that provide optimal video quality.

Custom Templates

A custom transcoding template is a set of custom transcoding parameters, including audio, video, and container parameters. You can configure custom templates to suit your individual transcoding needs.


Pricing

Price calculation formula: Transcoding fee = Output file duration x Transcoding unit price

Output duration: For each output file, fees are calculated by minute, with durations precise to two decimal places and the second decimal place rounded up if the third decimal place is 5 or larger. Videos of less than 1 second are counted as 0.02 minutes.

Output SpecificationPay-As-You-Go (USD/Minute)
H.264 4K (3840 x 2160)0.05
H.264 2K (2560 x1440)0.0375
H.264 HD (1920 x 1080)0.025
H.264 SD (1280 x 720)0.0125
H.264 LD (640 x 480)0.0094
COPY0.0021
Audio0.0031
H.265 4K (3840 x 2160)0.25
H.265 2K (2560 x 1440)0.1875
H.265 HD (1920 x 1080)0.125
H.265 SD (1280 x 720)0.0625
H.265 LD (640 x 480)0.0469
Output SpecificationPay-As-You-Go (USD/Minute)
H.264 4K (3840 x 2160)0.045
H.264 2K (2560 x 1440)0.0338
H.264 HD (1920 x 1080)0.0225
H.264 SD (1280 x 720)0.0113
H.264 LD (640 x 480)0.0084
COPY0.0019
Audio0.0028
H.265 4K (3840 x 2160)0.225
H.265 2K(2560 x1440)0.1688
H.265 HD (1920 x 1080)0.1125
H.265 SD (1280 x 720)0.0563
H.265 LD (640 x 480)0.0422
Output SpecificationPay-As-You-Go (USD/Minute)
H.264 4K (3840 x 2160)0.045
H.264 2K (2560 x 1440)0.0338
H.264 HD (1920 x 1080)0.0225
H.264 SD (1280 x 720)0.0113
H.264 LD (640 x 480)0.0084
COPY0.0019
Audio0.0028
H.265 4K(3840 x 2160)0.225
H.265 2K (2560 x1440)0.1688
H.265 HD (1920 x 1080)0.1125
H.265 SD (1280 x 720)0.0563
H.265 LD (640 x 480)0.0422
Output SpecificationPay-As-You-Go (USD/Minute)
H.264 4K (3840 x 2160)0.045
H.264 2K (2560 x 1440)0.0338
H.264 HD (1920 x 1080)0.0225
H.264 SD (1280 x 720)0.0113
H.264 LD (640 x 480)0.0084
COPY0.0019
Audio0.0028
H.265 4K (3840 x 2160)0.225
H.265 2K (2560 x 1440)0.1688
H.265 HD (1920 x 1080)0.1125
H.265 SD (1280 x 720)0.0563
H.265 LD (640 x 480)0.0422
Output SpecificationPay-As-You-Go (USD/Minute)
H.264 4K (3840 x 2160)0.05
H.264 2K (2560 x 1440)0.0375
H.264 HD (1920 x 1080)0.0225
H.264 SD (1280 x 720)0.0125
H.264 LD (640 x 480)0.0094
COPY0.0021
Audio0.0031
H.265 4K (3840 x 2160)0.25
H.265 2K (2560 x1440)0.1875
H.265 HD (1920 x 1080)0.125
H.265 SD (1280 x 720)0.0625
H.265 LD (640 x 480)0.0469
Output SpecificationPay-As-You-Go (USD/Minute)
H.264 4K (3840 x 2160)0.0427
H.264 2K (2560 x1440)0.0213
H.264 HD (1920 x 1080)0.0099
H.264 SD (1280 x 720)0.005
H.264 LD (640 x 480)0.0033
COPY0.0011
Audio0.0009
H.265 4K (3840 x 2160)0.2134
H.265 2K (2560 x 1440)0.1067
H.265 HD (1920 x 1080)0.0496
H.265 SD (1280 x 720)0.0248
H.265 LD (640 x 480)0.0165
Output SpecificationPay-As-You-Go (USD/Minute)
H.264 4K (3840 x 2160)0.0427
H.264 2K (2560 x1440)0.0213
H.264 HD (1920 x 1080)0.0099
H.264 SD (1280 x 720)0.005
H.264 LD (640 x 480)0.0033
COPY0.0011
Audio0.0009
H.265 4K (3840 x 2160)0.2134
H.265 2K (2560 x 1440)0.1067
H.265 HD (1920 x 1080)0.0496
H.265 SD (1280 x 720)0.0248
H.265 LD (640 x 480)0.0165
Output SpecificationPay-As-You-Go (USD/Minute)
H.264 4K (3840 x 2160)0.0427
H.264 2K (2560 x 1440)0.0213
H.264 HD (1920 x 1080)0.0099
H.264 SD (1280 x 720)0.005
H.264 LD (640 x 480)0.0033
COPY0.0011
Audio0.0009
H.265 4K(3840 x 2160)0.2134
H.265 2K (2560 x 1440)0.1067
H.265 HD (1920 x 1080)0.0496
H.265 SD (1280 x 720)0.0248
H.265 LD (640 x 480)0.0165
Output SpecificationPay-As-You-Go (USD/Minute)
H.264 4K (3840 x 2160)0.0427
H.264 2K (2560 x 1440)0.0213
H.264 HD (1920 x 1080)0.0099
H.264 SD (1280 x 720)0.005
H.264 LD (640 x 480)0.0033
COPY0.0011
Audio0.0009
H.265 4K (3840 x 2160)0.2134
H.265 2K (2560 x 1440)0.1067
H.265 HD (1920 x 1080)0.0496
H.265 SD (1280 x 720)0.0248
H.265 LD (640 x 480)0.0165
Output SpecificationPay-As-You-Go (USD/Minute)
H.264 4K (3840 x 2160)0.0500
H.264 2K (2560 x1440)0.0375
H.264 HD (1920 x 1080)0.0250
H.264 SD (1280 x 720)0.0125
H.264 LD (640 x 480)0.0094
COPY0.0021
Audio0.0031
H.265 4K (3840 x 2160)0.2500
H.265 2K (2560 x 1440)0.1875
H.265 HD (1920 x 1080)0.1250
H.265 SD (1280 x 720)0.0625
H.265 LD (640 x 480)0.0469

Description:

1.The output specification is determined by the long and short sides of the output video resolution. For example, output video resolutions where the horizontal side does not exceed 1280 and the vertical side does not exceed 720 are regarded as the SD (1280 x 720) specification. If the horizontal side of the output video exceeds 1280 or the vertical side exceeds 720, this video provides a higher specification.

2. Above price is for normal transcoding, the price of fast transcoding is triple the normal price.

Considerations

1. Service suspension mechanism

When your current account balance is insufficient, Alibaba Cloud will suspend your service within 15 days. After service is suspended, you cannot submit any new tasks, and Alibaba does not provide Media Processing for tasks you have already submitted for execution. However, tasks that are currently in the state of transcoding will continue until they are complete. If you top up your account within 15 days (360 hours (15 x 24) from the time of account suspension), your suspended Media Processing service is restored and can continue to use the service. After 15 days, tasks you have submitted for execution are released, and your data cannot be recovered.

2. Other considerations

Transcoding resources are allocated through mutually independent pipelines. A single transcoding resource can only process one task at a time. Media Processing supports shared transcoding resources, and each user is given a quota of such resources. The maximum number of tasks simultaneously processed for a single user cannot exceed the quota. When the system is busy, the number of jobs simultaneously processed may be less than the quota of the shared transcoding resources.


Scenarios

Video Websites

This service provides an all-in-one on-demand audio/video streaming solution that combines audio/video uploads, automated transcoding, media resource management, and distribution acceleration capabilities. This will help you build secure, elastic, and highly-customized on-demand broadcast platforms and applications.

Online Education

This service provides a rich set of video capabilities, delivering you the ultimate viewing experience in helping you construct education platforms. The service allows teachers to share course videos and centrally manage educational resources.

Game Videos

You can quickly create a full-featured game video publishing platform that provides a complete range of video services for gaming portals.

Television Media

The service provides transcoding services that meet the technical specifications required for traditional video broadcasting. The high-speed transcoding feature delivers enhanced transcoding efficiency. Extensive experience in cinema film optimization allows Media Processing to provide a better picture quality and smoother playback experience.


Getting Started

Media Processing functions include the web management console, service APIs, and SDKs. These resources allow you to use and manage Media Processing and integrate transcoding functions into your own applications and services.

Use Media Processing from the Console

The Alibaba Cloud console provides a simple web-based user interface that allows you to access and configure Media Processing. Using this console, you can create basic and easy-to-use video processing workflows.

Media Processing Console

For more information about how to use the Media Processing console.

Media Repository Quick Start Guide

Access Alibaba Cloud Documentation

For information on the use of Alibaba Cloud Media Processing, see the Media Processing documentation. These documents detail how Media Processing works and describe how to use Media Processing to create video applications.

Media Processing Documentation

FAQ

1. Can CDN be used to deliver media files?

We recommend that Alibaba Cloud CDN be used to deliver your content. You can use the OSS bucket that stores transcoding output files as the origin site for Alibaba Cloud CDN to lower latency for users who view media files, improve the access response speed, and solve the problems such as low network bandwidth, large traffic volumes, and unevenly distributed outlets. For details, please see the CDN product page.

2. How long does it take to transcode a video?

Many factors may affect the transcoding speed, such as the length, resolution, bit rate, and transcoding template settings of the input file. Generally, the length of a job is 0.5 to 2 times the input file length. A large number of tasks, when received, will be sorted in a certain order.

3. Can I create multiple outputs for a transcoding task?

Each transcoding task corresponds to an input file, a transcoding template, and a transcoding output file. Media Processing Service allows you to submit multiple output files simultaneously and creates tasks for each output file.

4. How many tasks can MTS process concurrently?

Each user has a default transcoding resource quota. Transcoding resources are allocated through mutually independent media processing pipelines. The number of jobs simultaneously processed by a pipeline cannot exceed the resource quota allocated to the pipeline.

See Media Processing Restrictions

5. What are transcoding resources?

A transcoding resource is a computing node on which Media Processing executes transcoding tasks. A transcoding resource executes only one transcoding task at a time. We currently provide shared transcoding resources. Media Processing sets a quota of shared transcoding resources for each user. The maximum number of jobs simultaneously processed cannot exceed the quota. When the system is busy, the number of tasks simultaneously processed may be less than the quota of the shared transcoding resources.

6. Why does my transcoding task keep crashing?

A task may fail due to a number of reasons. First, check the returned error messages. Preprocessing failure error means your source file cannot be decoded. In this case, we suggest you submit a ticket or contact us. We will need your Alibaba Cloud account ID and the task ID to diagnose the problem.

7. Where can I find the complete list of supported formats?

Please see the following link for a complete list of formats supported by MTS:

See Media Processing Development Manual -> Supported Formats

8. After a video is transcoded, where can I find the playback URL?

You can manage videos on the Console -> Media Repository page. Use the 'Manage' link for each video to open the video details page. Here, you can view the OSS address and CDN address for each video (if CDN is configured for the OSS bucket). You can also find this information using the Media Processing media asset API. For sample code see the following link:

See Developer Guide -> Media Repository Management -> Media Details

9. When I use the OSS client to upload videos to the input file path of a media workflow, will they be transcoded automatically?

Yes, the MTS will be triggered whenever matched files are uploaded to the designated input file path, regardless of the upload method (console, API, SDK, or OSS client).

10. When a media workflow is executed, will there be notifications?

Currently, when media workflows are executed, messages that are bound to the transcoding pipeline are ignored.

11. Which messaging methods are supported in media workflows?

Media workflows support Message Service's queue and notification functions. You can configure these features for the input node. When a media workflow is triggered, messages are sent at the start and end of execution according to the pre-set queue and notification settings.