Re: CEplayer sample and Windows MObile 5 problem.
- From: Dusan Arsenijevic <DusanArsenijevic@xxxxxxxxxxxxxxxxxxxxxxxxx>
- Date: Wed, 19 Dec 2007 14:58:01 -0800
Sillly me, for not trying (just used PE Explorer on the
openNETCF.WindowsCE.Media.dll and sa8 i386 as the Machine field description).
Where would be the place to look for IIDs of WMP10 interfaces?
"<ctacke/>" wrote:
The OpenNETCF control is 100% managed code, so it's not processor specific.
at all. It should work on MIPS just like it does on x86. We've tested it
on ARM and x86 both (don't have a MIPS platform to try).
--
Chris Tacke, eMVP
Join the Embedded Developer Community
http://community.opennetcf.com
"Dusan Arsenijevic" <DusanArsenijevic@xxxxxxxxxxxxxxxxxxxxxxxxx> wrote in
message news:C43DA16A-D993-41A2-8DB0-67C7D501C3ED@xxxxxxxxxxxxxxxx
Thanks Chris,
I am working on two different projects/platforms. One is WinCE6 on MIPS
(Sigmadesign SMP8634) where I am having no problems with neither WMP nor
DShow. The other one is on WM 5 for both PPC and Smatphone. I would
personally like to use DShow and filtergraph, but was unable to find the
necessary filters (network sources, splitters, parsers, decoders). The
final
goal of our team is something like mobile IPTV - meaning streaming client
on
WM platform. What is your oppinion on feasibility of this (streaming media
client) using Dshow/WMP on WM5/6?
I downloaded the OPENNETCF control demo app, but the CE one is built for
x86
only.
Could you post a link to documentation on WMP10 where I could find the
interfaces and their GUIDs.
"<ctacke/>" wrote:
WMP on WM10 does have a COM interface (IWMPPlayer4), and that's how our
managed control works. On generic CE we don't use COM, we use a DShow
filtergraph. The question is, what platform are you trying to run on
specifically?
If it's WM then you have the wrong guid. Looking at our source, we're
using
"6bf52a52-394a-11d3-b153-00c04f79faa6"
--
Chris Tacke, eMVP
Join the Embedded Developer Community
http://community.opennetcf.com
"Dusan Arsenijevic" <DusanArsenijevic@xxxxxxxxxxxxxxxxxxxxxxxxx> wrote in
message news:0C7F614B-8FA1-42B3-A9E8-8F47280E3E21@xxxxxxxxxxxxxxxx
Thanks. What I get from this is that the WMP10 for WM5 does not
implement
IWMPPlayer interface. Hm... That's mean. So, theat's another breed of
WMP10,
different from the one for desktop platform?
I still don't get it - how is then possible to host that controll in an
AXHost (lIke the way NETCF has done)?
The real issue is that I have first tried with PlayWnd.exe sample that
uses
direct show (I hope that is what you meant, not direct draw). But on
WM5
it
does not want to render even local .wmv files that WMP plays. And my
definite
goal is to play streamed content (mms and rtsp). WMP10 plays mms
nicely,
but
I need tight intergration with my app, with events handling and custom
GUI.
Is this difficulty to develop custom media players inherent in WM
platforms?
Is there a solution for that?
"<ctacke/>" wrote:
That's exactly what it means. Windows Mobile has WMP10 in it, generic
CE
does not. You might look at using direct draw instead.
--
Chris Tacke, eMVP
Join the Embedded Developer Community
http://community.opennetcf.com
"Dusan Arsenijevic" <DusanArsenijevic@xxxxxxxxxxxxxxxxxxxxxxxxx> wrote
in
message news:81B184C5-9D90-4758-91EE-C8080728AD69@xxxxxxxxxxxxxxxx
I am trying to (build and) run the CEplayer.exe sample application on
WM5
platform. It runs fine on my other device (MIPS dev. board) under
Win
CE
6,
but on Dell Axim x51v under WM5 it does not. A managed to figure out
the
following:
Only if I replace the original:
//EXTERN_C const CLSID CLSID_MediaPlayer = { 0x22D6F312,
// 0xB0F6, 0x11D0,
// { 0x94, 0xAB, 0x00,
0x80,
// 0xC7, 0x4C, 0x7E,
0x95 } };
with:
EXTERN_C const CLSID CLSID_MediaPlayer = { 0x6BF52A52,
0x394A, 0x11D3,
{ 0xB1, 0x53, 0x00, 0xC0,
0x4F, 0x79, 0xFA,
0xA6 } };
(which corresponds to WMP 7 OCX), the following line returns S_OK:
hResult = CoCreateInstance(rclsid, NULL,
CLSCTX_INPROC_SERVER | CLSCTX_LOCAL_SERVER,
IID_IUnknown, reinterpret_cast<LPVOID*>(&m_pUnk));
BUT, the line:
hResult = m_pUnk->QueryInterface(IID_IMediaPlayer,
reinterpret_cast<LPVOID*>(&m_pMP));
returns: -2147467262 {E_NOINTERFACE}
Does this mean the Media Player Control in WM5 does not impelment
IWMPlayer
interface?! Or do I have the wrong IID that applies to WINCE 5/6 but
not
for
the component in WM5?
How can I resolve this?
- Follow-Ups:
- Re: CEplayer sample and Windows MObile 5 problem.
- From: <ctacke/>
- Re: CEplayer sample and Windows MObile 5 problem.
- References:
- CEplayer sample and Windows MObile 5 problem.
- From: Dusan Arsenijevic
- Re: CEplayer sample and Windows MObile 5 problem.
- From: <ctacke/>
- Re: CEplayer sample and Windows MObile 5 problem.
- From: Dusan Arsenijevic
- Re: CEplayer sample and Windows MObile 5 problem.
- From: <ctacke/>
- Re: CEplayer sample and Windows MObile 5 problem.
- From: Dusan Arsenijevic
- Re: CEplayer sample and Windows MObile 5 problem.
- From: <ctacke/>
- CEplayer sample and Windows MObile 5 problem.
- Prev by Date: Re: CEplayer sample and Windows MObile 5 problem.
- Next by Date: Re: CEplayer sample and Windows MObile 5 problem.
- Previous by thread: Re: CEplayer sample and Windows MObile 5 problem.
- Next by thread: Re: CEplayer sample and Windows MObile 5 problem.
- Index(es):
Relevant Pages
|