Color Space Conversion

[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.]

There is often a difference between the color depth of the compressed video format in the profile and the input format. When this happens, the source video must be converted to conform to the color space of the destination. The writer handles this process, communicating with an internal color-space converter.

The reader also communicates with the color-space converter to reconcile any difference between the compressed format and the output format.

As with all transforms performed on data, converting between color depths can reduce the quality of the output. When possible, you should use input and output formats with the same color depth as the compressed format.

File Writing Features

Working with Inputs

Working with Outputs