QTKit Capture - Can it enumerate video sizes?

Discussion in 'Mac Programming' started by webcamcapture, Jan 11, 2011.

  1. webcamcapture macrumors newbie

    Jan 11, 2011
    Hello all,

    I was developing a webcam capture application in Windows with DirectShow, but I wanted to port it to Mac in the future.
    I have done quite a bit of research on this, but one problem I have is that I am not sure what support QTKit offers for enumerating video sizes and frames per second (DirectShow offers full support, enumerating the pre-defined resolutions for the given webcam).

    According to this guy's post, only a default resolution is provided by QTKit and we have to "guess" what other resolutions are supported by the webcam.
    Also, this post also says "Mac tells you minimum size and nothing more. Mac can only set the maximum FPS you want (It can deliver less)"

    For my application, I want to select the largest resolution that I can get at least 10fps with. I am not sure how to write a generic interface to select this capture resolution/fps that will port easily to Mac in the future.

    I also was thinking that maybe I could *painfully* interface with the Mac UVC driver directly to enumerate the video capture sources. Does QTKit really not offer this capability?

    Any ideas?
    Thank you in advance!
  2. webcamcapture, Jan 14, 2011
    Last edited: Jan 17, 2011

    webcamcapture thread starter macrumors newbie

    Jan 11, 2011
    Anybody have any ideas?
    Is there any way for me to contact Apple directly on this issue?

  3. webcamcapture thread starter macrumors newbie

    Jan 11, 2011
    *final bump T_T*
    Is there any other forum where I can get an answer?

  4. kainjow Moderator emeritus


    Jun 15, 2000
    Check out the Apple mailing lists, especially the QuickTime one:

    Apple engineers often respond on those lists so you may have a better chance there (although no guarantees).
  5. lloyddean macrumors 6502a

    May 10, 2009
    Des Moines, WA
    Did you really mean to say FPS or did you mean to say refresh rate? Because FPS doesn't make any sense in the context used.

Share This Page