BReeves
05-03-2014, 09:14 PM
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.
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.