DeviceManager, simple but I have problem (Please helllp)

I'm trying to capture live stream from my pc camera (Intel(r) PC CS120) but capturedevicemanager returns null, here is one of my try
RGBFormat rgbFormat = new RGBFormat();
CaptureDeviceInfo cdi;
cdi = CaptureDeviceManager.getDevice("Intel(r) PC Camera CS120");
cdi is null after execution of above code
I tried
RGBFormat rgbFormat = new RGBFormat();
Vector videoDevs = CaptureDeviceManager.getDeviceList(rgbFormat);
but the videoDevs.size returns zero???
Could you please assist me in what I have to do
I checked the pc camera format is "RGB 24" ... I'm new to this capture device concept... so I would really appreciate your help...
Thanx

Check this out. It could help.
http://java.sun.com/products/java-media/jmf/2.1.1/solutions/JVidCap.html
I think it could be caused by the Format problem.
The sample use the CaptureDeviceManager like this:
Vector devices;
CaptureDeviceInfo cdi;
// Find devices for format
     devices = CaptureDeviceManager.getDeviceList(format);
     if (devices.size() < 1) {
     System.err.println("! No Devices for " + format);
     return null;
     // Pick the first device
     cdi = (CaptureDeviceInfo) devices.elementAt(0);
Good luck.
Jim

Similar Messages

Maybe you are looking for

  • Problems with metadata in .mov files

    Hi I'm trying to set up an archiving system for video much like the one I use for photography. In doing this, I use metadata (File Info) reated and applied in Bridge to create searchable keywords for our archivist to use. The problem is, I can't get

  • Can't get "suretype" to stay on

    When I am texting or sending a BBM I have to reset my touch screen to "suretype" every time. I have a torch 9800 and prefer to use a reduced keyboard in portrait and suretype is much easier to use. 

  • Steps & Activities of EP Consultant in SAP EhP5 Upgrade

    Hi Experts My client is upgrading to Ehp5, he also has Nwdi. I am starter to Portal, can anyone give me detail steps of activities of EP Consultant in up gradation to Ehp5. and what issues I should take care of. Thanks inadvance Regards Siva

  • Pdf version of wireless bill

    i would like to view a copy of my wireless bill from last month and can't seem to download a pdf version can you help?

  • Custom Button Problems

    Hi, I am trying to make a program that is similar to paint right now. I made this class to be able to edit how big the drawing tool is: import java.awt.*; import java.awt.geom.*; import javax.swing.*; public class EditableButton extends JButton