Click here to get back home

DirectShow Filters and windows media player

 HomeNewsGroups | Search | About
 microsoft.public.smartphone.developer    Post an article   get this group's latest topics as an RSS feed add this group's latest topics to your My MSN content add this group's latest topics to your My Yahoo content
Subject Author Date
DirectShow Filters and windows media player Sreekanth 10-30-2006
Get Chitika Premium
Posted by Sreekanth on October 30, 2006, 2:28 am
Please log in for more thread options
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();
        }


Posted by Sreekanth on October 31, 2006, 9:46 am
Please log in for more thread options
Hi

It was the problem with Windows Media Player on Emulator. The filter is
detected in the 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();
>         }


Similar ThreadsPosted
Is plugin for media codec is possible in Windows media player - Mo October 13, 2006, 2:33 am
using windows media player SDK from VC++ on a smartphone November 29, 2005, 4:25 pm
How to make a Windows Media Player Plugin for Windows Mobile ? January 4, 2008, 7:17 am
Windows Media Player ActiveX Control September 18, 2005, 8:53 pm
Windows Media player Mobile 10 (SmartPhone 5.0) June 21, 2006, 3:03 pm
Notification when windows media player is closed July 30, 2007, 6:23 am
Visualizations for windows media player mobile 10 February 16, 2008, 3:08 am
How can i get the spectrum view with windows media player mobile s November 29, 2005, 7:58 pm
How to embed windows media player in smartphone 2005 application using C# September 26, 2007, 12:19 pm
How to Catch Windows Media Player Buttons (Previous, Play/Pause, Next ) on smartphone 2005 ? December 9, 2005, 10:21 am

Our other projects:

Art Dolls, Fairies and Mermaids - Sunnyfaces.net

Roy's Linux, Programming and Search Engines messages

1-Script XML SitemapXML Sitemap