Post Reply 
 
Thread Rating:
  • 0 Votes - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Reading webcam resolution
05-03-2014, 09:14 PM
Post: #1
Reading webcam resolution
Does Video lab have a fairly easy way to query a USB WebCam to see what resolutions the camera is capable of?

I am playing with two Logitech web cams and going back and forth between the Logitech software and a version of the AdvancedVideoCapture demo just to see what resolutions I can actually set that will work. Not every resolution that can be set in the Logitech software will work when set in VLDSCapture->VideoSize. Some just revert the camera back to 640X680.

What I have discovered that seems to always work is whatever the cameras max resolution is and of course 640X480. One camera will do 1920X1080 the other will do 1440X1080. I would like to be able to get these values from the camera and not have to ask the user to figure out what they are and enter them in setup.

I need to know because the video output needs to always be 4:3 aspect and I will have to crop the sides of the wide screen cameras. Would be really nice If the software could read the cameras Direct Show aspect and resolution.

Hope I have given you enough info to be able to point me in the right direction.
Quote this message in a reply
Post Reply 


Messages In This Thread
Reading webcam resolution - BReeves - 05-03-2014 09:14 PM
RE: Reading webcam resolution - Dave - 05-04-2014, 01:06 AM
RE: Reading webcam resolution - BReeves - 05-06-2014, 08:40 PM
RE: Reading webcam resolution - BReeves - 05-12-2014, 09:02 PM

Forum Jump:


User(s) browsing this thread: 1 Guest(s)