posted 24 years ago
i am doing a project on audio/video capture. my program does not recognize my web cam.
// Get the CaptureDeviceInfo for the live video capture device
Vector deviceList = CaptureDeviceManager.getDeviceList(vFormat);
CaptureDeviceInfo di = null;
if (deviceList.size() > 0){
di = (CaptureDeviceInfo)deviceList.firstElement();
System.out.print("capture device");
// Now create a processor for this capturedevice & exit if we cannot create it
try {
vProcessor = Manager.createProcessor(di.getLocator());
} catch (IOException e)
the size of deviceList always returns 0. other softwares recoganise my web cam. my wb cam from 'creative'.
the format that i have passed is YUV, i have also tryed other formats.