From: "David"
[Quoted Text] > My manager wants the wmv file to play using WMP, and > wants me to control the 2nd window. What I would like to > do is have WMP and the ActiveMovie Window both be > displayed on a C++ dialog. My hope is that I can get some > good information from this message board that will help > me find out whether this can be accomplished using WMP.
WMP relies on the filter graph manager and the FGM only knows how to manage the first video renderer, hence the only way to manage more than one renderer is by skipping both WMP and the FGM, which means a custom application that renders the file or one that embeds WMP hacking its way to WMP's internal graph. In any case, WMP itself will not support 2 video streams the way you want it to. You could also write a custom trans-in-place filter that accepts RGB or YUV video and only accepts to be connected to the VMR7 or VMR9: this filter can have multiple inputs and outputs connected to the VMR and can configure the VMR to display the streams side by side by setting the target rectangles in the media type. However it will not be easy to make it work in WMP and it may not work at all with WMV files.
-- // Alessandro Angeli // MVP :: DirectShow / MediaFoundation // mvpnews at riseoftheants dot com // http://www.riseoftheants.com/mmx/faq.htm
|