Using MFT as a demultiplexer RRS feed

  • Question

  • I'm trying to create an MFT (as a Media Extension) that will behave as demultiplexer:

    It will take 1 input stream (raw byte stream from video file, using custom media source) and demux it into 2 output streams.

    When trying to run it in Metro style app, I have to register it as either video or audio decoder (using a custom media type GUID).

    The problem is, although I return 2 as the number of output streams on GetStreamCount, Media Foundation ignores it and doesn't even try to connect to audio output (video output works well).

    Is it because I register my MFT as Video decoder? If so, is it possible to register the same MFT as both video and audio decoder? How?

    If not, I guess it means I must do demuxing on source (I'm trying o avoid this) - Am I correct?

    Thursday, July 26, 2012 2:15 PM

All replies

  • _MFT_OUTPUT_STREAM_INFO_FLAGS enumeration only works on desktop application.


    Monday, July 30, 2012 7:29 AM