I should have used Refactor to rename the parameters but didn't so the call to SetWindowPos didn't get corrected. It's nearly four years since I last touched that library!
I should have used Refactor to rename the parameters but didn't so the call to SetWindowPos didn't get corrected. It's nearly four years since I last touched that library!
What I found strange was that none of the people who were early adopters back then seemed to notice!
BTW one of the things I must study is why the list of "devices" just yields WDM whereas there are two PCI cards that offer video via DirectX. They can be selected by other video display programs. Maybe this is somethng to do with the driver stack...
Hi,
is there any way to draw a line through the video window? I tried several possibilities but or the line was hidden by the video window either I became an error message.
Regards
Petr
I run your Videocamdesktop program and try to use resolution higher than 640x480. I clicked button Format but cannot see higher resolution. Anyway to do that?:sign0085:
I run your Videocamdesktop program and try to use resolution higher than 640x480. I clicked button Format but cannot see higher resolution. Anyway to do that?
The problem is probably that Video For Windows is an old API.
So drivers or the capture window might not be updated to work with higher resolutions.
Here's a simple DirectShow webcam wrapper from another project based on the DirectShow.Net library.
It's only good for showing the cam preview on a from and taking snapshots, but if that's all that you need it might be good enough.
The problem is probably that Video For Windows is an old API.
So drivers or the capture window might not be updated to work with higher resolutions.
Here's a simple DirectShow webcam wrapper from another project based on the DirectShow.Net library.
It's only good for showing the cam preview on a from and taking snapshots, but if that's all that you need it might be good enough.
Here's a modified version of the webcam library, which gives you the option to check for devices and supported resolutions.
You can try it out and see if 1280x720 or higher shows up in that list.
Here's a modified version of the webcam library, which gives you the option to check for devices and supported resolutions.
You can try it out and see if 1280x720 or higher shows up in that list.
Thanks again. Yes I can see the resolution list. The Logitech HD Pro C910 show a lot of resolutions. Excellent! :icon_clap:
I plug another unbranded webcam that show from device list as "PC Camera" then the maximum resolution is 640x480x16 only. So I need another driver may be? Any idea if there is a common driver for high resolution?
Thanks again. Yes I can see the resolution list. The Logitech HD Pro C910 show a lot of resolutions. Excellent! :icon_clap:
I plug another unbranded webcam that show from device list as "PC Camera" then the maximum resolution is 640x480x16 only. So I need another driver may be? Any idea if there is a common driver for high resolution?
If the camera does support higher resolutions it might be a driver issue.
You can try the driver update in the device properties in the windows device manager in the crontrol panel or google the hardware id from the details tab in the device properties.