Transcoding
The transcoding service of Real-time Media Processing includes Standard Transcoding, Narrowband HD Transcoding, Audio Transcoding, and Source Transcoding. It enables efficient and reliable media transcoding for various playback devices. This topic describes the details and usage of each transcoding type.
Features
Overview
Real-time transcoding converts a source live stream into video streams with different encoding formats, resolutions, and bitrates for distribution. This allows playback on various devices and under different network conditions. The key features of the Real-time Media Processing transcoding service are as follows:
-
Supports multiple types: Standard Transcoding, Narrowband HD Transcoding, Audio Transcoding, and Source Transcoding.
-
Supports third-party RTMP streaming URLs as input.
-
Transcoding jobs support two startup modes:
Startup mode
Description
Start Immediately
Once the job is created, transcoding starts immediately. Prepare your stream beforehand to ensure the service can pull the input stream.
Scheduled Start
Once the job is created, transcoding starts at the specified time. Prepare your stream a few minutes before the scheduled time. If the stream is not active at the specified time and the job fails to start, you can modify the scheduled start time in the job list.
Limitations
-
A single transcoding job supports only one set of transcoding specifications. A single account can run a maximum of 10 concurrent transcoding jobs. If you have other requirements, contact your Alibaba Cloud account manager.
-
Only RTMP is supported for the input live stream.
-
The output stream requires a streaming domain from ApsaraVideo Live. By default, a single domain supports up to 50 concurrent push streams.
ImportantYou must add a streaming domain for a specific region in ApsaraVideo Live. The service pushes the transcoded stream to a URL generated from this domain for distribution. For more information about how to add a streaming domain in ApsaraVideo Live, see Add an accelerated domain.
Create a transcoding template
Console
API
Create a transcoding job
Console
API
Get output stream URL
When a transcoding job is complete, query the job to obtain the output stream URL for playback.
Console
API
Query transcoding job usage
-
Log on to the Intelligent Media Service console.
-
In the left-side navigation pane, choose Data Center > Usage.
-
On the Real-time Job Usage tab, in the Transcoding section, you can query the duration usage of jobs or export the usage details.
NoteFor security reasons, the download link for the exported file is valid for 30 minutes. If the link expires, refresh the page and try again.