IWMCodecPrivateData interface

Gets the private codec data that must be appended to the output media type. This codec data is required for properly decoding Windows Media Video content.

This interface is implemented by the video encoder object and the screen capture encoder object. You do not need codec private data to decode content of the subtype WMCMEDIASUBTYPE_WMV1 (Windows Media Video version 7). For any other output type, you must obtain a pointer to the encoder's IWMCodecPrivateData interface by calling the QueryInterface method of any other interface on the object, such as IMediaObject or IMFTransform.

Members

The IWMCodecPrivateData interface inherits from the IUnknown interface. IWMCodecPrivateData also has these types of members:

Methods

The IWMCodecPrivateData interface has these methods.

MethodDescription
GetPrivateData

Retrieves the codec data for the output type.

SetPartialOutputType

Gives the codec the output media type without the codec data. The codec needs this information to generate the private data.

 

Requirements

Minimum supported client

Windows XP [desktop apps only]

Minimum supported server

Windows Server 2003 [desktop apps only]

Header

Wmcodecdsp.h

See also

Media Foundation Interfaces

 

 

Community Additions

ADD
Show:
© 2014 Microsoft. All rights reserved.