Export (0) Print
Expand All

IMFTranscodeProfile::SetVideoAttributes method

Sets video stream configuration settings in the transcode profile.

For example code, see MFCreateTranscodeProfile.

Syntax


HRESULT SetVideoAttributes(
  [in]  IMFAttributes *pAttrs
);

Parameters

pAttrs [in]

Pointer to the IMFAttributes interface of an attribute store that contains contains the configuration settings for the video stream. The specified attribute values overwrites any existing values stored in the transcode profile.

The following video attributes can be set:

To create the attribute store, call MFCreateAttributes. To set a specific attribute value in the attribute store, the caller must call the appropriate IMFAttributes methods depending on the data type of the attribute.

Return value

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

Requirements

Minimum supported client

Windows 7 [desktop apps only]

Minimum supported server

Windows Server 2008 R2 [desktop apps only]

Header

Mfidl.h

See also

Attributes in Media Foundation
Transcode API
IMFTranscodeProfile

 

 

Community Additions

ADD
Show:
© 2014 Microsoft