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: Format Conversion

HTVi
TV Discussion Newsgroups

Format Conversion
Navin Kaushik 6/12/2007 7:31:02 AM
Hi,
I am beginner to WMP. I need to write a plug-in which will convert to
..wma format which WMP undertands. In other words let's say my song extension
is .xyz which WMP does not understands, now I need to write a plug-in which
will decrypt/decode .xyz and encrypt/encode to .wma format so that WMP can
playback.

Now question is , in which function/event should I work ?

Any link to sample...will be great.

thanks,
Navin
Re: Format Conversion
"Alessandro Angeli" <nobody[ at ]nowhere.in.the.net> 6/12/2007 10:39:40 AM
From: "Navin Kaushik"

[Quoted Text]
> I am beginner to WMP. I need to write a plug-in which
> will convert to .wma format which WMP undertands. In
> other words let's say my song extension is .xyz which WMP
> does not understands, now I need to write a plug-in
> which will decrypt/decode .xyz and encrypt/encode to .wma
> format so that WMP can playback.
>
> Now question is , in which function/event should I work
> ?

You do not need to perform any conversion to WMA and you do
not need to write a plugin. You need to write a source
filter and/or decoder that can decode your stream and output
uncompressed audio.

http://msdn2.microsoft.com/en-us/library/ms788163.aspx
http://msdn2.microsoft.com/en-us/library/ms787558.aspx
http://msdn2.microsoft.com/en-us/library/ms787750.aspx
http://msdn2.microsoft.com/en-us/library/ms788165.aspx

DirectShow is discussed in
microsoft.public.win32.programmer.directx.video (even if you
are only using audio).


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



Re: Format Conversion
Navin Kaushik 6/12/2007 5:16:03 PM
Thanks for your prompt reply.

Actually I need to convert it into a protected .wma file, will filter work
for that too ?

Also I went through the documentation of WMP SDK 11, I found IWMPConvert
interface, which sounds good to me.

In summary,

will IWMPConvert will work in case of WMP SDK 11 ?

will filter work in case of WMP SDK 10 even though if I convert .xyz
protected file to protected .wma file ?


"Alessandro Angeli" wrote:

[Quoted Text]
> From: "Navin Kaushik"
>
> > I am beginner to WMP. I need to write a plug-in which
> > will convert to .wma format which WMP undertands. In
> > other words let's say my song extension is .xyz which WMP
> > does not understands, now I need to write a plug-in
> > which will decrypt/decode .xyz and encrypt/encode to .wma
> > format so that WMP can playback.
> >
> > Now question is , in which function/event should I work
> > ?
>
> You do not need to perform any conversion to WMA and you do
> not need to write a plugin. You need to write a source
> filter and/or decoder that can decode your stream and output
> uncompressed audio.
>
> http://msdn2.microsoft.com/en-us/library/ms788163.aspx
> http://msdn2.microsoft.com/en-us/library/ms787558.aspx
> http://msdn2.microsoft.com/en-us/library/ms787750.aspx
> http://msdn2.microsoft.com/en-us/library/ms788165.aspx
>
> DirectShow is discussed in
> microsoft.public.win32.programmer.directx.video (even if you
> are only using audio).
>
>
> --
> // 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