Java captureDeviceManager.getDevice does not return any capture device on ubuntu

I want to capture a webcam image with a laptop.

The webcam works correctly when you start skype or any webcam application.

My workstation is ubuntu 11.10.

Find / dev / v 4l in our webcam, and this path includes the by-id byte path.

   Vector deviceList = CaptureDeviceManager.getDeviceList(new YUVFormat());

2 types of webcam format RGB and YUV.

I run v4l-info and know the YUV format.

Return No search capture device

Manually added jmf.jar to the reference libraries.

Please help me.

I just want to capture an image using java in ubuntu 11.10.

Can you recommend me other methods if you cannot find a solution to the problem above.

thanks for the help

+3
source share

All Articles