How to use MF ASF Media Source RRS feed

  • Question




    I woud like to wrap MF ASF Media Source filter in my Media Source. I would like to know the CLSID of MF ASF Media Source. Also Can I use CoCreateInstance() to load the Media Source.



    Friday, February 29, 2008 8:11 AM


  • The MF ASF Media Source is not a COM object (ie, there is no CLSID for it, and you can't CoCreate it).


    Instead, if you want to instantiate the ASF media source, you need to use the MF Source Resolver which is documented at: http://msdn2.microsoft.com/en-us/library/ms694009(VS.85).aspx


    Note that when using the Source Resolver, you need to pass in either a URL or an IMFByteStream interface.  The Source Resolver will give you back an instance of the IMFMediaSource for the ASF media source provided the URL or IMFByteStream contains actual ASF content.

    Sunday, March 2, 2008 1:10 AM