3 Replies Latest reply: Sep 20, 2011 11:55 AM by captfoss RSS

    Cannot capture video with JMF

    889265
      Hi all,

      I'm using ADTech usb web cam to capture video. It does not come with drivers but it can plug and use.
      I check this camera with Skype and it works fine.

      But in my application code I'm getting device list like this
      Vector<CaptureDeviceInfo> deviceList = CaptureDeviceManager.getDeviceList(null);
      This return two CaptureDeviceInfo objects with following details.

      object 1:
      DirectSoundCapture : dsound://
      LINEAR, 48000.0 Hz, 16-bit, Stereo, LittleEndian, Signed
      LINEAR, 48000.0 Hz, 16-bit, Mono, LittleEndian, Signed
      .............................
      object 2:
      JavaSound audio capture : javasound://44100
      LINEAR, 44100.0 Hz, 16-bit, Stereo, LittleEndian, Signed
      LINEAR, 44100.0 Hz, 16-bit, Mono, LittleEndian, Signed
      ..................................

      According to my knowledge these two are audio formats and it does not get object for video.
      How does this happen. I have stuck here.

      Can anyone help??

      Thanks in advance,
      Dilan.