Re: DirectShow Filters and windows media player On Smartphone Emulator
- From: "Sreekanth" <sreekanth.ramakrishnan@xxxxxxxxx>
- Date: 31 Oct 2006 06:48:38 -0800
Hi
It was a problem with the Windows Media Player on Emulator. I got it
working on the actual device.
Regards
Sreekanth
Sreekanth wrote:
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();
}
.
- Prev by Date: Re: How to get HWND in MFC app. and set VMR9Windowless mode
- Next by Date: Re: Flaky sample capture
- Previous by thread: Re: How to get HWND in MFC app. and set VMR9Windowless mode
- Next by thread: Re: Flaky sample capture
- Index(es):
Relevant Pages
|