Hello everyone,
I am currently working on a project to be able to stream video. basically, i want to be able to view my webcam on another comptuer. this is a bit simplistic but, in a nutshell thats what the project is about.
i found some code that uses vfw to be able to view the webcam on your local machine. i have never used vfw before.. but i looked over teh code and it seems there is a call to 'capSetUserData' and that just somehow magically dispalys the webcam stream! i'm not sure of this given my inexperience with vfw. but this is what it looks like to me!
i was wondering if anyone knows how to get hold of the actual stream from teh webcam so i can send it out through a socket?
i know this might be a little bit vague! but i'm a beginner and all pointers would be welcome. also, if you know of any good vfw tutorials, links would be very welcome.. i couldn't find any on google
thanks a lot!
drew.
ps. i also looked into directshow. i want to avoid this because it seems its not easy to learn directshow adn you have to know COM to be able to use it. i barely even know what COM is! so.. i would prefer to use VFW becuase i'm hoping it will be easier! thanks again.
I am currently working on a project to be able to stream video. basically, i want to be able to view my webcam on another comptuer. this is a bit simplistic but, in a nutshell thats what the project is about.
i found some code that uses vfw to be able to view the webcam on your local machine. i have never used vfw before.. but i looked over teh code and it seems there is a call to 'capSetUserData' and that just somehow magically dispalys the webcam stream! i'm not sure of this given my inexperience with vfw. but this is what it looks like to me!
i was wondering if anyone knows how to get hold of the actual stream from teh webcam so i can send it out through a socket?
i know this might be a little bit vague! but i'm a beginner and all pointers would be welcome. also, if you know of any good vfw tutorials, links would be very welcome.. i couldn't find any on google
thanks a lot!
drew.
ps. i also looked into directshow. i want to avoid this because it seems its not easy to learn directshow adn you have to know COM to be able to use it. i barely even know what COM is! so.. i would prefer to use VFW becuase i'm hoping it will be easier! thanks again.