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: Please help a newbie

HTVi
TV Discussion Newsgroups

Please help a newbie
"Speech Lover" <vince_zwp[ at ]hotmail.com> 4/25/2007 6:47:35 PM
Hi,

I am a newbie in media and I am asking simple questions.

What does WindowsMedia SDK do?
Where can I download it?
Does it support C#.NET?
I am currently working on a .NET 1.1 application that requires conversion of
audio files from WAV format to MP3. Can WindowsMedia SDK convert audio
format from WAV to MP3 and the other way around?

thanks,
Speech Lover


Re: Please help a newbie
"Alessandro Angeli" <nobody[ at ]nowhere.in.the.net> 4/25/2007 7:27:33 PM
From: "Speech Lover"

[Quoted Text]
> What does WindowsMedia SDK do?

There is no such SDK. There are several independent SDKs
with names like WindowsMediaFormat SDK, WindowsMediaPlayer
SDK...

> Where can I download it?

From msdn.microsoft.com, like any other free SDK from
Microsoft.

> Does it support C#.NET?

It depends on the component. For example, the
WindowsMediaPlayer SDK has some support for .NET but the
WindowsMediaFormat SDK has almost no support at all (at
least not without a lot of COM InterOp work).

> I am currently working on a .NET 1.1 application that
> requires conversion of audio files from WAV format to
> MP3. Can WindowsMedia SDK convert audio format from WAV
> to MP3 and the other way around?

None of the WindowsMedia SDK family can help you encode to
MP3. You need to use a third-party MP3-encoding library or
encode to WMA or use the ACM functions in Windows (since
Windows, at least up to XP/2003, include an MP3 ACM encoder)
or use DirectShow as a wrapper around the ACM encoder
(harder than using ACM directly IMHO, but it provides
support for WAV input, while with ACM you would have to code
your own, which is quite easy however).


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


Re: Please help a newbie
"Speech Lover" <vince_zwp[ at ]hotmail.com> 4/25/2007 11:26:00 PM
Hi Alessandro,

Thank you for your help! Your name reminded me the Italian soccer play
Alessandro Nesta.
Could you provide references regarding programming in DirectShow and ACM
encoder?


Thank
Speech Lover

"Alessandro Angeli" <nobody[ at ]nowhere.in.the.net> wrote in message
news:Oc8xO$2hHHA.4076[ at ]TK2MSFTNGP06.phx.gbl...
[Quoted Text]
> From: "Speech Lover"
>
>> What does WindowsMedia SDK do?
>
> There is no such SDK. There are several independent SDKs with names like
> WindowsMediaFormat SDK, WindowsMediaPlayer SDK...
>
>> Where can I download it?
>
> From msdn.microsoft.com, like any other free SDK from Microsoft.
>
>> Does it support C#.NET?
>
> It depends on the component. For example, the WindowsMediaPlayer SDK has
> some support for .NET but the WindowsMediaFormat SDK has almost no support
> at all (at least not without a lot of COM InterOp work).
>
>> I am currently working on a .NET 1.1 application that
>> requires conversion of audio files from WAV format to
>> MP3. Can WindowsMedia SDK convert audio format from WAV
>> to MP3 and the other way around?
>
> None of the WindowsMedia SDK family can help you encode to MP3. You need
> to use a third-party MP3-encoding library or encode to WMA or use the ACM
> functions in Windows (since Windows, at least up to XP/2003, include an
> MP3 ACM encoder) or use DirectShow as a wrapper around the ACM encoder
> (harder than using ACM directly IMHO, but it provides support for WAV
> input, while with ACM you would have to code your own, which is quite easy
> however).
>
>
> --
> // Alessandro Angeli
> // MVP :: DirectShow / MediaFoundation
> // mvpnews at riseoftheants dot com
> // http://www.riseoftheants.com/mmx/faq.htm
>


Re: Please help a newbie
"Alessandro Angeli" <nobody[ at ]nowhere.in.the.net> 4/25/2007 11:34:06 PM
From: "Speech Lover"

[Quoted Text]
> Thank you for your help! Your name reminded me the
> Italian soccer play Alessandro Nesta.
> Could you provide references regarding programming in
> DirectShow and ACM encoder?

