Supported Media Formats in Media Foundation

This topic lists the media formats that Microsoft Media Foundation supports natively. Third parties can support additional formats by writing custom plug-ins.

File Containers

FormatFile ExtensionsMedia SourceMedia SinkRequires
3GP.3g2, .3gp, .3gp2, .3gpp MPEG-4 File Source 3GP File SinkWindows 7
Advanced Streaming Format (ASF).asf, .wma, .wmv ASF Media Source ASF Media Sink Windows Vista
Audio Data Transport Stream (ADTS)..aac, .adtsADTS File SourceNoneWindows 7
AVI.aviAVI File SourceNoneWindows 7
MP3.mp3 MP3 File Source MP3 File Sink

File source: Windows Vista

File sink: Windows 7

MPEG-4.m4a, .m4v, .mov, .mp4 MPEG-4 File Source MPEG-4 File Sink Windows 7
Synchronized Accessible Media Interchange (SAMI).sami, .smi SAMI Media Source NoneWindows Vista
WAVE.wavAVI File SourceNoneWindows 7


Audio Codecs

μ-law Coding Audio Compression Manager (ACM) μ-law CodecNoneWindows Vista
Adaptive Differential Pulse Code Modulation (ADPCM)ACM ADPCM CodecNoneWindows Vista
Advanced Audio Coding (AAC) AAC Decoder AAC Encoder Windows 7
MP3 Windows Media MP3 Decoder NoneWindows Vista
GSM 6.10ACM GSM 6.10 CodecNoneWindows Vista
Windows Media Audio (WMA)

Windows Media Audio Decoder

Windows Media Audio Voice Decoder

Windows Media Audio Encoder

Windows Media Audio Voice Encoder

Windows Vista


Note  Media Foundation provides wrappers for several ACM codecs, listed in the previous table. However, Media Foundation does not support arbitrary ACM codecs.

Video Codecs

DV Video DV Video Decoder NoneWindows 7
H.264 H.264 Video Decoder H.264 Video Encoder Windows 7


(H.264 baseline profile which is compatible to MPEG-4 Pt2 short video header mode)

MPEG-4 Part 2 Video Decoder NoneWindows 8
MJPEGMJPEG DecoderNoneWindows 7
MPEG-4 Part 2 MPEG-4 Part 2 Video Decoder NoneWindows 7
MPEG-4 v1/v2/v3

Windows Media MPEG-4 V3 Decoder

Windows Media MPEG4 V1/V2 Decoder

NoneWindows Vista
Windows Media Video (WMV)

Windows Media Video 9 Decoder

Windows Media Video 9 Screen Decoder

Windows Media Video 9 Encoder

Windows Media Video 9 Screen Encoder

Windows Media Video 7/8 Encoder

Windows Vista


Note  The "Requires" column lists the minimum operating system needed to uses these codecs within a Media Foundation application. Some of these codecs were introduced prior to Windows Vista as DirectX Media Objects (DMOs). If a codec supports DMO functionality, it can be used with DirectShow or the Windows Media Format SDK.

Related topics

Codec Objects
Media Foundation Programming Guide
Media Sources and Sinks