Recording
The Real-time Media Processing recording service allows you to record live streams to Alibaba Cloud OSS or VOD. The recorded files are automatically registered in the IMS media library, allowing you to process the content. This topic explains the recording feature and its usage.
Feature overview
Overview
Real-time recording captures the original live stream and packages it into M3U8, FLV, or MP4 format. You can store the recordings in Alibaba Cloud OSS or VOD, and they are automatically registered in the IMS media library. Key features of Real-time Media Processing recording include:
-
Live stream recording only changes the container format of the audio and video (for example, from RTMP to TS, FLV, or MP4) without re-encoding the content.
-
Recorded files are automatically registered in the IMS media library, where you can search for and manage them.
Limitations
-
Each account supports a maximum of 100 concurrent recording jobs. If you need a higher limit, contact your Alibaba Cloud account manager.
-
The input live stream for a recording job must use the RTMP protocol.
-
Because real-time recording involves segmenting the live stream into TS files, the encoding format of the input stream must be compatible with the TS container format. Based on FLV and ISO/IEC 13818-1 standards, real-time recording currently supports only the following encoding formats:
Audio/video
Encoding format
Video
H.264, HEVC, MPEG-4
Audio
AAC, MP3
Usage notes
-
We recommend starting your live stream before you submit the recording job, or submitting the job no more than 3 minutes before the stream begins. If the recording job cannot pull the live stream after 3 minutes, it stops automatically. You must then start a new job.
-
If the live stream is active, a recording file is generated and registered in the IMS media library when the specified recording cycle is complete.
-
If the live stream is interrupted for less than 3 minutes, the recording continues. If the interruption lasts for more than 3 minutes, the recording job stops automatically, generates a recording file, and registers it in the IMS media library.
Create a recordingtemplate
Console
OpenAPI
Create arecording job
Console
OpenAPI
Query recording job details
Callbacks
OpenAPI
View recorded files
After a recording job completes, you can view the recorded files.
Console
OpenAPI
Delete files (OSS permissions)
Queryrecording job usage
-
Log on to the Intelligent Media Services console.
-
In the left-side navigation pane, choose Data Center > Usage.
-
On the Real-time Task Usage tab, in the Live Recording section, you can query or export detailed usage data for your jobs.
NoteTo ensure data security, the download link for the exported file is valid for 30 minutes. If the link expires, refresh the page to generate a new one.