toan1982
June 2nd, 2008, 06:12 AM
Hi All,
I am developing a usb camera filter, and now, in the filter source i can get the buffer from real webcam with size of this buffer. But , i still have some problems, and here are two main problems now:
1- How to get width, height of real webcam in filter source ? My real webcam has some resolution, such as, 320x240 , 640x480,...
2- When i plug two real webcams in the same time, then filter will get all buffer of these webcam but i donot want the filter do that. Now, i want the filter will get the buffer from only one specified webcam. So, in the filter source, how i can:
+ get the ID of all real webcam are installed on system ?
+ get buffer from only one specified webcam , such as webcam1 ?
Thank for any help from yours.
I am developing a usb camera filter, and now, in the filter source i can get the buffer from real webcam with size of this buffer. But , i still have some problems, and here are two main problems now:
1- How to get width, height of real webcam in filter source ? My real webcam has some resolution, such as, 320x240 , 640x480,...
2- When i plug two real webcams in the same time, then filter will get all buffer of these webcam but i donot want the filter do that. Now, i want the filter will get the buffer from only one specified webcam. So, in the filter source, how i can:
+ get the ID of all real webcam are installed on system ?
+ get buffer from only one specified webcam , such as webcam1 ?
Thank for any help from yours.