ApsaraVideo Media Processing (MPS) allows you to convert the definition, encoding format, or container format of audio and video streams to adapt to different network bandwidths and playback devices. This topic describes the formats of input and output media files supported by MPS.
Input file formats
File type | Container format | Encoding format |
Video | 3GP, AVI, FLV, MP4, M3U8, MPG, ASF, WMV, MKV, MOV, TS, WebM, MXF, and VOB | Apple ProRes, AVS+, AVS, AVS2, H.263, H.263+, H.264/AVC, H.265/HEVC, H.266/VVC, MJPEG, MPEG-1, MPEG-2, MPEG-4, QuickTime, RealVideo, VP8, VP9, and WMV |
Audio | AAC, FLAC, M4A, MP3, MP4, and Ogg | AAC, AC3, ADPCM, AMR, DSD, EAC3, MP1, MP2, MP3, PCM, RealAudio, FLAC, Opus, Vorbis, and WMA |
Output file formats
Video
Container name (file name extension) | Container format | Video encoding format | Audio encoding format |
HLS (.m3u8+.ts) | M3U8 | H.264 and H.265 | AAC, AC3, EAC3, and MP3. AAC is supported if the video encoding format is H.264. |
HLS (.m3u8+fmp4) | HLS-fMP4 | H.264 and H.265 | AAC, AC3, EAC3, and MP3 |
DASH (.mpd+fmp4) | MPD | H.264 and H.265 | AAC, AC3, and EAC3 |
CMAF (HLS) | CMAF-HLS | H.264 and H.265 | AAC, AC3, and EAC3 |
CMAF (DASH) | CMAF-DASH | H.264 and H.265 | AAC, AC3, and EAC3 |
3GP (.3gp) | 3GP | H.264 | AAC |
AVI (.avi) | AVI | H.264 and H.265 | AAC, AC3, MP2, MP3, FLAC, Vorbis, WMA, and pcm_s16le |
FLV (.flv) | FLV | H.264 | AAC and MP3 |
F4V (.f4v) | F4V | H.264 | AAC and MP3 |
fMP4 (.mp4) | fMP4 | H.264, H.265, and AV1 | AAC, AC3, EAC3, MP2, MP3, FLAC, and Vorbis |
MKV (.mkv) | MKV | H.264 and H.265 | AAC, AC3, MP2, MP3, FLAC, Vorbis, WMA, and pcm_s16le |
MOV (.mov) | MOV | H.264 and H.265 | AAC, AC3, EAC3, MP3, FLAC, and pcm_s16le |
MP4 (.mp4) | MP4 | H.264, H.265, and AV1 | AAC, AC3, EAC3, MP2, MP3, FLAC, and Vorbis |
MPEG-2 TS (.ts) | TS | H.264 and H.265 | AAC and MP3 |
MXF (.mxf) | MXF | H.264 | pcm_s16le |
WebM (.mkv+.webm) | WebM | AV1 | Opus and Vorbis |
GIF (.gif) | GIF | GIF | Not supported |
WebP (.webp) | WebP | WebP | Not supported |
Audio
Container name (file name extension) | Container format | Audio encoding format |
AAC (.aac) | AAC | AAC |
M4A (.m4a) | M4A | AAC |
MP2 (.mp2) | MP2 | MP2 |
MP3 (.mp3) | MP3 | MP3 |
MP4 (.mp4) | MP4 | AAC and MP3 |
Ogg (.ogg) | Ogg | Vorbis and FLAC |
FLAC (.flac) | FLAC | FLAC |
WAV (.wav) | WAV | pcm_s16le |