Detect the WebCam device with java

advertisements

I am using JMF to operate my web cam.My usb webcam works perfectly with JMF, I used it in JMStudio however,when I make this call from my java code

deviceListVector = CaptureDeviceManager.getDeviceList( null );

my "audio capture device" is detected however, my usb webcam at vfw://0 is not detected. To clarify, the audio capture device and the USB cam are entirely separate devices. How can I properly detect the usb webcam, and its formats, from JMF?

Thanks In advance


Also you can try LTI-Civil or Xuggler.