• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Tim Cooke
  • Ron McLeod
  • paul wheaton
  • Jeanne Boyarsky
Sheriffs:
  • Paul Clapham
  • Devaka Cooray
Saloon Keepers:
  • Tim Holloway
  • Roland Mueller
  • Himai Minh
Bartenders:

video caputure

 
Greenhorn
Posts: 1
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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.

 
Don't get me started about those stupid light bulbs.
reply
    Bookmark Topic Watch Topic
  • New Topic