ApsaraVideo VOD allows you to upload media files such as audio, video, and image files, and short video materials in the ApsaraVideo VOD console. You can upload one or more media files at a time. This topic describes how to upload media files by using the ApsaraVideo VOD console.
Prerequisites
The following table describes the formats of media files that you can upload by using the ApsaraVideo VOD console.
Type | Supported format |
---|---|
Video | 3GP, ASF, AVI, DAT, DV, FLV, F4V, GIF, M2T, M3U8, M4V, MJ2, MJPEG, MKV, MOV, MP4, MPE, MPG, MPEG, MTS, OGG, QT, RM, RMVB, SWF, TS, VOB, WMV, and WEBM
Note You can upload M3U8 files in the ApsaraVideo VOD console only from URLs, but not from PCs.
|
Audio | AAC, AC3, ACM, AMR, APE, CAF, FLAC, M4A, MP3, RA, WAV, and WMA |
Image | PNG, JPG, JPEG, GIF, and HEIC |
Short video material | MAT and ZIP |
Background information
Type | Item |
---|---|
Video |
|
Audio | |
Image | If no domain name for CDN is configured, you are charged for the outbound traffic that is consumed to download images or view images from the storage location or by using the ApsaraVideo VOD console. The fees cannot be offset by using resource plans. For more information, see Billing of basic services. |
Short video material | The image that you upload as the material icon must be an image in the PNG format and its resolution cannot exceed 200 × 200 pixels. |
Configure upload settings
- Select a storage location
You can select a storage location to which you want to upload media files. If multiple storage locations are available, the default storage location is selected. For more information about how to specify the default storage location, see Manage VOD storage.
- Configure transcoding settings
- Before you upload videos, you can select a transcoding template group that is used to transcode the videos. You can specify a transcoding template group for one or more videos at a time.
- You can configure different definitions in the transcoding template group. You can also specify resolutions, bitrates, and watermarks for videos of different definitions. For more information, see Configure normal transcoding template groups.
- After you add videos to upload, the default template group that you specify is selected for the videos. When you upload videos for the first time, check whether transcoding settings are configured based on your business requirements.
- Configure category settings
Before you upload media files, you can specify titles and categories for the media files. You can specify a category for one or more media files at a time. You can also specify the category of media files on the details page of the files after the files are uploaded. For more information about how to configure category settings, see Manage video categories.
Upload audio and video files
- After you start the upload, do not refresh or close the upload page or close the browser. You can visit other pages on other tabs in the browser.
- In the ApsaraVideo VOD console, you can upload audio and video files from URLs only in the China (Shanghai) region.
- Log on to the ApsaraVideo VOD console.
- In the left-side navigation pane, choose Media Files > Audio/Video.
- On the Video and Audio page, click Upload.
- On the Upload Media page, click Add Media.
- In the Add Media dialog box, add a file that you want to upload, configure the transcoding settings, and then click Upload.
- Upload files from your local PCNote You can upload M3U8 files in the ApsaraVideo VOD console only from URLs, but not from PCs.
- Upload files from URLs
If a specified URL does not contain a file name extension, the upload may fail. To prevent upload failures, make sure that the URL that you specify contains a file name extension. For more information, see UploadMediaByURL.
Note- You can click Cancel to pause the upload of a video.
- If a video fails to be uploaded or the video upload is paused, you can resume the upload.
- Your upload job may fail because the network is disconnected or you upload the resources to a non-supported region. In this case, check the network connectivity or upload the resources to a supported region.
- Upload files from your local PC
Upload images
- Log on to the ApsaraVideo VOD console.
- In the left-side navigation pane of the ApsaraVideo VOD console, choose Upload Image. . On the Image page, click
- On the Upload Image page, click Add Images. In the dialog box that appears, add one or more images and click Upload.
Upload short video materials
- Log on to the ApsaraVideo VOD console.
- In the left-side navigation pane of the ApsaraVideo VOD console, choose Upload Material. . On the Short Video Material page, click
- On the Upload Material page, configure the information about the material that you want to upload and click Upload.
Note The image that you upload as the material icon must be an image in the PNG format and its resolution cannot exceed 200 × 200 pixels.