|
-
April 1st, 2009, 06:57 AM
#1
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 .
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|