AVDecCommonInputFormat 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 current input format for the decoder.

This property is read-only.

Data type

BSTR (VT_BSTR)

Property GUID

CODECAPI_AVDecCommonInputFormat

Property value

The value of this property is a BSTR that contains the string representation of a GUID. The following GUIDs are defined.

GUID Description
CODECAPI_GUID_AVDecAudioInputAAC Advanced Audio Coding (AAC)
CODECAPI_GUID_AVDecAudioInputDolbyDigitalPlus Dolby Digital Plus audio
CODECAPI_GUID_AVDecAudioInputDolby Dolby audio
CODECAPI_GUID_AVDecAudioInputDTS DTS audio
CODECAPI_GUID_AVDecAudioInputHEAAC High-Efficiency Advanced Audio Coding (HE-AAC)
CODECAPI_GUID_AVDecAudioInputMPEG MPEG audio
CODECAPI_GUID_AVDecAudioInputPCM PCM audio
CODECAPI_GUID_AVDecAudioInputWMA Windows Media Audio
CODECAPI_GUID_AVDecAudioInputWMAPro Windows Media Audio 9 Professional (WMA Pro)

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