From: Jean C. M. <jc_...@ho...> - 2008-06-25 15:08:51
|
Thanks for your help. > Are you using simplegrab or vidcapTester? There is no example.cpp.I'm using simplegrab.c file. > What platform are you using? Windows? Mac? Linux?I've done some tests on windows XP SP2 and Vista SP1 on two computers with 3 cameras.All cameras gave me the same 44 modes with libvidcap library. > Why do you suspect that the mode output is wrong? What other tools are> you using to query the device capabilities?I've made some tests with an other webcam library called vidcapture ( http://www.codevis.com/vidcapture/ )This lib give me the correct modes for each camera according to the camera datasheet as you can see on my previous message. > One thing to note is that libvidcap is reporting the modes it can> achieve using this video device, not all the modes that the video> device itself can achieve. For example, libvidcap does not know how to> convert motion jpeg into either rgb32, yuy2, or i420.I understood. but I my case there are some missing resolutions (over 640*480). An other question : is there a way to get the native camera output mode (without conversion ?). By exemple : on a camera which is capable to give me an mjpeg image format, is it possible to retrieve it ? _________________________________________________________________ Avec Hotmail, vos e-mails vous suivent partout ! Mettez Hotmail sur votre mobile ! http://www.messengersurvotremobile.com/?d=hotmail |