MFConvert Method (IMFFrame)
required media properties
result frame (converted)
frame rest
additional parameters
ID of a converter
Converts the frame's format (include frame rate conversion) or just scale the video frame.
Syntax

Parameters

_pPropsDest
required media properties
_ppFrameRes
result frame (converted)
_pnFrameRest
frame rest
_bsPropsList
additional parameters
_bsConverterID
ID of a converter
Example

Here is example of how to convert a frame:

MFFrame pFrame;
m_objLive.SourceFrameConvertedGet(ref m_avProps, -1, out pFrame, "");
M_AV_PROPS props = new M_AV_PROPS();
props.vidProps.eInterlace = eMInterlace.eMI_Field1First; // you can set any fields that you need
MFFrame convertedFrame;
int rest;
pFrame.MFConvert(ref props, out convertedFrame, out rest, "", "");
See Also

Reference

IMFFrame Interface
IMFFrame Members