Επεξεργασία

Κοινή χρήση μέσω


Output Format Enumeration

[The feature associated with this page, Windows Media Format 11 SDK, is a legacy feature. It has been superseded by Source Reader and Sink Writer. Source Reader and Sink Writer have been optimized for Windows 10 and Windows 11. Microsoft strongly recommends that new code use Source Reader and Sink Writer instead of Windows Media Format 11 SDK, when possible. Microsoft suggests that existing code that uses the legacy APIs be rewritten to use the new APIs if possible.]

Both the reader object and the synchronous reader object communicate with the codecs to enumerate the possible output formats for compressed streams. When you read a file containing content compressed with one or more of the Windows Media codecs, you can examine the possible output formats to choose the one that best suits your needs. For convenience, each codec has a default output format which is set to the most commonly used format. For more information about output enumeration, see Working with Outputs.

You can make certain changes to an output format depending upon the media type. For video streams, for example, you can change the frame size and color depth. The reading objects both support an interface to test changes you make to the output format, called IWMReaderTypeNegotiation.

File Reading Features