Media asset upload overview
Before using media processing or online editing in Intelligent Media Services (IMS), upload your media assets — videos, audio, images, and auxiliary files such as captions and fonts.
Supported file formats
IMS supports uploading videos, audio files, images, and auxiliary media assets such as captions and fonts. Upload local files directly, or pull online files from a URL or import them from OSS.
Media type | File format | ||
Video | MPEG | MP4, TS, 3GP, MPG, MPEG, MPE, DAT, VOB, and ASF | |
AVI | AVI | ||
Windows Media Video | WMV and ASF | ||
Flash Video | FLV and F4V | ||
Real Video | RM and RMVB | ||
QuickTime | MOV | ||
Matroska | MKV | ||
HTTP-Live-Streaming (HLS) | M3U8. The standard M3U8 format is supported. Make sure that the segments of an M3U8 file are TS segments. We recommend that you use an English file name without special characters. This ensures that the file can be identified. | ||
Other formats | DV, GIF, M2T, M4V, MJ2, MJPEG, MTS, OGG, QT, SWF, and WebM | ||
Audio | MP3, WMA, WAV, AAC, RA, M4A, FLAC, APE, AC3, AMR, CAF, and ACM | ||
Image | GIF, WebP, PNG, JPG, JPEG, and HEIC | ||
Auxiliary media asset | Subtitle | SRT, VTT, and ASS | |
Font | TTF, TTC, and FON | ||
Upload methods
|
Upload method |
Description |
Scenarios |
|
Upload media assets directly in the IMS console. |
Quick uploads or large-file uploads in simple O&M environments. |
|
|
Call the UploadMediaByURL operation to pull media files from public URLs and store them in IMS. |
Media files accessible through public URLs. |
|
|
Upload using OSS APIs (Not recommended) |
Call the CreateUploadMedia operation to obtain the upload URL and credentials, then use a native OSS API to complete the upload. Not recommended due to limited efficiency and higher error rates. |
|
Console uploads do not support setting media tags or video thumbnails. Other upload methods support these features.
Storage options
IMS stores media assets in ApsaraVideo VOD or OSS. Configure storage addresses to add or change the default location.
|
Product |
ApsaraVideo VOD (Recommended) |
Object Storage Service |
|
Description |
Add ApsaraVideo VOD system buckets or your own OSS buckets registered in the VOD system. Create new buckets in the ApsaraVideo VOD console if needed. Manage VOD storage. |
Add your OSS buckets, or create new ones in the OSS console. Create buckets in the console. |
|
Scenarios |
All-in-one video service covering upload, transcoding, distribution, and playback with built-in CDN, hotlink protection, watermarking, and AI processing. |
General-purpose storage for unstructured data. Requires integrating transcoding, CDN, players, and access control — flexible but operationally complex. |
|
Price level |
Standard storage unit price is comparable to OSS. |
More flexible billing. Overall cost can be 5%–10% lower. |
|
Management and O&M |
Out-of-the-box: auto-creates buckets, attaches CDN, and generates playback URLs. Low O&M overhead. |
Requires manual CDN, hotlink protection, credential, and authentication setup. Suited for teams with DevOps capabilities or an existing storage platform. |
Post-upload processing
When uploading audio or video files, you can enable automatic transcoding. IMS runs the specified workflow after the upload completes. The callback you receive indicates whether the media asset is ready:
-
No post-upload processing: the asset is ready when you receive the video upload complete callback.
-
With post-upload processing: the asset is ready when you receive the transcoding sub-task complete or transcoding main task complete callback.
All available callbacks are listed in Callback event overview.
Contact us
If you have questions or want to obtain technical support, join the DingTalk group for IMS (ID: 84650000851) to contact us.