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 in the cloud, delivery acceleration, and playback as well as media resource management. The Developer Guide introduces these features and describes how to use them.
Overall process
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 learn about service regions, API regions, and storage regions. ApsaraVideo VOD provides access in multiple 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.
Global configurations
Configuration | Description | References |
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:
| |
Multi-application service | ApsaraVideo VOD allows you to isolate resources, configurations, and data of multiple users in the same account. You can set up the multi-application service by managing applications and attaching policies to identity entities. | |
Event notifications | ApsaraVideo VOD supports event notifications through callbacks.
| |
Video security | ApsaraVideo VOD provides a wide range of security mechanisms to ensure security of video content:
|
Features
Feature | Description | References |
Media upload | 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: Upload by using GUI tools
Upload by using developer tools
| |
Media asset management | 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. | |
Media processing | ApsaraVideo VOD provides basic media processing capabilities such as audio and video transcoding, snapshot capture, 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 ApsaraVideo Player SDK, and use third-party players. | |
Live to VOD | ApsaraVideo VOD allows you to synchronously record live streams as videos for on-demand playback. |