Questions about Media Source

How does Media Source get Presentation Descriptor or meta data Media Source in MF sounds to me like a combination of file/network reader and de-multiplexer in DirectShow. Is it sure

In playing premium content, my understanding is that Media Source needs to expose the IMFInputTrust interface, from which the topology loader can obtain an input trust authority and then from the ITA to a decryptor. How does Media Source determine what decryptor should be used




Answer this question

Questions about Media Source

  • Manaxter

    ... The answer to your question about what decryptor to provide is similar -- since the Media Source knows what data it's going to be sourcing, it presumably also knows about how it's encrypted. This should be enough info to come up with a decryptor.

  • Aleksey Nagoga.

    Yes, a media source generally performs the functions of a file/network reader + demultiplexer in DirectShow. A media source is written to handle a particular format, so it's up to the media source to provide the correct presentation descriptor, metadata, and decryptor (if needed), typically by parsing header information in the source content. There is an example WAV file parser in the SDK, which shows how a media source creates a PD.

    ----------------------------------------------------------------------------
    Mike Wasson, SDK Documentation
    This posting is provided "AS IS" with no warranties, and confers no rights. You assume all risk for your use.

    (c) 2006 Microsoft Corporation. All rights reserved.



  • Questions about Media Source