El contenido no se encuentra disponible en el idioma seleccionado. Estamos trabajando continuamente para agregar más idiomas. Gracias por su apoyo.

Compute
Elastic Cloud Server
Huawei Cloud Flexus
Bare Metal Server
Auto Scaling
Image Management Service
Dedicated Host
FunctionGraph
Cloud Phone Host
Huawei Cloud EulerOS
Networking
Virtual Private Cloud
Elastic IP
Elastic Load Balance
NAT Gateway
Direct Connect
Virtual Private Network
VPC Endpoint
Cloud Connect
Enterprise Router
Enterprise Switch
Global Accelerator
Management & Governance
Cloud Eye
Identity and Access Management
Cloud Trace Service
Resource Formation Service
Tag Management Service
Log Tank Service
Config
OneAccess
Resource Access Manager
Simple Message Notification
Application Performance Management
Application Operations Management
Organizations
Optimization Advisor
IAM Identity Center
Cloud Operations Center
Resource Governance Center
Migration
Server Migration Service
Object Storage Migration Service
Cloud Data Migration
Migration Center
Cloud Ecosystem
KooGallery
Partner Center
User Support
My Account
Billing Center
Cost Center
Resource Center
Enterprise Management
Service Tickets
HUAWEI CLOUD (International) FAQs
ICP Filing
Support Plans
My Credentials
Customer Operation Capabilities
Partner Support Plans
Professional Services
Analytics
MapReduce Service
Data Lake Insight
CloudTable Service
Cloud Search Service
Data Lake Visualization
Data Ingestion Service
GaussDB(DWS)
DataArts Studio
Data Lake Factory
DataArts Lake Formation
IoT
IoT Device Access
Others
Product Pricing Details
System Permissions
Console Quick Start
Common FAQs
Instructions for Associating with a HUAWEI CLOUD Partner
Message Center
Security & Compliance
Security Technologies and Applications
Web Application Firewall
Host Security Service
Cloud Firewall
SecMaster
Anti-DDoS Service
Data Encryption Workshop
Database Security Service
Cloud Bastion Host
Data Security Center
Cloud Certificate Manager
Edge Security
Blockchain
Blockchain Service
Web3 Node Engine Service
Media Services
Media Processing Center
Video On Demand
Live
SparkRTC
MetaStudio
Storage
Object Storage Service
Elastic Volume Service
Cloud Backup and Recovery
Storage Disaster Recovery Service
Scalable File Service Turbo
Scalable File Service
Volume Backup Service
Cloud Server Backup Service
Data Express Service
Dedicated Distributed Storage Service
Containers
Cloud Container Engine
SoftWare Repository for Container
Application Service Mesh
Ubiquitous Cloud Native Service
Cloud Container Instance
Databases
Relational Database Service
Document Database Service
Data Admin Service
Data Replication Service
GeminiDB
GaussDB
Distributed Database Middleware
Database and Application Migration UGO
TaurusDB
Middleware
Distributed Cache Service
API Gateway
Distributed Message Service for Kafka
Distributed Message Service for RabbitMQ
Distributed Message Service for RocketMQ
Cloud Service Engine
Multi-Site High Availability Service
EventGrid
Dedicated Cloud
Dedicated Computing Cluster
Business Applications
Workspace
ROMA Connect
Message & SMS
Domain Name Service
Edge Data Center Management
Meeting
AI
Face Recognition Service
Graph Engine Service
Content Moderation
Image Recognition
Optical Character Recognition
ModelArts
ImageSearch
Conversational Bot Service
Speech Interaction Service
Huawei HiLens
Video Intelligent Analysis Service
Developer Tools
SDK Developer Guide
API Request Signing Guide
Terraform
Koo Command Line Interface
Content Delivery & Edge Computing
Content Delivery Network
Intelligent EdgeFabric
CloudPond
Intelligent EdgeCloud
Solutions
SAP Cloud
High Performance Computing
Developer Services
ServiceStage
CodeArts
CodeArts PerfTest
CodeArts Req
CodeArts Pipeline
CodeArts Build
CodeArts Deploy
CodeArts Artifact
CodeArts TestPlan
CodeArts Check
CodeArts Repo
Cloud Application Engine
MacroVerse aPaaS
KooMessage
KooPhone
KooDrive
Help Center/ Media Processing Center/ Best Practices/ Using MPC to Transcode Media Files in OBS

