Video Processor MFT and deinterlacing

434 Views Asked by At

MSDN Video Processor MFT mentions that the MFT can be used to deinterlace interlaced video.

I set the output Media type to the same as the input + the MF_MT_INTERLACE_MODE to progressive on the output media type.

But the output samples are still interleaved.

1

There are 1 best solutions below

1
On

I can't test the Video Proccessor MFT because it needs Windows8/10. But i will say two things :

  • The documentation says it is GPU accelerated, but does not say if it does fallback to software processing. So, if it's only GPU accelerated, and if your GPU does not support deinterlacing, it can explain that your frames are still interleaved. You can check DXVAHD_PROCESSOR_CAPS.

  • For a correct deinterlacing, sample needs to be assigned with some of those values : MFSampleExtension_Interlaced, MFSampleExtension_BottomFieldFirst, MFSampleExtension_RepeatFirstField , and so on (Sample Attributes). So you can check if parser/decoder correctly set those values. If it is not, the Video Processor MFT will not be able to do deinterlacing.