IMFTranscodeProfile::GetVideoAttributes method (mfidl.h)

Gets the video stream settings that are currently set in the transcode profile.

Syntax

HRESULT GetVideoAttributes(
  [out] IMFAttributes **ppAttrs
);

Parameters

[out] ppAttrs

Receives a pointer to the IMFAttributes interface of the attribute store containing the current video stream settings. Caller must release the interface pointer.

Return value

If this method succeeds, it returns S_OK. Otherwise, it returns an HRESULT error code.

Remarks

If there are no container attributes set in the transcode profile, the GetVideoAttributes method succeeds and ppAttrs receives NULL.

To get a specific attribute value, the caller must call the appropriate IMFAttributes method depending on the data type of the attribute, and specify the attribute name. The following list shows the video attributes:

Requirements

Requirement Value
Minimum supported client Windows 7 [desktop apps only]
Minimum supported server Windows Server 2008 R2 [desktop apps only]
Target Platform Windows
Header mfidl.h

See also

Attributes in Media Foundation

IMFTranscodeProfile

Transcode API