Re: How to stream on the network encoded audio

Tech-Archive recommends: Speed Up your PC by fixing your registry



On Thu, 31 Aug 2006 11:21:27 +0200, DevX wrote:

I have a device that produce PCM .wav files. I need to stream those files on
the network to a remote client. Actually another thread read the .wav file
that is created and send chunk of bytes via network.

I need to add an encoding/compression level before sending bytes on the net,
thus reducing the traffic.
Any Idea? I begin trying the WM Encoder but I cannot set as source the file
already opened in writing by other process.

The sofware is in C#, .NET 1.1 and runs on Windows 2000, Windows XP and
Windows 2003 Server.

Thanks for whatever DirectShow, DirectX, WME or other solution come to yours
minds.

If you're not using DirectShow the easiest method is to use the ACM. You
take a block of data, give it to the ACM and it gives you compressed data
in the output buffer.

Look at the ACMApp sample. It's old and ugly but you should get the idea.
http://msdn.microsoft.com/library/default.asp?url=/library/en-us/vcsample98/html/vcsmpacmapp.asp

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



Relevant Pages

  • Re: streaming audio basics
    ... support for file reading or network streaming. ... If your WAV file contains uncompressed PCM audio, ... WMNetworkWriterSink object you can use with WMWriter in the ... DirectShow wrapper for the WMWriter), ...
    (microsoft.public.win32.programmer.directx.audio)
  • Re: Python and webcam capture delay?
    ... stream simultaneously between two computers via local area network. ... Operating system is Windows. ... This would be part of a psychological experiment, so I would need to deliver the video stream with a reasonable delay. ... What is your main point about DirectShow: that it is generally faster and more reliable than doing the job high-level, or that one could use coding/decoding in DirectShow to speed up the transmission? ...
    (comp.lang.python)
  • Re: Python and webcam capture delay?
    ... stream simultaneously between two computers via local area network. ... Operating system is Windows. ... What is your main point about DirectShow: that it is generally faster and more reliable than doing the job high-level, or that one could use coding/decoding in DirectShow to speed up the transmission? ...
    (comp.lang.python)
  • How to stream on the network encoded audio
    ... I have a device that produce PCM .wav files. ... that is created and send chunk of bytes via network. ... The sofware is in C#, .NET 1.1 and runs on Windows 2000, Windows XP and ... Thanks for whatever DirectShow, DirectX, WME or other solution come to yours ...
    (microsoft.public.win32.programmer.directx.audio)
  • Re: PID 1212 slowly maxing out?
    ... Windows 2003 servers, but could it affect Windows XP as well? ... I'm on a home network running on wireless. ... Logical Disk Manager service ...
    (microsoft.public.windowsxp.help_and_support)