To play MPEG2 files, you must have MPEG2-compatible audio and video decoders. Due to patents covering this technology, MediaFoundation does not come with such decoders. For the same reason LEAD does not offer complete built-in support for playing MPEG2 files. LEAD does provide the LEAD MPEG2 Video Decoder, which is a separate decoder the can be used to play the video portion. The audio in most MPEG2 files uses MPEG1 audio compression. Consequently, nothing else is needed to hear the sound in most MPEG2 files. However, some MPEG2 files use other types of audio compression such as AAC or AC3. To hear the audio in these files, you must install a compatible decoder. LEAD provides the LEAD AAC Decoder but does not provide an AC3 or LPCM decoder. It will, however, automatically use such a decoder if available.
Direct Show .NET | C API | Filters
Media Foundation .NET | C API | Transforms