Listing camera devices and its properties

Joined
Apr 13, 2011
Messages
1
Reaction score
0
Points
1
Hello people!
So, I got this following code:
[C] Gabriel Duarte - Pastebin.com

It works fine to list my cameras, but I need one more information, the size (width and height) from each camera, but I could not find a way to obtain it.

Someone there have some idea how to do it? :p

The code compiles with: g++ listdevs.c -o listdevs -framework QuickTime -framework Carbon

Any help is really appreciated! ;D

Thanks
 

Shop Amazon


Shop for your Apple, Mac, iPhone and other computer products on Amazon.
We are a participant in the Amazon Services LLC Associates Program, an affiliate program designed to provide a means for us to earn fees by linking to Amazon and affiliated sites.
Top