Win a copy of Penetration Testing Basics this week in the Security forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

video caputure

leejo paul
Posts: 1
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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.

  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic