title: Media Foundation: Interlaced source picture to progressive output picture
body: <p>I am capturing some legacy interlaced video (using Firewire), and encoding it using the H.264 encoder, into an MP4 file, using the sample project MFCaptureToFile from the Media Foundation samples. I would like to configure the MF so that the output H.264 picture is progressive. Can it be done?</p>
  
  <p>As I understand, I must set the AVEncVideoOutputScanType property of the ICodecAPI to eAVEncVideoOutputScan_Progressive. How do I obtain the ICodecAPI from the IMFSinkWriter? Do I use the GetServiceForStream method? I tried, but I get E_NOINTERFACE if I use GUID_NULL for the second parameter, and IID_ICodecAPI for the third parameter.</p>