16
Media Processing Center Service Overview Issue 01 Date 2020-07-10 HUAWEI TECHNOLOGIES CO., LTD.

Service Overview - support.huaweicloud.com€¦ · The transcoded audio and video specifications can be customized based on your needs. For details, see Table 2-1, Table 2-2, Table

  • Upload
    others

  • View
    0

  • Download
    0

Embed Size (px)

Citation preview

Page 1: Service Overview - support.huaweicloud.com€¦ · The transcoded audio and video specifications can be customized based on your needs. For details, see Table 2-1, Table 2-2, Table

Media Processing Center

Service Overview

Issue 01

Date 2020-07-10

HUAWEI TECHNOLOGIES CO., LTD.

Page 2: Service Overview - support.huaweicloud.com€¦ · The transcoded audio and video specifications can be customized based on your needs. For details, see Table 2-1, Table 2-2, Table

Copyright © Huawei Technologies Co., Ltd. 2020. All rights reserved.

No part of this document may be reproduced or transmitted in any form or by any means without priorwritten consent of Huawei Technologies Co., Ltd. Trademarks and Permissions

and other Huawei trademarks are trademarks of Huawei Technologies Co., Ltd.All other trademarks and trade names mentioned in this document are the property of their respectiveholders. NoticeThe purchased products, services and features are stipulated by the contract made between Huawei andthe customer. All or part of the products, services and features described in this document may not bewithin the purchase scope or the usage scope. Unless otherwise specified in the contract, all statements,information, and recommendations in this document are provided "AS IS" without warranties, guaranteesor representations of any kind, either express or implied.

The information in this document is subject to change without notice. Every effort has been made in thepreparation of this document to ensure accuracy of the contents, but all statements, information, andrecommendations in this document do not constitute a warranty of any kind, express or implied.

Issue 01 (2020-07-10) Copyright © Huawei Technologies Co., Ltd. i

Page 3: Service Overview - support.huaweicloud.com€¦ · The transcoded audio and video specifications can be customized based on your needs. For details, see Table 2-1, Table 2-2, Table

Contents

1 What Is MPC?........................................................................................................................... 1

2 Functions................................................................................................................................... 2

3 Product Advantages................................................................................................................ 6

4 Related Services....................................................................................................................... 7

5 Concepts.................................................................................................................................... 8

6 Region and AZ........................................................................................................................10

7 Billing....................................................................................................................................... 12

Media Processing CenterService Overview Contents

Issue 01 (2020-07-10) Copyright © Huawei Technologies Co., Ltd. ii

Page 4: Service Overview - support.huaweicloud.com€¦ · The transcoded audio and video specifications can be customized based on your needs. For details, see Table 2-1, Table 2-2, Table

1 What Is MPC?

Media Processing Center (MPC) transcodes your media files online, inexpensively,efficiently, and at any scale. MPC combines object storage and cloud computing toconvert your media into the formats you need for playback on devices likesmartphones, PCs, and TVs. It also provides functions such as frame capture andwatermarking to meet a wide range of your requirements.

MPC is built based on HUAWEI CLOUD computing services. There is no need tobuy expensive media processing software and to manage them, so you can focuson fast delivery and service rollout. MPC can scale up and down with yourbusiness needs, reducing costs and avoiding resource waste.

You can use MPC via the MPC console, SDKs, and APIs, or integrate MPC into yourown applications and services.

Media Processing CenterService Overview 1 What Is MPC?

Issue 01 (2020-07-10) Copyright © Huawei Technologies Co., Ltd. 1

Page 5: Service Overview - support.huaweicloud.com€¦ · The transcoded audio and video specifications can be customized based on your needs. For details, see Table 2-1, Table 2-2, Table

2 Functions

MPC transcodes audio and video files stored in OBS buckets to formats that canbe played on a broad range of devices. It also provides functions such as framecapture and watermarking.

Media TranscodingMedia transcoding is to convert an audio or video file into one or more outputformats. This involves changing the parameters of the media file such as theformat, codec, bitrate, and frame rate.

