Learn how easy it is to sync an existing GitHub or Google Code repo to a SourceForge project! See Demo

Close

Is there an API to access Macam?

ARMinator
2008-06-20
2013-05-09
  • ARMinator
    ARMinator
    2008-06-20

    Hello,

    I would like to access the Macam driver directly from my application, so I can control the camera. Is there an API available (C/C++/Java) that can be used with either XCode or CDT? How to use it?

    Thanks!

     
    • Harald
      Harald
      2008-06-20

      The macam driver is a QuickTime component,
      so the way to access your camera is through the
      QuickTime API.

      With Leopard there is QTCapture which is the
      newest API, and probably the simplest. I don't
      know much about it though.

      You should look at HackTVCarbon and WhackedTV
      Apple developer sample applications; there is also
      the wacaw project on sourceforge, demonstrating
      accesss in a command-line program.

      You can also use the macam app as a basis for your app,
      but this would only be useful in rather extreme cases.

      Good luck, let me know if you have more questions,
      hxr