• Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 2112
  • 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 expert help—faster!

Need expert help—fast? Use the Help Bell for personalized assistance getting answers to your important questions.

 
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
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

Join & Write a Comment

Featured Post

Cloud Class® Course: CompTIA Cloud+

The CompTIA Cloud+ Basic training course will teach you about cloud concepts and models, data storage, networking, and network infrastructure.

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