On May 3, 11:03 am, "Alessandro Angeli" <nob...[ at ]nowhere.in.the.net> wrote:
[Quoted Text] > From: "martomarta...[ at ]hotmail.com" > > > I am Detouring WMP and when I play a .wmv file from a URL > > the graph that is created has the "undocumented" > > WMRenderer Source Filter. How is this object created? > > Thru CoCreateInstance? > > > Anyone know what the CLSID is? I can't find it in the > > registry. > > You can ask a filter for its CLSID by calling > IBaseFilter::GetClassID(). Of course, the filter can lie or > not have a valid CLSID if it is not a registered class. > > The WMRenderer filter is WMP's internal source filter that > wraps WMF's WMReader object in decompressed mode. It is not > a registered class and there is no way to create it outside > of WMP. > > > Furthurmore, is there anyway to find out what URL was > > specified? I believe I can get the URL from the WMP > > Player automation interface, but I'd rather get the URL > > from the DirectShow level. > > Have you tried to call IFileSourceFilter::GetCurFile() on > the source filter? >
The filter doesn't expose that interface. Oh well.
Do you know how WMP reads the stream from the URL?
> -- > // Alessandro Angeli > // MVP :: DirectShow / MediaFoundation > // mvpnews at riseoftheants dot com > //http://www.riseoftheants.com/mmx/faq.htm
|