DirectShow integrated webcam exposure control
I'm trying to control the exposure settings in a laptop integ开发者_开发问答rated webcam.
I can't control it programatically through DirectShow - IAMCameraControl interface returns E_PROP_ID_UNSUPPORTED when I call it with CameraControl_Exposure as the CameraControlProperty.
I've successfully changed the exposure settings in different capture devices (such as Logitech webcams) using the above DirectShow interface.
Is there another DirectShow interface that I could use for exposure control when IAMCameraControl can't do so?
Is there any other method in which I could control the exposure settings? maybe directly through the camera driver (without using DirectShow as a mediator), if so - how?
Thanks in advance!
When the camera doesn't offer this setting through DirectShow, you are left only with using manufacturer specific interfaces, which are "manufacturer specific".
Have you tried to run the camera in GraphEdit ? That shows a dialog for the properties the device supports.
精彩评论