Re: how do I access PCM data using DirectShow?



On Mon, 6 Mar 2006 16:31:48 +0100, nicolasr wrote:

I'm about to write similar things for my application and just yesterday
found the DirectShow Multimedia Streaming Interfaces which look
very promising to me.
Have a look at the Multimedia Streaming Reference in the DShow Appendixes.
There is also an example that should have most of the code you need to
get at the PCM data. The file types you are able to stream seem
to depend on the available codecs on your system.
From my tests I can say that Real Media did not work, Windows Media
Audio did not work from within the IDE but should work outside.
All other formats I tested worked as expected.

WMA should work inside the IDE. If you're using the AudioBox sample make
sure the appropriate pre-processor variables are defined (as highlighted in
the code).

For RealMedia to work you need an appropriate parser filter installed,
however RealMedia doesn't actually have one, or for that matter wants one.
There is a project called the "Real Alternative" that installs one but it's
legitimacy is questionable.

--
http://www.chrisnet.net/code.htm
http://www.avdevforum.com/AV
.


Loading