I am new to Mac programming and am really confused about what is the right way to capture any webcam.
Learned:
On Windows, Directshow filters are the only recommended way.
There are at least three structures on a Mac. This is what I understood while browsing the forums. Please correct me if I am wrong.
QuickTime - 32-bit Applications Only
QTKit - only 64-bit applications
AV Foundation - OS X 10.7 and higher.
(I read some posts that said - when using QTKit, some webcams were not even recognized, but did not understand what to do)
Requirement: Capture any webcam (internal or external - from any provider) in Mac OS X 10.7 and higher in a 64-bit application that is built on OS X 10.6 (due to the large volume of frameworks it is not transferred to Xcode 4 at the moment, the code should be built on Xcode 3.2.5 on OS X 10.6. We plan to upgrade to Xcode 4, but for the current time it takes more time and is not suitable for it in the current release schedule). So, I can not use AV Foundation.
Question: If we use only QTKit, will the application be able to capture all webcams? Or are some webcams with 32-bit drivers or drivers that only support the AV Foundation not working? The right way to capture on a Mac is to implement capture functions using all three structures?
source share