Using Uncompressed Audio and Video Streams

Under most circumstances, uncompressed media has prohibitively large storage and delivery requirements, but for some local playback scenarios, the quality level is important enough to warrant not using compression..

The settings for an uncompressed media stream should reflect the settings of the source media. When configuring an uncompressed stream, you must calculate the bit rate of the media and set the stream appropriately by calling IWMStreamConfig::SetBitrate. Because uncompressed streams are not viable for streaming, you should always set the buffer window for uncompressed media streams to zero by calling IWMStreamConfig::SetBufferWindow.

The following pixel formats are supported for uncompressed video streams:

  • WMMEDIASUBTYPE_RGB555
  • WMMEDIASUBTYPE_RGB24
  • WMMEDIASUBTYPE_RGB32
  • WMMEDIASUBTYPE_I420
  • WMMEDIASUBTYPE_IYUV
  • WMMEDIASUBTYPE_YV12
  • WMMEDIASUBTYPE_YUY2
  • WMMEDIASUBTYPE_UYVY
  • WMMEDIASUBTYPE_YVYU

Configuration Common to All Streams

Configuring Audio Streams

Configuring Streams

Configuring Video Streams