Microsoft DirectX 9.0

The DirectShow SDK and the Windows Media Format SDK

DirectShow and the Windows Media Format SDK offer complementary solutions for writing applications that create and play back Windows Media Format streams.  For more information, see the "Audio and Video" section of the MSDN Library.

The ASF Writer filter accepts any number of input streams and creates an ASF file. The filter uses the Windows Media Format SDK to convert uncompressed audio or video files to Windows Media-based content. The compressed content is then stored in the ASF container format. If the content is audio only, then the file is given a ".wma" extension and is referred to as a "Windows Media Audio" file. If the content is video only or video and audio, then the file is given a ".wmv" extension and is referred to as a "Windows Media Video" file. Either type of file may also include metadata.

You can use the WM ASF Writer in various scenarios including digital video (DV) capture, audio recompression, and conversion of Audio-Video Interleaved (AVI) or MPEG multimedia files for network streaming. This filter provides the only way to create Microsoft® Windows Media™ Audio (WMA) and Windows Media Video (WMV) files in DirectShow®. The filter can also create files that are secured by Digital Rights Management (DRM), and can also create MPEG-4 content using the Microsoft MPEG-4 Encoder. This content is stored in the ASF container format.

Important The most recent version of the WM ASF Writer and WM ASF Reader filters now ship with the Windows Media Format 9 Series SDK. The filters that ship with DirectX 9.0 and later will be obsolete after Windows Media Format 9 Series SDK is released. The DirectX 9.0 version of the filters can be used only in conjunction with version 7.0 or 7.1 of the Windows Media Format SDK; those versions will no longer be available for download after Windows Media 9 Series is released.