All Products
Search
Document Center

Intelligent Media Services:Upload multiple media assets at a time by using the URLs of the files

Last Updated:Sep 26, 2024

If media assets are not stored on your on-premises servers or devices and need to be uploaded by using public URLs of the files, you can call the related operation to pull and upload the files by using the URLs of the files. This topic describes how to upload multiple media assets at a time by using the URLs of the files.

Prerequisites

  • You have learned about the supported file formats. For more information, see the "Supported file formats" section of the Overview topic.

  • ApsaraVideo VOD is activated. For more information, see Activate ApsaraVideo VOD.

Precautions

  • The URL-based upload method allows you to upload media assets only to ApsaraVideo VOD storage addresses.

  • You can upload an audio or video file of up to 5 GB in size.

  • File name extensions are not case-sensitive during the upload. If a file name extension is not supported by an upload method, the files of this format fail to be uploaded.

Usage notes

You can integrate server SDKs or create HTTP or HTTPS requests to call the UploadMediaByURL operation to pull media assets by using the public URLs of the media assets and upload the media assets to storage addresses of IMS. We recommend that you integrate server SDKs. For more information, see Request syntax and signature method V2 for RPC APIs.

Note

The URL-based upload method is suitable for scenarios in which you relocate a site with no specific timeliness requirement. In most cases, media assets are uploaded within several hours or days after the upload tasks are submitted.

API references