locked
DMOs Operability in Media Foundation ? RRS feed

  • Question

  • I thought I remembered hearing somewhere that DirectX Media Objects could be directly used by Media Foundation.  However reading the current docs for Media Foundataion Transforms (http://windowssdk.msdn.microsoft.com/en-us/library/ms703138.aspx), it sounds as if you can implement IMediaObject on an object that implements IMFTransform but one cannot directly use DMOs in Media Foundation.  Is this correct?

    Thanks!

    Scott

    Monday, July 17, 2006 5:05 PM

Answers

  • Hi Scott,

    You're right: The Media Foundation pipeline is prepared to handle Media Foundation Transforms (MFTs), not DMOs.  And you're also right that if you write a wrapper for the DMO that you want to use that translates IMFTransform calls to IMediaObject calls, you should be good to go.

    Since the two interfaces are similar enough (read the documentation, of course :-)), this should be doable.

    Becky

    Monday, July 17, 2006 6:49 PM

All replies

  • Hi Scott,

    You're right: The Media Foundation pipeline is prepared to handle Media Foundation Transforms (MFTs), not DMOs.  And you're also right that if you write a wrapper for the DMO that you want to use that translates IMFTransform calls to IMediaObject calls, you should be good to go.

    Since the two interfaces are similar enough (read the documentation, of course :-)), this should be doable.

    Becky

    Monday, July 17, 2006 6:49 PM
  • Thanks Becky for your help!

    Sounds as if the DMO wrapper for Media Foundation could be a very useful tool.  Any chance this functionality could be folded into future versions of Media Foundation? 

    Tuesday, July 18, 2006 4:59 PM