Results 1 to 2 of 2
  1. #1
    yogeshcharpe is offline Member
    Join Date
    Sep 2011
    Posts
    2
    Rep Power
    0

    Default Problem in inbuilt Webcam using JMF

    Hi,

    I am using JavaTM Media Framework 2.1.1e downloaded from below link in my application.
    Java Archive Downloads -Java Client Technologies .

    Main functionality of my app is to use Web-camera.

    My application is working fine on Windows XP and Windows 7 using external Web-Cam device.
    However, the same application is giving problem in accessing in-built Webcam on Windows 7.

    I tried to access in-built Web-Camera from JMStudio app(of JMF..File->Capture->check 'Use video device'-> Press 'Ok'), however JMStudio itself is not able to access in-built web-camera. Always I am getting the error 'Couldn't initialize the Capture Device!'.

    Please note that JMF Registry Editor(JMStudio->Preferences->Capture Device->Detect Capture Devices')is able to detect the inbuilt web-cam device.

    Is this the issue in JMF itself or I can resolve the issue from my application also?

    Also, when I tried to do online JMF diagnostics, I am getting below error.
    Online JMFDiagnostics URL: JMF - Diagnostics Applet

    Java Plug-in 1.6.0_26
    Using JRE version 1.6.0_26-b03 Java HotSpot(TM) Client VM
    User home directory = C:\Users\taipakai
    ----------------------------------------------------
    c: clear console window
    f: finalize objects on finalization queue
    g: garbage collect
    h: display this help message
    l: dump classloader list
    m: print memory usage
    o: trigger logging
    q: hide console
    r: reload policy configuration
    s: dump system and deployment properties
    t: dump thread list
    v: dump thread stack
    x: clear classloader cache
    0-5: set trace level to <n>
    ----------------------------------------------------
    java.lang.ClassFormatError: Incompatible magic value 1008813135 in class file JMFDiagnostics
    at java.lang.ClassLoader.defineClass1(Native Method)
    at java.lang.ClassLoader.defineClassCond(Unknown Source)
    at java.lang.ClassLoader.defineClass(Unknown Source)
    at java.security.SecureClassLoader.defineClass(Unknow n Source)
    at sun.plugin2.applet.Applet2ClassLoader.findClass(Un known Source)
    at sun.plugin2.applet.Plugin2ClassLoader.loadClass0(U nknown Source)
    at sun.plugin2.applet.Plugin2ClassLoader.loadClass(Un known Source)
    at sun.plugin2.applet.Plugin2ClassLoader.loadClass(Un known Source)
    at java.lang.ClassLoader.loadClass(Unknown Source)
    at sun.plugin2.applet.Plugin2ClassLoader.loadCode(Unk nown Source)
    at sun.plugin2.applet.Plugin2Manager.createApplet(Unk nown Source)
    at sun.plugin2.applet.Plugin2Manager$AppletExecutionR unnable.run(Unknown Source)
    at java.lang.Thread.run(Unknown Source)
    Exception: java.lang.ClassFormatError: Incompatible magic value 1008813135 in class file JMFDiagnostics


    Please suggest.

    Thanks for your help in advance.

  2. #2
    Fubarable's Avatar
    Fubarable is offline Moderator
    Join Date
    Jun 2008
    Posts
    19,316
    Blog Entries
    1
    Rep Power
    26

Similar Threads

  1. Problem in inbuilt Webcam using JMF
    By yogeshcharpe in forum Advanced Java
    Replies: 1
    Last Post: 09-23-2011, 02:55 PM
  2. Using webcam with JMF
    By hkpn in forum New To Java
    Replies: 0
    Last Post: 09-20-2011, 04:45 PM
  3. How can I run a webcam applet
    By dariusgeo in forum Java Applets
    Replies: 1
    Last Post: 05-02-2011, 06:48 AM
  4. initialising a webcam?
    By jonsamwell in forum New To Java
    Replies: 1
    Last Post: 08-25-2008, 06:17 PM
  5. J2ME Webcam 0.1
    By JavaBean in forum Java Software
    Replies: 0
    Last Post: 10-31-2007, 06:25 PM

Tags for this Thread

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •