From: Jean C. M. <jc_...@ho...> - 2008-06-25 18:50:33
|
> > 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.> Okay, that makes sense. Is there a reason to get "only" 44 modes each time ? > Another thing that is a little funny about libvidcap is that it has a> "hotlist" of modes that it looks for. So when it reports the modes> available for a device, it only includes device modes that match with> hotlist modes. If I recall, it was implemented this way because it can> be difficult to get exhaustive mode lists from source apis, but it is> easier to validate any particular mode.> > Even if libvidcap does not report that the device supports a> particular format, the application may still successfully bind that> format using vidcap_format_bind(). For example, libvidcap would> probably be able to capture using "Mode 00: 720x480 @ 25 fps (YUY2)".> > It might make sense to add formats to libvidcap's hotlist. Perhaps the> 720x480 resolution would be a good one to look for. I think this "hotlist" exists to help us to standardise format on differents platforms. I'll take a look into the code to find a way to retrieve the real supported format (with directshow). > > 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 ?> > This is not currently a feature of libvidcap. I would consider a patch> for this feature though. Good. I'll wait. Thanks. _________________________________________________________________ Retouchez, classez et partagez vos photos gratuitement avec le logiciel Galerie de Photos ! http://www.windowslive.fr/galerie/ |