Re: Live webcam capture and streaming to a network file server
From: Mahmudul Hoque (m.hoque_at_gmail.com)
Date: 07/16/04
- Previous message: Dan Schullman: "Re: NS_E_TOO_MUCH_DATA (0xC00D0BCC)"
- In reply to: Olivier Antoine: "RE: Live webcam capture and streaming to a network file server"
- Next in thread: nospam_at_viscomsoft.com: "Re: Live webcam capture and streaming to a network file server"
- Reply: nospam_at_viscomsoft.com: "Re: Live webcam capture and streaming to a network file server"
- Messages sorted by: [ date ] [ thread ]
Date: 16 Jul 2004 09:32:13 -0700
Olivier thanks for you reply.
I don't want to save anything to the local machine, but stream (push)
the video as it is captured by the webcam to a remote machine for
storage. Cannot use SetOutputFileName as it requires a windows
filename, the only way I can get data to the remote server is by
sending data over raw TCP/IP.
The closest thing is the DSNetwork sample in the DirectX SDK. Except I
want to use data from a webcam instead of MPEG-2 data stream and use
unicast push instead of multicast.
I can easily change the multicast to unicast, but because I am new to
directx I am not sure how to change the filter so that it can except
data from a "Windows Media Video" encoder.
Thanks
Mahmud
Olivier Antoine <o.antoine@discussions.microsoft.com> wrote in message news:<D69978A4-CDF5-45F9-8E4B-47A2FD7227B4@microsoft.com>...
> Probably the best (most direct) way to implement such a fonctionality is using Directshow...
>
> Just create a Capture Graph, instanciate your webcam source filter and render it to a wmv file using the SetOutputFileName method of the capture graph builder interface (MEDIASUBTYPE_Asf).
>
> Hope this helps!
>
> Olivier
>
>
>
> "Mahmudul Hoque" wrote:
>
> > Hi, I am a newbie to Windows Media so apologizes if this has been
> > answered in the past.
> >
> > I need to write an application that captures live video from a webcam
> > and then sends the the data to a network server for storing as wmv
> > files. The server is something I will write that reads the raw data
> > from the application and writes it to a file. What is the best way to
> > do this? Should I use DirectShow, Format SDK, or both?
> >
> > I don't think I can use publishing points with Windows Media Server
> > because I don't want to do a live broadcast. Although the files will
> > eventually be delivered to clients using Windows Media Server.
> >
> > Any ideas on how best to implement this, samples, etc. would be really
> > appreciated.
> >
> > Thanks in advance.
> > Mahmud
> >
- Previous message: Dan Schullman: "Re: NS_E_TOO_MUCH_DATA (0xC00D0BCC)"
- In reply to: Olivier Antoine: "RE: Live webcam capture and streaming to a network file server"
- Next in thread: nospam_at_viscomsoft.com: "Re: Live webcam capture and streaming to a network file server"
- Reply: nospam_at_viscomsoft.com: "Re: Live webcam capture and streaming to a network file server"
- Messages sorted by: [ date ] [ thread ]
Relevant Pages
|