If you want to upload media files that are not stored on your servers or terminals, you can upload the files by using the URLs that can be accessed over the Internet. ApsaraVideo VOD provides an API operation that you can use to upload media files by specifying the URLs of the files. This topic describes the usage notes and references for uploading multiple media files at a time by using the URLs of source files.
Usage notes
ApsaraVideo VOD provides an encapsulated service that you can use to upload multiple media files to a specific storage location at a time by using the URLs of source files that can be accessed over the Internet. This way, you do not need to download media files to your servers or devices before you use the upload SDK to upload the media files to ApsaraVideo VOD. This upload method is suitable for scenarios where you relocate a site.
The URL-based upload jobs are asynchronous. After you submit a URL-based upload job, it may take hours, even days to complete. If you require high timeliness, we recommend that you use the upload SDK.
For more information about the supported media formats, see Supported media file formats.
We recommend that you call the UploadMediaByURL operation after you integrate the ApsaraVideo VOD SDK.
Programming language
References
Java
Python
PHP
.NET
Node.js
Go
C/C++
You can also construct an HTTP or HTTPS request to call the API operation. For more information about the request syntax of ApsaraVideo VOD API, see Request syntax.