QTKit Capture - Can it enumerate video sizes?

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

  1. webcamcapture macrumors newbie

    Joined:
    Jan 11, 2011
    #1
    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

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

    Thanks.
     
  3. webcamcapture thread starter macrumors newbie

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

    Thanks.
     
  4. kainjow Moderator emeritus

    kainjow

    Joined:
    Jun 15, 2000
    #4
    Check out the Apple mailing lists, especially the QuickTime one:
    http://lists.apple.com/mailman/listinfo

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

    Joined:
    May 10, 2009
    Location:
    Des Moines, WA
    #5
    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