locked
What Capabilities can DirectShow Access with Camera/Webcameras? RRS feed

  • Question

  • What Capabilities can DirectShow Access with Camera/Webcameras?

    I am writing an application which needs to take in a video stream. I will have to display and save the stream with relative high quality. I know some capabilities DirectShow can access include brightness and contrast. I quest to see if DirectShow access some optional features about an arbitrary camera like zoom control and other "optional" controls? Or is there another library somewhere which can do this without developing specifically for a particular camera.

    I am only developing the application for XP, Vista and possibly 7.

    Thank you for your time.
    JDKunk
    Wednesday, May 6, 2009 2:12 PM

Answers

  • As you mentioned, there is no guarantee that optional capabilities are available to you. You can use IAMVideoProcAmp ::Get/GetRange to query for cerrtain capabilities like brightness and contrast. In a similar way pan, tilt zoom capabilities *may be* available via IAMCameraControl interface, i.e. you can use IAMCameraControl ::Get/GetRange to query for capabilities (if ta all this interface is implemented on the source/capture filter).

    http://alax.info/blog/tag/directshow
    Wednesday, May 6, 2009 2:23 PM
  • Roman has covered the standard dshow interfaces.  If a manufacturer has custom interfaces available or a proprietary SDK, they will likely have this information on their web site.  Usually, these types of features are more common for high-end industrial cameras.
    My dshow site is http://tmhare.mvps.org.  Please use Vote As Helpful and Mark As Answer where appropriate.
    Wednesday, May 6, 2009 3:28 PM

All replies

  • As you mentioned, there is no guarantee that optional capabilities are available to you. You can use IAMVideoProcAmp ::Get/GetRange to query for cerrtain capabilities like brightness and contrast. In a similar way pan, tilt zoom capabilities *may be* available via IAMCameraControl interface, i.e. you can use IAMCameraControl ::Get/GetRange to query for capabilities (if ta all this interface is implemented on the source/capture filter).

    http://alax.info/blog/tag/directshow
    Wednesday, May 6, 2009 2:23 PM
  • Thank you for your help.
    Wednesday, May 6, 2009 3:21 PM
  • Roman has covered the standard dshow interfaces.  If a manufacturer has custom interfaces available or a proprietary SDK, they will likely have this information on their web site.  Usually, these types of features are more common for high-end industrial cameras.
    My dshow site is http://tmhare.mvps.org.  Please use Vote As Helpful and Mark As Answer where appropriate.
    Wednesday, May 6, 2009 3:28 PM