Parameter Description

Input format ● Input file formats: MP4, TS, MOV, FLV, MPG,MXF, WMV, ADTS, AVI, MKV, MPEG, GIF, andWAV

● Video codecs: H.264, H.265, MPEG-2, MPEG-4,MJPEG, WMV1/2/3, and Proress422

● Audio codecs: AAC, AC3, EAC3, HE-AAC, MP2,MP3, PCM (s161e, s16be, s241e, s24be, DVD),and WMA

● Subtitle format: SRT file in UTF-8

Output format ● Output file formats: DASH, HLS, MP4, MP3, andADTS

● Video codecs: H.264 and H.265● Audio codecs: HE_AAC, AAC, and MP3● Image file format: GIF

Audio extraction Extract audio from a video.

Mute video Remove sound from a video.

Subtitling Add subtitles to a video.

Watermarking During transcoding, add digital watermarks tovideos for copyright protection.

Media Processing CenterService Overview 2 Functions

Issue 01 (2020-07-10) Copyright © Huawei Technologies Co., Ltd. 2

Page 6: Service Overview - support.huaweicloud.com€¦ · The transcoded audio and video specifications can be customized based on your needs. For details, see Table 2-1, Table 2-2, Table

The transcoded audio and video specifications can be customized based on yourneeds. For details, see Table 2-1, Table 2-2, Table 2-3, and Table 2-4.

Table 2-1 Video encoding parameters

Parameter Description

Video Codec The value can be H.264 or H.265. The default valueis H.264.

Resolution (video widthand video height)

● H.264– Video width: [32, 4,096] or 0. The unit is px.– Video height: [32, 2,880] or 0. The unit is px.

● H.265– Video width: [160, 4,096] or 0. The unit is px.– Video height: [96, 2,880] or 0. The unit is px.

If the video width and height are both set to 0, thetranscoded video is produced based on the originalresolution. If the video bandwidth or height is setto 0, the corresponding value is adjusted based onthe original size.

Bitrate Video bitrate. The value can be 0 or ranges from 40to 30,000. The unit is kbit/s.If this parameter is set to 0, an output file isgenerated at the adaptive bitrate.

Maximum I-FrameInterval

Maximum interval between I frames in a keyframe. The value ranges from 2 to 5.

Maximum Consecutive B-Frames

Maximum number of consecutive B-frames in akey frame. The value ranges from 0 to 7.

Profile Encoding profile.● If the video codec is H.264, BASE, MAIN, and

HIGH are available.● If the video codec is H.265, only MAIN is

available.

FPS Video frame rate. The value is 0 or ranges from 5to 30.If this parameter is set to 0, an output file isgenerated at the original bitrate.

Maximum ReferenceFrames

Maximum number of reference frames.● If the video codec is H.264, the value ranges

from 1 to 8.● If the video codec is H.265, the value is always

4.

Media Processing CenterService Overview 2 Functions

Issue 01 (2020-07-10) Copyright © Huawei Technologies Co., Ltd. 3

Page 7: Service Overview - support.huaweicloud.com€¦ · The transcoded audio and video specifications can be customized based on your needs. For details, see Table 2-1, Table 2-2, Table

Parameter Description

Quality Video encoding level. There are three levels. Alarger value indicates higher encoding quality andlonger transcoding time.

Black Bar Removal Automatically detect and remove black bars fromyour video.

Table 2-2 Video processing parameters

Parameter Description

Video rotation angle Rotate a video clockwise. Videos can be simplyrotated by 90 degrees, 180 degrees, and 270degrees.

Adaptive resolution The following options are available:● SHORT: Adaptive width● LONG: Adaptive height● None: Do not adapt.

Table 2-3 Audio encoding parameters

Parameter Description

Audio Codec The available options are AAC, HE_AAC1, HE_AAC2,and MP3. The default value is AAC.

Sampling Rate The value can be AUTO, 22050 Hz, 32000 Hz,44100 Hz, 48000 Hz, or 96000 Hz. The defaultvalue is AUTO.

