From: Reivilo on
Hello,

I wrote some months ago a source used to visualize video from multiple
webcams and to save image files from each ones. This was made with with
either WIA or avicap in VB6.0.
I just try to make it run with the Microsoft Lifecam Cinema that seems to
allow an image size of 1280*720.

Everything good except the selection of this size of the capture on this
device. It doesn't give me a choice heigher than 640*320.
Could someone give me an idea of what the problem could be?

I have tried to find the good graph to implement with graphedit (with which
it runs) but I am not quite good to implement it in VB6. So I have tried to
play directly with the registry but if I find the key to choose the webcam
device I want, i can't find the key to the parameters.
Once again, could someone give me an idea of what the problem could be,
because I can't re-write all of my long source code.

Regards,
Reivilo.
From: Dee Earley on
On 21/05/2010 08:21, Reivilo wrote:
> Hello,
>
> I wrote some months ago a source used to visualize video from multiple
> webcams and to save image files from each ones. This was made with with
> either WIA or avicap in VB6.0.
> I just try to make it run with the Microsoft Lifecam Cinema that seems to
> allow an image size of 1280*720.
>
> Everything good except the selection of this size of the capture on this
> device. It doesn't give me a choice heigher than 640*320.
> Could someone give me an idea of what the problem could be?
>
> I have tried to find the good graph to implement with graphedit (with which
> it runs) but I am not quite good to implement it in VB6. So I have tried to
> play directly with the registry but if I find the key to choose the webcam
> device I want, i can't find the key to the parameters.
> Once again, could someone give me an idea of what the problem could be,
> because I can't re-write all of my long source code.

The size selections are normally entirely down to the driver and what it
reports the device is capable of.

It is possible to get/set the size of the source filter stream using WDM
but I don't know about enumeration of the sizes.

--
Dee Earley (dee.earley(a)icode.co.uk)
i-Catcher Development Team

iCode Systems

(Replies direct to my email address will be ignored.
Please reply to the group.)
From: Reivilo on
Dee Early,

Thanks for your answer and I hope my english will be enough good to explain
my mind (o|-) !

There is something strange for me.
When I use Amcap, without any installation of the device driver, this code
reach to propose the several parameters of the device.
I am able to take the regitery key according to this modification of the
image size but when I am looking for it in the registry, it doesn't appear.
Do you have any idea about this ?

On the other side, I will have a look on WDM as you suggest, but I was
thinking that a simply (for me) way was possible!

"Dee Earley" wrote:


From: Reivilo on
Sorry I wanted to write "Dee Earley"

"Reivilo" wrote:

> Dee Early,
>
> Thanks for your answer and I hope my english will be enough good to explain
> my mind (o|-) !
>
> There is something strange for me.
> When I use Amcap, without any installation of the device driver, this code
> reach to propose the several parameters of the device.
> I am able to take the regitery key according to this modification of the
> image size but when I am looking for it in the registry, it doesn't appear.
> Do you have any idea about this ?
>
> On the other side, I will have a look on WDM as you suggest, but I was
> thinking that a simply (for me) way was possible!
>
> "Dee Earley" wrote:
>
>
From: Mickel on
On 21/05/10 11:51 PM, Reivilo wrote:
> Dee Early,
>
> Thanks for your answer and I hope my english will be enough good to explain
> my mind (o|-) !
>
> There is something strange for me.
> When I use Amcap, without any installation of the device driver, this code
> reach to propose the several parameters of the device.
> I am able to take the regitery key according to this modification of the
> image size but when I am looking for it in the registry, it doesn't appear.
> Do you have any idea about this ?
>
> On the other side, I will have a look on WDM as you suggest, but I was
> thinking that a simply (for me) way was possible!

It's likely that the camera doesn't support the same resolutions using
WIA or Video for windows (which is what avicap is probably using).
Possibly the only way to get the full resolution is to use WDM.

However, using WDM is fairly complicated in VB6 and I would consider it
a fair bit of work to switch your app to use WDM. There's a few
solutions to this. The first is to purchase a WDM usercontrol if one
exists. The second is to write something in C++. It is actually a *lot*
simpler to write WDM stuff in C++ than it is in VB6 because it's all
native to C++. THe other option is to look for some WDM code on the net.

Cheers,
Michael