Re: Send live stream over LAN



On Fri, 6 May 2005 07:04:02 -0700, Osnat wrote:

> I am trying to send a live stream where the video source comes from a camera
> and I handle it with DirectX so I get the frames one by one as a buffer at a
> certain rate -by SampleCB - is a callback function that returns the frames
> from the video stream.
> I would like to create a stream out of these frames and send it live to a
> client over LAN.
> Can I use Windows Media SDK for this purpose?
> Any other suggestions?

You can use the Windows Media Format SDK with your own network code, the
Windows Media Encoder SDK, or DirectShow with custom sink/source filters.

The Encoder SDK is very simple, but has high latency and you can't use the
stream for anything else while it is being encoded.

DirectShow is the most flexible approach, as you can split the feed for a
local and remote preview. The DSNetwork samples demonstrates sending data
over the network as a sink/source filter.

DirectShow is an "extras" download in the Feb 2005 DXSDK or is part of the
April Platform SDK (2003 Server SP1).
.



Relevant Pages

  • Re: Setting of WMP buffer size or buffer length in C# code
    ... ASF stream contains some MPEG4 audio/video stream (e.g. ... whenever I tried to find documenation on DirectShow I ... DirectShow is not included in the Platform/Windows SDK. ... Writing such a filter really takes little effort if you ...
    (microsoft.public.windowsmedia.sdk)
  • RE: Windows media encoder
    ... you might check out the enocder SDK... ... > For instance, is there a tool available that can send some form of stream to directshow, so it can be used as a device? ...
    (microsoft.public.windowsmedia.encoder)
  • Re: Why do we use different files for C ?
    ... webcam in the SDK as I recall. ... means to use a webcam in my own apps. ... Due to the __extremly__ low quality of the SDK documentation, ... DirectShow really has amazing low latencies. ...
    (alt.lang.asm)
  • Re: Create ASF File Using XVID Codecs
    ... I started out using DirectShow and I have a lot of respect for the ... Format 9.5 SDK. ... The Format SDK is not an easy beast to master (at least I did not think ... >> XviD can be stored in ASF for DivX playback by the Windows Media ...
    (microsoft.public.windowsmedia.sdk)
  • Re: directShow samples dont build and/or regsvr32
    ... install is a brand new machine w/ VS2005 installed. ... If compiling with the solutions you *will* need the SDK include and the ... Iain Downs (DirectShow MVP) ...
    (microsoft.public.win32.programmer.directx.video)