Using MPC to Transcode Media Files in OBS

Updated on 2023-12-19 GMT+08:00

Scenarios

You may need to apply media files to different scenarios, such as the product official website and video website, or play the files on different terminals, such as the web client and mobile client. MPC provides transcoding to change the media encoding format, packaging format, resolution, and bitrate, so that media can be used in different scenarios, devices, and network environments.

The transcoding function allows you to:

  • Transcode source media files into formats such as MP4 for playback on a wide range of devices.
  • Set the output bitrate based on the network bandwidth.
  • Use H.265 codec and low bitrate HD to reduce the bitrate by about 20% without changing the resolution, thereby cutting media distribution costs.
  • Enable HLS encryption during transcoding to prevent secondary distribution if a media file is stolen.
  • Add watermarks such as logos to your video to protect copyright.
  • Extract audio files through transcoding. This function is applicable to audio-only scenarios, such as radio stations and audio apps.
  • Disable the original audio to output video-only files.

How It Works

For standard transcoding, you can use the default transcoding template to transcode media files in an OBS bucket and store the transcoded files in a specified OBS bucket. During transcoding, you can query the transcoding status. After the transcoding task is complete, a message is sent to you through SMN.

Figure 1 Transcoding on MPC

The process is as follows:

  1. A user uploads the media file to be transcoded to OBS.
  2. The user specifies an input/output transcoding template and delivers a transcoding task.
  3. MPC obtains the media file specified by the user for processing.
  4. The user periodically queries the transcoding status during transcoding.
  5. After the transcoding task is complete, the transcoded media file is stored in the specified OBS directory.
  6. The SMN service is used to notify users of transcoding status.
  7. The user subscribes to a specified topic to obtain transcoding information.

Preparations

Creating a Video Transcoding Task

You can select a video transcoding template and create a video transcoding task to transcode video files stored in OBS buckets.

NOTE:

Video codecs supported are H.264, H.265, MPEG-2, MPEG-4, MJPEG, VP6/7/8/9, WMV1/2/3, and ProRes 422. If an input file is not in one of these formats, transcoding will fail.

  1. Log in to the MPC console.
  2. In the navigation pane, choose Media Processing > Transcoding.
  3. Click Create Task.
  4. Configure basic parameters, including the buckets and paths for storing an input file and output file.

  5. Select a transcoding template as required.

    MPC provides a wealth of one-in one-out and one-in multiple-out system templates, which are configured with common parameters such as the definition, bitrate, and resolution. You are advised to use system templates. You can choose Global Settings > System Templates to view the parameters of a system template on the MPC console.

    NOTICE:
    • Audio files cannot be transcoded using a video transcoding template.
    • GIF files can be transcoded only to MP4 files.

  6. Click OK.
  7. View the transcoding task status in the task list. You can view details about transcoding tasks of the past 60 days.

    • If transcoding succeeds, click Output Path in the Output column to switch to the OBS console, where you can view, download, and share the transcoded video file.
    • If transcoding fails, view the failure cause in the Output column for troubleshooting.

Creating an Audio Transcoding Task

You can select an audio transcoding template and create an audio transcoding task to transcode audio files stored in OBS buckets. The fee for audio transcoding is different from that for video transcoding. For details, see Pricing Details.

NOTE:

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

If an input file is not in one of these formats, transcoding will fail.

  1. Log in to the MPC console.
  2. In the navigation pane, choose Media Processing > Transcoding.
  3. Click Create Task.
  4. Configure basic parameters, including the buckets and paths for storing the input file and output file.

  5. Select a transcoding template that best fits your needs.

  6. Click OK.
  7. View the transcoding task status in the task list. You can view details about transcoding tasks of the past 60 days.

Utilizamos cookies para mejorar nuestro sitio y tu experiencia. Al continuar navegando en nuestro sitio, tú aceptas nuestra política de cookies. Descubre más

Feedback

Feedback

Feedback

0/500

Selected Content

Submit selected content with the feedback