Bitrate Audio bitrate. The value can be 0 or ranges from 8to 1,000. The unit is kbit/s.

Audio Channel Number of audio channels. The value can be 1 or2.

Table 2-4 Video processing parameters

Parameter Description

Volume control Two methods are supported:● auto: Adjust the volume automatically.● dynamic: Adjust the volume manually.

Media Processing CenterService Overview 2 Functions

Issue 01 (2020-07-10) Copyright © Huawei Technologies Co., Ltd. 4

Page 8: Service Overview - support.huaweicloud.com€¦ · The transcoded audio and video specifications can be customized based on your needs. For details, see Table 2-1, Table 2-2, Table

Parameter Description

Volume adjustmentamplitude

The value range is [-15, 15], and the unit is dB.

Transcoding Templates

MPC provides plenty of built-in transcoding templates to meet your diverserequirements. You can also create a transcoding template to target your specificscenario.

● Preset templates: You can directly use these templates without any otherconfiguration. There are audio templates, audiovisual templates, and lowbitrate HD templates, covering all output formats, encoding formats, andcommon resolutions and bitrates. Based on the number of output files, presettemplates are classified into the following types:– One-in and one-out transcoding template: Only one output file is

generated.– One-in multiple-out transcoding template: A maximum of nine output

files can be generated.● Custom templates: Set the video and audio parameters based on your needs.

A custom template can be a one-in and one-out transcoding template or one-in and multiple-out transcoding template. A maximum of six outputspecifications can be configured for a one-in multiple-out template.

Low Bitrate HD

MPC uses perceptual coding to analyze each scenario, action, content, and texturein a video, achieving lower bitrate and bandwidth usage at a given video quality.

Video Watermark● You can add both image and text watermarks to videos.● The input format can be PNG, JPG, or JPEG.● A maximum of two static images can be overlaid on an output video per

frame.● A maximum of 10 static images can be overlaid on each output video.● The resolution of a watermark cannot be lower than 8x8 and greater than

4,096x4,096. The size of the watermark cannot exceed 10 MB.

Frame Capture

Capture a frame from a video and save it as a JPG file. You can take a snapshotduring transcoding or at any other time. The following two capture methods aresupported:

● By interval: Take snapshots at regular intervals. The default interval is 12s.● At fixed time: Take snapshots at specified time points.

Media Processing CenterService Overview 2 Functions

Issue 01 (2020-07-10) Copyright © Huawei Technologies Co., Ltd. 5

Page 9: Service Overview - support.huaweicloud.com€¦ · The transcoded audio and video specifications can be customized based on your needs. For details, see Table 2-1, Table 2-2, Table

3 Product Advantages

Video CodecHuawei's HEVC/H.265 encoder ranked No. 1 in many aspects (subjective quality,objective quality, and compression ratio) in the 2018 MSU Video CodecsComparison. Huawei has been actively engaged in the R&D and formulation ofthe next-generation video encoding standard VVC/H.266.

Low Bitrate HDHUAWEI CLOUD's low bitrate HD technology and H.265 encoder deliver 20% to40% lower bitrate than standard transcoding without compromising the videoquality. This significantly reduces the traffic and storage costs.

Image EnhancementImage enhancement repairs old and damaged video files and changes LD videosto HD ones to provide users a hassle-free viewing experience.

Fast TranscodingHUAWEI CLOUD provides distributed transcoding and auto scaling to achievehigh-speed and high-volume transcoding.

Diverse Functions● Video transcoding, image enhancement, snapshots, image watermarks, and

video encryption meet your diverse media requirements.● System presets and custom transcoding templates are available for you to

choose from.

Media Processing CenterService Overview 3 Product Advantages

Issue 01 (2020-07-10) Copyright © Huawei Technologies Co., Ltd. 6

Page 10: Service Overview - support.huaweicloud.com€¦ · The transcoded audio and video specifications can be customized based on your needs. For details, see Table 2-1, Table 2-2, Table

4 Related Services

Before using the event notifications, permissions management, and media storagefunctions, you need to enable the dependent services. See Table 4-1.

