DirectShow Filters and windows media player On Smartphone Emulator



Hi,

I am currently developing a Directshow filter for Windows Mobile 5.0
Smartphone SDK. I have developed the filter and tested it (On
emulator). I am also able to register the same with the smartphone
emulator using VS.NET 2005.

I am able to programmatically render my custom video file but the
Windows media Player is unable to play the same video file.

The Code is able to locate the filter and add it to the filter graph
manager(automatically). But I have no clue on why Windows Media player
is unable to locate the same.

The Filter also has a registry entry under Filters Section which lists
all the filters which are used in Intelligent connect mechanism.

I would be grateful for any help on this issue.

I am doing the following in the sample Windows application ::

IGraphBuilder* g_graphBuilder;

IMediaControl * myControl;

HRESULT myResult;
CoInitializeEx(NULL, COINIT_MULTITHREADED);
HRESULT hr;
hr =
CoCreateInstance(CLSID_FilterGraph,NULL,CLSCTX_INPROC_SERVER,IID_IGraphBuilder,(void
**) & g_graphBuilder);
g_graphBuilder->QueryInterface(IID_IMediaControl, (void **)
&myControl);
myResult = g_graphBuilder->RenderFile(L"\\final.avi",NULL);

if(SUCCEEDED(myResult))
{
myControl->Run();
}

.



Relevant Pages

  • Re: Search for Text in .asp Files
    ... Ramesh - Microsoft MVP ... Something in Windows keeps changing the text filter back to the html filter. ... asp files 5 levels down which contain that same ...
    (microsoft.public.windowsxp.configuration_manage)
  • Re: Search for Text in .asp Files
    ... Ramesh - Microsoft MVP ... Something in Windows keeps changing the text filter back to the html filter. ... asp files 5 levels down which contain that same ...
    (microsoft.public.windowsxp.general)
  • Re: Search for Text in .asp Files
    ... Ramesh - Microsoft MVP ... Something in Windows keeps changing the text filter back to the html filter. ... asp files 5 levels down which contain that same ...
    (microsoft.public.windowsxp.customize)
  • Re: Help - registering directshow filter in Pocket PC device
    ... Windows CE Multimedia and Graphics ... filter) in Pocket PC device. ... What problem are you having when compiling on CE 5.0? ... HRESULT CSampleGrabber::CheckMediaType ...
    (microsoft.public.pocketpc.developer)
  • Re: DVD Driver Disabled
    ... I found my opticals both missing today. ... I removed the LOWER filter entry... ... > CD-ROM Drive or DVD-ROM Drive Missing After You Install Windows XP ... An alternate driver may be providing ...
    (microsoft.public.windowsxp.hardware)