xlthim

I am developing a system (coding in C#) to monitor a camera from 2 different computers. I have it working using media encoder, but there is latency on the remote machine. I want to switch over to directshow, and see if I can cut some latency.

I have the local machine viewing and recording (there are plenty of examples for this).

How do I "push" the video grabbed on the local machine across a network so I can view it at a central monitoring computer (or, can I "pull" video from another computer, like media player does).

My camera is NOT a webcam, but a high $$ unit and a capture device.

I know a video server should be the way to go, but do to the other things my local computer is doing, I need to grab the video, and have my program send it to the central monitor across the internet (hundreds of miles away!).

Can I grab all the bits in the video buffer, package them up, then send them to a static IP

tks,

xlthim



Re: DirectShow Development remote and local viewing and recording

Bowljoman

"I know a video server should be the way to go,"

make your own

"Can I grab all the bits in the video buffer, package them up, then send them to a static IP "

yes using the sample grabber and winsock server code.
Then dump them into a custom source filter with the winsock client code.

in c++
Code Snippet


long size;

ISampleGrabber->GetCurrentBuffer (&size ,NULL);


char buffer[size];


ISampleGrabber->GetCurrentBuffer (&size ,(long*) buffer);
///////////////////////////////////////
iResult = send( ClientSocket, buffer, size, 0 );







Re: DirectShow Development remote and local viewing and recording

xlthim

How would I do this in C#