Table 4-1 Related services

Interactive Function Service Name Reference

Selecting an SMN topicwhen configuring eventnotifications on theMPC console

Simple MessageNotification (SMN)

Creating a TopicAdding a SubscriptionConfiguring TopicPolicies

Managing users anduser groups using IAM

Identity and AccessManagement (IAM)

Create User Groupsand Assign PermissionsCreate IAM Users andLog In

Using OBS to store andmanage audio andvideo files

Object Storage Service(OBS)

Creating a BucketUploading an Object

Media Processing CenterService Overview 4 Related Services

Issue 01 (2020-07-10) Copyright © Huawei Technologies Co., Ltd. 7

Page 11: Service Overview - support.huaweicloud.com€¦ · The transcoded audio and video specifications can be customized based on your needs. For details, see Table 2-1, Table 2-2, Table

5 Concepts

OBSObject Storage Service (OBS) is a stable, secure, efficient, and easy-to-use cloudstorage service. MPC uses OBS to manage media files. MPC transcodes the mediafiles stored in input buckets and then saves the transcoded files to output buckets.For more information about OBS, see OBS Help Center.

BucketBuckets are containers for storing objects. OBS provides flat storage in the form ofbuckets and objects. Unlike the conventional multi-layer directory structure of filesystems, all objects in a bucket are stored at the same logical layer.

SMNThe Simple Message Notification (SMN) service notifies you of your transcodingtask status. For more information about SMN, see SMN Help Center.

Transcoding TemplateA transcoding template is a set of transcoding parameters, such as audio, video,and container parameters. You can select a system template to save a lot ofconfiguration operations. If you have special requirements, you can customize atranscoding template.

Low Bitrate HDBased on the human visual system model and Huawei's transcoding technology,MPC analyzes each scenario, action, content, and texture in a video to deliverlower bitrate while keeping the bandwidth costs down but without compromisingthe video quality.

Fast TranscodingThis allows MPC to transcode video segments in parallel, which can be six timesfaster than standard transcoding. It is perfect for transcoding videos longer than30 minutes.

Media Processing CenterService Overview 5 Concepts

Issue 01 (2020-07-10) Copyright © Huawei Technologies Co., Ltd. 8

Page 12: Service Overview - support.huaweicloud.com€¦ · The transcoded audio and video specifications can be customized based on your needs. For details, see Table 2-1, Table 2-2, Table

One-in Multiple-outIt is a transcoding method. That is, a video file is transcoded into video files ofmultiple resolutions and bitrates to meet the playback requirements of differentdevices and different network speeds.

Image EnhancementThe combination of the traditional super-resolution algorithm and AI-poweredimage enhancement algorithm converts 2K videos to 4K videos, repairs damagedimages, and improves the image quality of existing videos.

Video Quality ControlMPC checks video content and provides video quality control reports for manualrecheck.

Media Processing CenterService Overview 5 Concepts

Issue 01 (2020-07-10) Copyright © Huawei Technologies Co., Ltd. 9

Page 13: Service Overview - support.huaweicloud.com€¦ · The transcoded audio and video specifications can be customized based on your needs. For details, see Table 2-1, Table 2-2, Table

6 Region and AZ

ConceptsA region and availability zone (AZ) identify the location of a data center. You cancreate resources in a specific region and AZ.

● Regions are divided from the dimensions of geographical location andnetwork latency. Public services, such as Elastic Cloud Server (ECS), ElasticVolume Service (EVS), Object Storage Service (OBS), Virtual Private Cloud(VPC), Elastic IP (EIP), and Image Management Service (IMS), are sharedwithin the same region. Regions are classified as universal regions anddedicated regions. A universal region provides universal cloud services forcommon tenants. A dedicated region provides services of the same type onlyor for specific tenants.

● An AZ contains one or multiple physical data centers. Each AZ hasindependent cooling, fire extinguishing, moisture-proof, and electricityfacilities. Within an AZ, computing, network, storage, and other resources arelogically divided into multiple clusters. AZs within a region are interconnectedusing high-speed optical fibers to allow you to build cross-AZ high-availabilitysystems.

