Want to protect your cyber security and still get fast solutions? Ask a secure question today.Go Premium

x
  • Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 2030
  • Last Modified:

Adjust camera settings (brightness, shutter speed etc) programatically

hey guys,

how can I adjust the brightness / contrast / shutter speed of a usb camera programatically on Win XP? Which api functions will I need? I want to adjust those settings found in the standard camera settings dialog (which contains brightness / contrast / hue / saturation / shutter speed), not sure but guess it's a part of video for windows api.

I have a phillips spc 900nc usb camera, but it's probably the same api for most of the video sources.
0
MrRobot
Asked:
MrRobot
  • 3
  • 2
1 Solution
 
jkrCommented:
Technically, that works, buth you need a SDK supplied by the vendor that documents the interfaces to the camera driver in order to change these settings. The generic DirectX interfaces do not allow manipulation at such a low level, only more general operations are supported, see e.g. http://www.codeproject.com/directx/LiveVideo.asp ("Capture Live Video from various Video Devices")
0
 
MrRobotAuthor Commented:
thanks for your reply jkr.

what about some video capture applications featuring an adjustments dialog which looks the same on all applications and works with virtually any video input device?
Right, it may be a template dialog box used by most of the vendors in a standard function in their own APIs so the application can only call to show this dialog, and can't modify the values, but I'm not sure it's that way. I'd like to hear any other comments.

0
Get free NFR key for Veeam Availability Suite 9.5

Veeam is happy to provide a free NFR license (1 year, 2 sockets) to all certified IT Pros. The license allows for the non-production use of Veeam Availability Suite v9.5 in your home lab, without any feature limitations. It works for both VMware and Hyper-V environments

 
MrRobotAuthor Commented:
thanks jkr. I don't need to process an image, but instead change the capture settings.
0
 
MrRobotAuthor Commented:
thanks guys, used directshow video input interface to handle the video input settings. it's what I was after.


a moderator refund please, thanks =)
0
 
Computer101Commented:
PAQed with points refunded (500)

Computer101
EE Admin
0

Featured Post

Get your Disaster Recovery as a Service basics

Disaster Recovery as a Service is one go-to solution that revolutionizes DR planning. Implementing DRaaS could be an efficient process, easily accessible to non-DR experts. Learn about monitoring, testing, executing failovers and failbacks to ensure a "healthy" DR environment.

  • 3
  • 2
Tackle projects and never again get stuck behind a technical roadblock.
Join Now