ApsaraVideo VOD is an all-in-one solution for on-demand audio and video streaming. It provides features such as video collection, editing, uploading, automated transcoding, online editing, delivery acceleration, and playback as well as media resource management. The Developer Guide introduces these features and describes how to use them.
The following figure shows the overall process for audio and video uploading, storage, processing, and playback in ApsaraVideo VOD.
The preceding figure shows a standard process that includes transcoding and credential-based playback. If transcoding is disabled or if media review is enabled, the process may change accordingly.
The user obtains the upload permission.
ApsaraVideo VOD delivers the upload URL, upload credential, and video ID (VideoId).
The user uploads a video and saves the video ID (VideoId).
The server obtains the playback permission.
The client requests the playback URL and credential. ApsaraVideo VOD delivers the playback URL and the playback credential with a validity period.
The server delivers the playback credential to the client for video playback.
Access and storage
Before you use ApsaraVideo VOD, you must have a knowledge about service regions, API regions, and storage regions. ApsaraVideo VOD provides access in a number of regions around the world. Each endpoint corresponds to a storage region. You cannot call resources across storage regions. For the mappings between service regions, API regions, and supported storage regions, see VOD centers and endpoints.
Account and authorization
ApsaraVideo VOD supports Resource Access Management (RAM) and Security Token Service (STS). You can use one of the following methods to perform authorization operations:
ApsaraVideo VOD allows you to isolate resources, configurations, and data of multiple users in the same account. You can build the multi-application service by managing applications and attaching policies to identity entities.
ApsaraVideo VOD supports event notifications through callbacks.
ApsaraVideo VOD provides a wide range of security mechanisms to ensure security of video content:
ApsaraVideo VOD allows you to upload media files (including audio, video, and image files) to OSS buckets allocated by ApsaraVideo VOD. Before you upload media files, you must obtain the upload URL and credential from ApsaraVideo VOD. The following upload methods are supported:
ApsaraVideo VOD allows you to manage media resources such as basic information, source file information, playback information, and AI data that are generated after media upload or processing. You can obtain, update, search, download, or delete these resources.
ApsaraVideo VOD provides basic media processing capabilities such as audio and video transcoding, video snapshotting, frame animation, and video watermarking, as well as advanced features such as automated review and online editing.
Audio and video playback
ApsaraVideo VOD provides three methods for you to playback audio and video files: preview in the console, use the ApsaraVideo Player SDK, and use third-party players.
ApsaraVideo VOD allows you to synchronously record live streams as videos for on-demand playback.