I coded in java
on ubuntu 11.10
Laptop webcam is running correctly and locate it /dev/v4l/
.
Skype application can use webcam and run.
I installed JMF but i couldn't add environment variables.`
Vector deviceList = CaptureDeviceManager.getDeviceList(new RGBFormat());
System.out.println(deviceList.toString());
if(!deviceList.isEmpty()){
System.out.println("1");
device = (CaptureDeviceInfo) deviceList.firstElement();
}
device = (CaptureDeviceInfo) deviceList.firstElement();
ml = device.getLocator();
I want to just a capture a image in java.
What should i do solving the problem or use instead of JMF?