Bu sayfa henüz yerel dilinizde mevcut değildir. Daha fazla dil seçeneği eklemek için yoğun bir şekilde çalışıyoruz. Desteğiniz için teşekkür ederiz.

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/ Live/ Media Live/ Console Operations/ Live Transcoding/ Creating a Transcoding Template

Creating a Transcoding Template

Updated on 2025-01-24 GMT+08:00

You can transcode livestreams into video streams with different resolutions and bitrates to meet a broad range of requirements. You can customize a transcoding template. When a channel is created, a transcoding template is configured. When channel content is played, transcoding is performed based on the transcoding template.

Function Overview

The transcoding function allows you to:

  • Transcode source audio and video into one or more formats for playback on a wide range of devices.
  • Adapt the output bitrate to different network bandwidths.
  • Reduce the costs of distributing livestreams. Low-bitrate HD can reduce the bitrate usage by about 20% at the same resolution.
  • Customize transcoding templates, such as the transcoding type, video bitrate, resolution, frame rate, and GOP duration.

For details about the function implementation, see Multi-bitrate Adaptation of Media Live.

Notes

  • To delete a transcoding template, you need to manually delete it from all channels. Otherwise, the transcoding template still takes effect on the channels.
  • The transcoding template of a channel takes effect when the channel playback starts. If the transcoding configuration is modified, the modification takes effect only after the channel is restarted.
  • If you enable low-bitrate HD, you will be charged based on the rates of low-bitrate HD. For details about the price, see Live Pricing Details.
  • Upsampling transcoding is not supported. If the resolution set in the transcoding template is higher than the original resolution, the transcoded streaming URL can be used for playback, but the played video still uses the original resolution. Upsampling is not applicable to the frame rate of a transcoded output.
  • In the AP-Bangkok region, submit a service ticket for review after configuring a template. The configuration takes effect only after it is approved.
  • The resolution and frame rate of a transcoded output cannot be higher than those of the input.

Prerequisites

Adding a Media Live Transcoding Template

You can add a Media Live transcoding template on the Live console.

  1. Log in to the Live console.
  2. In the navigation pane on the left, choose Live Transcoding under Media Live.
  3. Click Create Transcoding Template. The Transcoding page is displayed on the right, as shown in Figure 1.

    Configure transcoding parameters as instructed by Table 1.
    Figure 1 Creating a transcoding template
    Table 1 Transcoding settings

    Parameter

    Description

    Template Name

    Name of a Media Live transcoding template.

    You can customize the name in letters, digits, and hyphens (-).

    Triggered By

    Transcoding is triggered by stream push. When a transcoding request is received, the transcoding template whose name is the same as the value of AppName in the request URL takes effect and transcoding starts.

    Transcoding Type

    Transcoding type of Media Live.

    Options:

    • Standard transcoding
    • Low-bitrate HD

    For the same resolution, low-bitrate HD transcoding consumes 20% less bitrate than standard transcoding but costs more.

    Low-bitrate HD means a lower output bitrate at a given image quality. If you enable this function, you will be billed based on the rates of low-bitrate HD. For details, see Pricing Details.

    Video Encoding

    Supported video encoding formats:

    • H.264
    • H.265
      NOTICE:
      • Select only one encoding format for each channel.
      • H.265 is displayed only when Input Type of a created channel is set to SRT_PUSH, HLS_PULL, or SRT_PULL.

    Presets (Optional)

    Resolution levels:

    • 360p
    • 540p
    • 720p
    • 1080p
    • 1440p
    • Custom

    Select a level to see preset values for Video Bitrate and Resolution (W x H) below. Change them as needed.

    Video Bitrate

    Average bitrate of the transcoded video, in Kbit/s.

    Value range: 40 to 30,000

    Bitrate Control

    Bitrate control policy.

    Options:

    • Disabled: Bitrate adaptation is disabled. The target bitrate is output as specified.
    • Not higher than source stream: The target bitrate is the smaller value between the specified bitrate and the bitrate of the source file.
    • Adaptive to source stream: The target bitrate is adaptive to the bitrate of the source file.

    Default value: Disabled

    Resolution (W x H)

    Width and height of the video, in pixel.

    If the input value of both sides is set to 0, the video is output using the resolution of the source stream. If the value of one side is set to 0, the value of that side will be converted proportionally according to the input value of the other side.

    Value range:

    • Width: The value must be 0 or a multiple of 2 between 32 and 3,840.
    • Height: The value must be 0 or a multiple of 2 between 32 and 2,160.
      NOTICE:
      • The transcoded output resolution cannot be higher than the input resolution.
      • If ad insertion is enabled for a channel and the H.265 transcoding template is selected, the resolution of the H.265 transcoding template must be:

        Width: 320–4,096

        Height: 240–2,880

    Video Frame Rate

    Frame rate of the transcoded video.

    Options:

    • Retain the original
    • Set a new one: If you select this option, you need to enter the frame rate. The value ranges from 0 to 60. 0 means adaptive frame rate.

    The transcoded output frame rate cannot be higher than the input frame rate.

    Use Source I-Frame

    This function must be enabled for Media Live.

    After this function is enabled, the I-frame, position, and PTS of the transcoded stream are the same as those of the source stream. In this case, both the source and transcoded streams have the same GOP duration.

    B-Frame Removal

    After this function is enabled, the transcoded video does not contain B-frames.

  4. Click OK.

    There is a new transcoding template on the Live Transcoding page.

Managing Transcoding Templates

You can perform the following operations on your transcoding template:

  • Editing a transcoding template

    Click Edit in the Operation column to modify parameters in the template. If the channel where the transcoding template is located has been started, you need to restart the channel for the modification to take effect. It takes about 30 seconds to restart the channel. During the channel restart, transcoding will be interrupted. After the channel is restarted, transcoding automatically resumes.

  • Deleting a transcoding template

    Click Delete in the Operation column.

Sitemizi ve deneyiminizi iyileştirmek için çerezleri kullanırız. Sitemizde tarama yapmaya devam ederek çerez politikamızı kabul etmiş olursunuz. Daha fazla bilgi edinin

Feedback

Feedback

Feedback

0/500

Selected Content

Submit selected content with the feedback