Rediger

Del via


AVEncCodecType 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 encoding scheme.

This property is read/write.

Data type

BSTR (VT_BSTR)

Property GUID

CODECAPI_AVEncCodecType

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_AVEncDolbyDigitalConsumer Dolby Digital Consumer audio
CODECAPI_GUID_AVEncDolbyDigitalPlus Dolby Digital Plus audio
CODECAPI_GUID_AVEncDolbyDigitalPro Dolby Digital Pro audio
CODECAPI_GUID_AVEncDTS DTS audio
CODECAPI_GUID_AVEncDTSHD DTS-HD audio
CODECAPI_GUID_AVEncDV DV video
CODECAPI_GUID_AVEncH264Video H.264 video
CODECAPI_GUID_AVEncMLP Meridian Lossless Packing (MLP) audio
CODECAPI_GUID_AVEncMPEG1Audio MPEG-1 audio
CODECAPI_GUID_AVEncMPEG1Video MPEG-1 video
CODECAPI_GUID_AVEncMPEG2Audio MPEG-2 audio
CODECAPI_GUID_AVEncMPEG2Video MPEG-2 video
CODECAPI_GUID_AVEncPCM PCM audio
CODECAPI_GUID_AVEncSDDS Sony Dynamic Digital Sound (SDDS) audio
CODECAPI_GUID_AVEncWMALossless Windows Media Audio 9 Lossless audio
CODECAPI_GUID_AVEncWMAPro Windows Media Audio 9 Professional (WMA Pro) audio
CODECAPI_GUID_AVEncWMAVoice Windows Media Audio 9 Voice audio
CODECAPI_GUID_AVEncWMV Windows Media Video
CODECAPI_GUID_AVEndMPEG4Video MPEG-4 video

Remarks

Applications can set this property to specify which encoding scheme to use. Codecs can also return this property as a capability.

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