IMFTranscodeProfile::SetVideoAttributes method (mfidl.h)
Sets video stream configuration settings in the transcode profile.
For example code, see MFCreateTranscodeProfile.
Syntax
HRESULT SetVideoAttributes(
[in] IMFAttributes *pAttrs
);
Parameters
[in] pAttrs
Pointer to the IMFAttributes interface of an attribute store that 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:
- Video Media Types
- MF_TRANSCODE_DONOT_INSERT_ENCODER
- MF_TRANSCODE_ENCODINGPROFILE
- MF_TRANSCODE_QUALITYVSSPEED
Return value
If this method succeeds, it returns S_OK. Otherwise, it returns an HRESULT error code.
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 |