Figure 6-1 shows the relationship between regions and AZs.

Figure 6-1 Regions and AZs

Media Processing CenterService Overview 6 Region and AZ

Issue 01 (2020-07-10) Copyright © Huawei Technologies Co., Ltd. 10

Page 14: Service Overview - support.huaweicloud.com€¦ · The transcoded audio and video specifications can be customized based on your needs. For details, see Table 2-1, Table 2-2, Table

HUAWEI CLOUD provides services in many regions around the world. You canselect a region and AZ as needed. For more information, see HUAWEI CLOUDGlobal Regions.

How to Select a Region?When selecting a region, consider the following factors:

● LocationYou are advised to select a region close to you or your target users. Thisreduces the network latency and improves the access speed. Regions withinthe Chinese mainland provide the same infrastructure, BGP network quality,as well as resource operations and configurations. Therefore, if your targetusers are in the Chinese mainland, you do not need to consider the networklatency differences when selecting a region.– If you or your target users are in the Asia Pacific area outside the Chinese

mainland, select the AP-Hong Kong, AP-Bangkok, or AP-Singaporeregion.

– If you or your target users are in Africa, select the AF-Johannesburgregion.

– If you or your target users are in Europe, select the EU-Paris region.● Resource price

Resource prices may vary in different regions. For details, see Product PricingDetails.

How to Select an AZ?When determining whether to deploy resources in the same AZ, consider yourapplication's requirements on disaster recovery (DR) and network latency.

● For high DR capability, deploy resources in different AZs in the same region.● For low network latency, deploy resources in the same AZ.

Regions and EndpointsBefore using an API to call resources, specify its region and endpoint. For moredetails, see Regions and Endpoints.

Media Processing CenterService Overview 6 Region and AZ

Issue 01 (2020-07-10) Copyright © Huawei Technologies Co., Ltd. 11

Page 15: Service Overview - support.huaweicloud.com€¦ · The transcoded audio and video specifications can be customized based on your needs. For details, see Table 2-1, Table 2-2, Table

7 Billing

You pay only for what you use. Each billing item is charged separately based onyour usage.

Billing Items

MPC charges you for transcoding, packaging, and frame capture. See Table 7-1.For more information about pricing, see MPC Pricing Details.

Table 7-1 Billing items

Billing Item Description Payment Options

Videotranscoding

Billed based on the duration ofthe content you output

Pay-per-use

Audiotranscoding

Billed based on the duration ofthe content you output

Pay-per-use

Frame capture Billed based on the number ofcaptured snapshots. The fees aregenerated for frame capture andvideo analysis.

Pay-per-use

Packaging Billed based on the duration ofthe content you output

Pay-per-use

Billing Modes

Pay-per-use: In each billing cycle, the system calculates the fee based on theactual usage of each resource multiplied by the unit price, and then deducts thefee from the account balance.

Renewal

Pay-per-use resources cannot be renewed. You only need to ensure that youraccount balance is sufficient.

Media Processing CenterService Overview 7 Billing

Issue 01 (2020-07-10) Copyright © Huawei Technologies Co., Ltd. 12

Page 16: Service Overview - support.huaweicloud.com€¦ · The transcoded audio and video specifications can be customized based on your needs. For details, see Table 2-1, Table 2-2, Table

Expiration and Overdue Payment● Arrears: In pay-per-use mode, fees are deducted based on each billing item. If

your account balance is insufficient, the system fails to deduct the fees of theprevious billing cycle. As a result, your account is in arrears. A retention periodwill be granted. If you will continue to use MPC, top up your account in theretention period. HUAWEI CLOUD defines the retention period based on thecustomer tier. Go to the Basic Information page to view your customer tier.For details about how to handle service suspension due to arrears, seeRetention Period.

● Expiration: Pay-per-use resources do not expire.

Media Processing CenterService Overview 7 Billing

Issue 01 (2020-07-10) Copyright © Huawei Technologies Co., Ltd. 13