AVDecCommonOutputFormat property

[The feature associated with this page, DirectShow, is a legacy feature. It has been superseded by MediaPlayer, IMFMediaEngine, and Audio/Video Capture in Media Foundation. Those features have been optimized for Windows 10 and Windows 11. Microsoft strongly recommends that new code use MediaPlayer, IMFMediaEngine and Audio/Video Capture in Media Foundation instead of DirectShow, when possible. Microsoft suggests that existing code that uses the legacy APIs be rewritten to use the new APIs if possible.]

Specifies the output format for the decoder.

This property is read/write.

Data type

BSTR (VT_BSTR)

Property GUID

CODECAPI_AVDecCommonOutputFormat

Property value

GUID Description
CODECAPI_GUID_AVDecAudioOutputFormat_PCM PCM audio, using any number of channels
CODECAPI_GUID_AVDecAudioOutputFormat_PCM_Headphones Stereo PCM audio, using left-only/right-only (Lo/Ro) downmix
CODECAPI_GUID_AVDecAudioOutputFormat_PCM_Stereo_Auto Stereo PCM audio, using automatic selection of the stereo downmix mode (Lo/Ro or Lt/Rt). You can use this value for audio formats in which the input stream defines the preferred downmix mode, such as Dolby AC-3.
CODECAPI_GUID_AVDecAudioOutputFormat_PCM_Stereo_MatrixEncoded Stereo PCM audio, using matrix-encoded stereo downmix (Lt/Rt)
CODECAPI_GUID_AVDecAudioOutputFormat_SPDIF_Bitstream S/PDIF (Sony/Philips Digital Interface Format) compressed bitstream, as defined by IEC-60958
CODECAPI_GUID_AVDecAudioOutputFormat_SPDIF_PCM S/PDIF PCM stereo, as defined by IEC-60958

Requirements

Requirement Value
Minimum supported client
Windows 2000 Professional [desktop apps | UWP apps]
Minimum supported server
Windows 2000 Server [desktop apps | UWP apps]
Header
Codecapi.h

See also

Codec API Properties

ICodecAPI Interface