What is MPS?
Media Processing (MPS) is a transcoding computing service provided for multi-media data. It provides an economic, elastic, and highly scalable method to convert audio and video files into formats suitable for playing on PCs, TVs, and mobile terminals.
What is MPS used for?
You can use MPS to convert files of different media formats into FLV, TS(M3U8), and MP4 files with different resolutions, bit rates and frame rates. You can also use it to create screenshots or add watermarks.
What is MPS oriented for?
MPS is oriented for customers who have multimedia resources on OSS. For example,developers who create apps and websites for users to generate contents, enterprise and training institution personnel who want to convert training and communication videos, as well as multi-media owners and distribution agency personnel who want to convert multimedia resources to formats applicable to PCs, TVs, and mobile devices.
Why is MPS used?
MPS manages all the complexity of executing media transcoding in the cloud. MPS enables you to focus on your service logic, such as the devices to be supported and quality levels to be provided, rather than managing the infrastructure and software needed for conversion as well as task scheduling. With MPS, you do not need up-front investment, but pay only for the resources actually used.
How do I get started with MPS?
You can activate MPS on the Alibaba Cloud official website, log on to the console, set resource authorization, and create a custom transcoding template. Then, specify the media file, output path, and custom transcoding template on OSS to create the first transcoding task. For details, see Activate MPS and Quick Start.
How do I use MPS?
To use MPS, you must store at least one multi-media file in the bucket of the corresponding region of OSS, and authorize MPS to read specified files from the bucket and write files to the bucket. The simplest way to use MPS is through the console. Specify the media file to be transcoded, select a transcoding template,and set other functions as required to create a transcoding task. After the transcoding process is complete, the output file is stored in the specified OSS bucket. For details about how to use MPS through the console, see Console help.
How is MPS charged?
MTS charges only for resources consumed and settles in real time. The service unit price varies with the transcoding format, resolution, and transcoding resource type of the output file, and the service is charged based on the duration of the output media set. In addition, MPS charges APIs by the number of calls. For details, see MPS price overview.
Does MPS have a free quota?
To enable you to get familiar with the service, MPS provides the following monthly quotas for free:
A 10-minute quota of transcoding videos to H.264 encoded videos with LD, SD, HD, 2K, or 4K resolution.
A 5-minute quota of transcoding videos to H.265 encoded videos with LD, SD, HD, 2K, or 4K resolution.
A 10-minute quota of encapsulating videos.
A 30-minute quota of transcoding audio.
How do I upload my media files to OSS?
You can upload files to OSS by various means. For example, using a simple Web-based upload tool on the OSS console or programming over APIs. We recommend that you adopt the following methods:
Upload files using the MPS upload SDK
Upload files using the OSS console client
What is the maximum size of files that MPS can process?
MPS supports a maximum of 100 GB input files. If you want to process media files with larger sizes, you can open a ticket.
Can CDN be used to deliver media files?
We recommend that you use the Alibaba Cloud CDN to deliver your content. You can use the OSS bucket that stores transcoding output files as the origin site of Alibaba Cloud CDN to lower latency for users to check media files, improve the access response speed, and solve the problems of small network bandwidth, large traffic volume, and unevenly distributed outlets. For details, go to the CDN details page.
How long does a transcoding task take?
Many factors affect the transcoding speed, such as the length, resolution, bit rates and transcoding template settings of the input file. Generally the length of a task is 0.5 to 2 times that of the input file length. In case of a large number of tasks, they are sorted for processing.
Can I create multiple outputs for a task?
Each transcoding task corresponds to an input file, a transcoding template, and a transcoding output file. MPS supports multiple output files submitted simultaneously and creates a task for each output file.
How many tasks can MTS process simultaneously?
Each user has a default transcoding resource quota. Transcoding resources are allocated to mutually independent MPS queues. The number of tasks simultaneously processed by each MPS queue cannot exceed the resource quota allocated to the queue. For details, see MPS restrictions.
What are transcoding resources?
A transcoding resource is a computing node on which MPS executes transcoding tasks. A transcoding resource executes only one transcoding task at a time. We currently provide shared transcoding resources. MPS sets the quota of shared transcoding resources for each user. The maximum number of tasks 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.
What are transcoding preset templates?
Preset templates are built-in transcoding templates, including various settings, such as the format, resolution, and codec of output files, to be applied during MPS transcoding. MPS intelligently analyzes the video features and recommends the preset templates for videos to adapt to various players and network bandwidths. When creating a task, you can specify a recommended preset template. When a transcoding task is submitted, an error is returned if the specified preset template is not recommended. For details, see MPS development manual - Preset templates.
What can I do if none of your transcoding preset templates work for me?
You can create your custom transcoding template. For details about the custom transcoding templates, see MPS development manual - Custom transcoding templates.
Why does my task keep failing?
A task may fail due to many reasons. Check the returned error messages. If you receive an error of pre-processing failure, your source file cannot be decoded. We recommend that you open a ticket with the Alibaba Cloud account ID and task ID to help fault diagnosis.
Does MPS support encryption or DRM?
MPS supports data encryption.
Can I have a transcoder for my exclusive use?
MPS does not support customization or exclusive occupation of transcoders.
Does MPS support live encoding?
MPS is currently a file-based transcoding service and does not support live transcoding.
Where can I use MPS?
MPS currently is available in China North 2 (Beijing), China East 1 (Hangzhou), China East 2 (Shanghai), and China South 1 (Shenzhen). For details, see Service regions.
What input formats does MPS support?
3GP, AVI, FLV, MP4, M3U8, MPG, ASF, WMV, MKV, MOV, TS, WebM and other formats
Video encoding formats
H.264/AVC, H.263, H.263+, MPEG-1, MPEG-2, MPEG-4, MJPEG, VP8, VP9, Quicktime, RealVideo, Windows Media Video and so on
Audio encoding formats
AAC, AC-3, ADPCM, AMR, DSD, MP1, MP2, MP3, PCM, RealAudio, and Windows Media Audio
What output formats does MPS support?
We recommend that FLV files be output for PCs, MP4 files be output for Android devices, and TS (M3U8) files be output for iOS devices. The default video and audio encoding formats are H.264/AVC and AAC, respectively.
Video transcoding: FLV, MP4, TS, M3U8, and GIF
Audio transcoding: MP3, MP4, OGG, and FLAC
Video encoding formats
H.264/AVC and H.265/HEVC
Audio encoding formats
MP3, AAC, VORBIS, and FLAC
Where can I find the complete list of supported formats?
For details about the complete list of MPS supported formats, see MPS development manual - Supported formats.
When creating an MP4 file, does MPS support “downloading while playing”?
The MOOV atom is located at the beginning of the MP4 file so that the player canplay the file immediately without waiting for the entire file to complete downloading.
Does MPS support the surround sound format?
MPS can output transcoded audio files in dual-channel AAC and MP3 formats.
Are my media files safe?
All media resources are stored in your own OSS bucket. You must use RAM to authorize MPS to access specified files in the bucket.
Does MPS support encrypted media files?
MPS does not support encrypted input files currently.