Re: Live webcam capture and streaming to a network file server

From: Mahmudul Hoque (m.hoque_at_gmail.com)
Date: 07/16/04

  • Next message: Jim Travis [ms]: "Re: getItemInfoByType doesn't exist"
    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
    > >


  • Next message: Jim Travis [ms]: "Re: getItemInfoByType doesn't exist"

    Relevant Pages

    • Re: URGENT...!!! Live stream recording quality
      ... I am using "Windows Media 9 Encoder SDK" to capture Monitor Screen. ... Where by Screen contains live video streamed from the WebCam. ...
      (microsoft.public.windowsmedia.encoder)
    • Re: C# webcam
      ... You want to preview and capture video and audio from a webcam (or any other ... WDM capture hardware)? ... DirectShow sample, because it's the only thing you can do with Managed code, ...
      (microsoft.public.dotnet.general)
    • Re: Remote Home Security & Surveillance
      ... >internet from a webcam in my home, ... >I currently have one regular security camera that I bought which isn't ... and to capture from them to the web when motion ...
      (alt.computer.security)
    • Re: Capturing Screenshots
      ... > I imagine that a video editing program would let you save frames. ... > that (don't remember for sure, but it can edit Windows Media video files). ... > For some reason normal screen capture programs don't capture the content ...
      (microsoft.public.windowsmedia.player)
    • Re: Video Recording of Application
      ... Microsoft's Windows Media Encoder has a "Capture Screen" mode with different ... It is free software, and saves in WMV ... > stops on command and records screen video to a file for later playback. ...
      (rec.video.desktop)

    Loading