Werbung: SecurityConsole.de verwaltet Ihre Computer mit Security Essentails aus der Cloud!
30 Tage kostenfrei testen und 20% Rabatt für Ihre Bestellung mit Promocode: WBF2685582
(Promocode gültig bis 31.12.2011)

Group:  English: Entertainment » microsoft.public.windowsmedia.sdk
Thread: Devoloping WMP

HTVi
TV Discussion Newsgroups

Devoloping WMP
"Achmed" <Bachmed[ at ]sadat.co.jd> 5/23/2007 5:36:37 PM
I'm a C++ developer.
I want to develop an WMP like application. Especially I'm interested in
receiving nad/or playing HTTP stream video from a WME.
Can someone refer to some code examples?

Regards

Achmed


Re: Devoloping WMP
"Alessandro Angeli" <nobody[ at ]nowhere.in.the.net> 5/23/2007 5:48:24 PM
From: "Achmed"

[Quoted Text]
> I'm a C++ developer.
> I want to develop an WMP like application. Especially I'm
> interested in receiving nad/or playing HTTP stream video
> from a WME. Can someone refer to some code examples?

WMP uses DirectShow for playback. The DirectShow SDK is
included in the Windows/Platform SDK and contains extensive
documentation and several samples.

To play back an MMS-over-HTTP ASF streams coming out of
WME9, you need to use the old WMSourceFilter or newer
WMASFReader filter (under the right conditions, the filter
is selected automatically). Notice the WMP however uses its
own WM source filter, which behaves somewhat differently.
Both the WMASFReader public filter and WMP's private filter
internally use the WMReader object in the WMF runtime (but
you can not use the WMReader directly in DirectShow, hence
the need for one of the stock wrappers or a custom one).


--
// Alessandro Angeli
// MVP :: DirectShow / MediaFoundation
// mvpnews at riseoftheants dot com
// http://www.riseoftheants.com/mmx/faq.htm


Re: Devoloping WMP
"Mike Lowery" <selfspam[ at ]mouse-potato.com> 5/23/2007 7:24:51 PM

"Achmed" <Bachmed[ at ]sadat.co.jd> wrote in message
news:OPexGiVnHHA.3520[ at ]TK2MSFTNGP04.phx.gbl...
[Quoted Text]
> I'm a C++ developer.
> I want to develop an WMP like application. Especially I'm interested in
> receiving nad/or playing HTTP stream video from a WME.
> Can someone refer to some code examples?

Go look at the source code for VLC.


Re: Devoloping WMP
"Alessandro Angeli" <nobody[ at ]nowhere.in.the.net> 5/23/2007 7:58:13 PM
From: "Achmed"

[Quoted Text]
> Thanks,
> Following your respond its seems far beyond my updated
> knowledge. Suppose I want to implement just the part that
> continually downloads the HTTP stream (than through the
> packets, or just do nothing regarding the actual parsing
> /playing). Can you direct me with some reference?

Using DirectShow to play the WME stream takes a page of
code, you should take a look at the introduction to
DirectShow in the docs. Even just fetching the stream from
WME9 requires you to use the same components (or the
WMReader directly) because MMS-over-HTTP is not plain HTTP.
Of course you could reverse-engineer the undocumented
MMS-over-HTTP protocol (or take a look at some docs and
source code from people who reverse-engineered it before)
but, beside being doubtfully legal depending on which
country you live in, it will be far more complicated than
reading a few pages of DirectShow or WMF tutorials.




--
// Alessandro Angeli
// MVP :: DirectShow / MediaFoundation
// mvpnews at riseoftheants dot com
// http://www.riseoftheants.com/mmx/faq.htm


Re: Devoloping WMP
"Achmed" <Bachmed[ at ]sadat.co.jd> 5/23/2007 8:49:02 PM
Thanks,
Following your respond its seems far beyond my updated knowledge. Suppose I
want to implement just the part that continually downloads the HTTP stream
(than through the packets, or just do nothing regarding the actual parsing
/playing). Can you direct me with some reference?

Regards

Achmed.

"Alessandro Angeli" <nobody[ at ]nowhere.in.the.net> wrote in message
news:%23OXfaKWnHHA.4476[ at ]TK2MSFTNGP02.phx.gbl...
[Quoted Text]
> From: "Achmed"
>
>> I'm a C++ developer.
>> I want to develop an WMP like application. Especially I'm
>> interested in receiving nad/or playing HTTP stream video
>> from a WME. Can someone refer to some code examples?
>
> WMP uses DirectShow for playback. The DirectShow SDK is included in the
> Windows/Platform SDK and contains extensive documentation and several
> samples.
>
> To play back an MMS-over-HTTP ASF streams coming out of WME9, you need to
> use the old WMSourceFilter or newer WMASFReader filter (under the right
> conditions, the filter is selected automatically). Notice the WMP however
> uses its own WM source filter, which behaves somewhat differently. Both
> the WMASFReader public filter and WMP's private filter internally use the
> WMReader object in the WMF runtime (but you can not use the WMReader
> directly in DirectShow, hence the need for one of the stock wrappers or a
> custom one).
>
>
> --
> // Alessandro Angeli
> // MVP :: DirectShow / MediaFoundation
> // mvpnews at riseoftheants dot com
> // http://www.riseoftheants.com/mmx/faq.htm
>


Home | Search | Terms | Imprint Contact
Newsgroups Reader - provided by WiredBox.Net
Suche nach Orten, Städten, Postleitzahlen, Vorwahlen, Kfz-Kennzeichen