locked
GetInputAvailableType on IMFTransform is never called

    Question

  • Hi!

    I'm developing my custom video effects, i did developed a DLL with implementation of IMFTransform. 

    In my sample app im applying video effects to transcoder - everything works fine as i'm controlling decoding process (i'm using media stream source and reading samples through my IMFSourceReader). In my MFT i'm receiving expected video (color) format and MFT can apply effects.

    Now i'm trying to do the same thing but using a MediaCapture. I see it tries to pass samples in YUY2 format and never asks my MFT about supported input types, GetInputAvailableType is never called, only SetInputType .

    Did i missed something?  

    Yes, i know i can make color conversion using shaders or Video Processor, but this looks strange for me. Why i need to implement method in MFT which is never called?

    Monday, July 21, 2014 12:22 PM

Answers

All replies

  • I'll ask our media guru to check this out.

    Matt Small - Microsoft Escalation Engineer - Forum Moderator
    If my reply answers your question, please mark this post as answered.

    NOTE: If I ask for code, please provide something that I can drop directly into a project and run (including XAML), or an actual application project. I'm trying to help a lot of people, so I don't have time to figure out weird snippets with undefined objects and unknown namespaces.

    Monday, July 21, 2014 7:15 PM
    Moderator
  • Hello Dmitry,

    I'm back from holiday. Do you still need help with this?

    Thanks,

    James


    Windows SDK Technologies - Microsoft Developer Services - http://blogs.msdn.com/mediasdkstuff/

    Wednesday, August 06, 2014 6:29 PM
    Moderator
  • Hi James,

    I've found solution, this topic could be closed. 

    Wednesday, August 06, 2014 9:27 PM