DS and ACM are documented in the latest Platform/Windows
SDK. In the Win32&COM -> Audio/Video section you can find a
subsection dedicated to DirectShow and another dedicated to
the WindowsMultimedia -> AudioCompressionManager.

You can use the
microsoft.public.win32.programmer.directx.video group for
questions related to DirectShow and
microsoft.public.win32.programmer.mmedia for ACM. You'd
better search both groups on groups.google.com because you
questions has been answer many times before.

Take also a look at my FAQ (the link is below) because it
contains a few articles about MP3 usage through ACM.


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


Re: Please help a newbie
"Speech Lover" <vince_zwp[ at ]hotmail.com> 5/2/2007 2:22:59 AM
Dear Alessandro,

I believe you are an expert in audio encoding.
I am trying to prove that LAME doesn't support u-law format so I don't waste
my time.

What I am trying to do is to see if LAME will support conversion from u-law
8KHz 64kbps mono to MP3.
I haven't been lucky to get it to work and every time it just complains of a
format of the WAV file. This problem happens to both command line and a
wrapper on lame_enc.dll.

Is u-law so special in WAV that LAME doesn't support it?
Does you know of any tool that converts u-law to MP3?

thanks a lot for your help,
Vince


"Alessandro Angeli" <nobody[ at ]nowhere.in.the.net> wrote in message
news:ubQZOJ5hHHA.2368[ at ]TK2MSFTNGP04.phx.gbl...
[Quoted Text]
> From: "Speech Lover"
>
>> Thank you for your help! Your name reminded me the
>> Italian soccer play Alessandro Nesta.
>> Could you provide references regarding programming in
>> DirectShow and ACM encoder?
>
> DS and ACM are documented in the latest Platform/Windows SDK. In the
> Win32&COM -> Audio/Video section you can find a subsection dedicated to
> DirectShow and another dedicated to the WindowsMultimedia ->
> AudioCompressionManager.
>
> You can use the microsoft.public.win32.programmer.directx.video group for
> questions related to DirectShow and
> microsoft.public.win32.programmer.mmedia for ACM. You'd better search both
> groups on groups.google.com because you questions has been answer many
> times before.
>
> Take also a look at my FAQ (the link is below) because it contains a few
> articles about MP3 usage through ACM.
>
>
> --
> // Alessandro Angeli
> // MVP :: DirectShow / MediaFoundation
> // mvpnews at riseoftheants dot com
> // http://www.riseoftheants.com/mmx/faq.htm
>


Re: Please help a newbie
"Chris P." <msdn[ at ]chrisnet.net> 5/2/2007 3:14:32 AM
On Tue, 1 May 2007 19:22:59 -0700, Speech Lover wrote:

[Quoted Text]
> I believe you are an expert in audio encoding.
> I am trying to prove that LAME doesn't support u-law format so I don't waste
> my time.

It doesn't, almost no encoder will. Convert to PCM and then feed the PCM
data to the encoder. This can be done "on-the-fly".

Note that this is the first time you have mentioned that your files were
anything other than PCM.

--
http://www.chrisnet.net/code.htm
[MS MVP for DirectShow / MediaFoundation]
Re: Please help a newbie
"Alessandro Angeli" <nobody[ at ]nowhere.in.the.net> 5/2/2007 1:42:04 PM
From: "Speech Lover"

[Quoted Text]
> I believe you are an expert in audio encoding.
> I am trying to prove that LAME doesn't support u-law
> format so I don't waste my time.
>
> What I am trying to do is to see if LAME will support
> conversion from u-law 8KHz 64kbps mono to MP3.
> I haven't been lucky to get it to work and every time it
> just complains of a format of the WAV file. This problem
> happens to both command line and a wrapper on
> lame_enc.dll.
> Is u-law so special in WAV that LAME doesn't support it?
> Does you know of any tool that converts u-law to MP3?

In addition to what Chris told you, notice that WAV is only
a RIFF/WAVE container file format which can contain data
compressed in any number of ways, e.g. you u-law. However,
most applications with custom WAV readers, including the
LAME tools, only support WAVs containing uncompressed (that
is, PCM) data. The solution is to parse the WAV yourself
(it's very easy), decompress the data to PCM on the fly
(e.g. using ACM) and pass it on to the processing library.

--
// 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