Webcam over network - possible?
Posted: 23 Feb 2009 03:49
Hi, I'm trying to implement the following:
I got a standard (let's say logitech) webcam and an application which uses standard video source (let's say Skype or MSN messenger). I need somehow to separate them over network so I have a camera on my PC1 and my application on my PC2 which can use standard video source only but receives video from the cam on PC1. Please note that I'm not just trying to play or see that video, I really need to deliver the webcam output from PC1 to PC2 and make it available for use by standard applications.
Is there any way I can do it with VLC?
Here is what I was thinking to do for that so far:
1. Write a "virtual webcam" driver and client-server application so that my client would get data from a webcam, send it over network to the server part, then server would feed that video to the driver. Then any standard application which can use a video source would see my driver as a video source and... problem solved! But this looks a little too complicated and then I found that I can probably do it with solution 2.
2. Write DirectShow filter which would register in a system as a video source and same client-server application would deliver video to the filter. Then I found VLC and now wondering if I can do number 3.?
3. Use VLC to get video from a webcam on PC1, send or stream it to another VCL instance on PC2 over network. Configure the second VLC(PC2) so that it acts as a video source. Possible?
Thank you very much!
I got a standard (let's say logitech) webcam and an application which uses standard video source (let's say Skype or MSN messenger). I need somehow to separate them over network so I have a camera on my PC1 and my application on my PC2 which can use standard video source only but receives video from the cam on PC1. Please note that I'm not just trying to play or see that video, I really need to deliver the webcam output from PC1 to PC2 and make it available for use by standard applications.
Is there any way I can do it with VLC?
Here is what I was thinking to do for that so far:
1. Write a "virtual webcam" driver and client-server application so that my client would get data from a webcam, send it over network to the server part, then server would feed that video to the driver. Then any standard application which can use a video source would see my driver as a video source and... problem solved! But this looks a little too complicated and then I found that I can probably do it with solution 2.
2. Write DirectShow filter which would register in a system as a video source and same client-server application would deliver video to the filter. Then I found VLC and now wondering if I can do number 3.?
3. Use VLC to get video from a webcam on PC1, send or stream it to another VCL instance on PC2 over network. Configure the second VLC(PC2) so that it acts as a video source. Possible?
Thank you very much!