CodeGuru Home VC++ / MFC / C++ .NET / C# Visual Basic VB Forums Developer.com
Results 1 to 2 of 2
  1. #1
    Join Date
    Dec 2003
    Location
    Gods own country, India
    Posts
    248

    Arrow Webcam Videocapture and NamedPipes

    Hello gurus.

    I'm trying to capture video from webcam.
    My aim is to capture the stream and send it to another program.

    I started with the "DxPropPages" sample available with directshow.net samples ( eventhough this is a c# lib, the problem could be general)
    [ this sample captures the video to a file]

    For sending i'm using named pipes. so i created a namedpipe , and gave that pipe ("\\.\pipe\namedpipe" ) as the file name in the "DxPropPages" sample, assuming that the data will be dumped into that pipe ( as it does with a file ).

    I was able to receive the data, but the data is correpted/different, ie it differs from what a file would contain.

    the file is compressed as AVI, and the data recieved through pipe doesn't contain the media headers etc.

    Any help in this regard?
    Thanks in advance .

  2. #2
    Join Date
    Dec 2003
    Location
    Gods own country, India
    Posts
    248

    Re: Webcam Videocapture and NamedPipes

    No responses []

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  





Click Here to Expand Forum to Full Width

Featured