Re: DirectShow Filters and windows media player On Smartphone Emulator



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();
}

.



Relevant Pages

  • Re: Metadata from OGG, FLAC and zero duration
    ... I heard a rumor that the start time on every sample from one FLAC filter was ... Speex, Theora and FLAC, and I would like to improve the Windows Media ... "I believe getting the metadata promotion to work correctly might ... I have dumped all the interfaces that Windows Media Player 11 queries ...
    (microsoft.public.windowsmedia.player)
  • Source filter handling progressive download with windows media player
    ... pause/resume playing from within my source filter? ... windows media player 11 is working great. ... load, pause, stop, set position to 0, pause again and then run. ...
    (microsoft.public.win32.programmer.directx.video)
  • Re: IGraphBuilder::Renderfile fails with VFW_E_CANNOT_RENDER for .mp3 files in Windows mobile 5.0
    ... connecting intelligently then 'MPEG-1 Splitter' is inserted in between the ... show that this filter is at least supported in WinCE5.0. ... is still not included in the WM5 Pocket PC SDK. ... Instead they are asking us to use windows media player ocx to play the ...
    (microsoft.public.windowsce.embedded.vc)
  • Spying on Windows Media Player
    ... Media Player is using to render a particular file? ... For now what I've tried to do to "spy" on Windows Media Player is to ... The problem here is that I see a bunch of filter DLLs ...
    (microsoft.public.win32.programmer.directx.audio)
  • Re: Double hires mode color artifacts
    ... So we need to know how the filters worked in an actual monitor. ... an emulator and I've got my plate pretty full with other things. ... should take 15 minutes or so (once the filter coefficients are ... And this should stay in the cache. ...
    (comp.sys.apple2)