JAVA + JMF(Webcam) + LINUX (UBUNTU) --HELP

hello ..
i have a problem.. i already search on forum a lot..but i couldnt find the solution or something exactly like that..so..i'd like to ask some help over here..
i already installed jdk..jmf.. jmfregistry detects my webcam without problems.. i can use jmstudio to record some video and at kopete i could use my webcam..
the great problem is... i have a JAVA program that needs to connect to my webcam and take a picture.. but everytime i run my application i never can detect any device..
i tryed the device path like.. v4l://0... v4l2://0.. and a lot of others..
if someone is not familiar with code..
thats it:
this.mediaLocator = new MediaLocator("v4l://0");
somebody can help me?
sorry my bad english..
Edited by: fcsa on Mar 6, 2008 4:28 PM

hello again guys..
im back here to see if someone has some other advices.. :)
i solved this problem on ubuntu.. but my client said he needs my java application running on Mandriva..
i already did everything i did on ubuntu..but im still cant connect the webcam on my java application..
at jmstudio and jmfregistry the device is found..so..help me.. :)

Similar Messages

  • Webcam detected but not enumerated. Logitec cam, JMF, GNU/Linux, v4l2

    Hi,
    I've been trying the whole day to get my "Logitech, Inc. QuickCam for DELL Notebooks" with Java Media Framework.
    From searching the web and mainly the sun forums I kind of understand that JMF is not getting much attention from the developers.
    Maybe I'm wrong. (I hope so)
    I need to use something to capture video from a webcam on linux using java.
    JMF uses v4l but, as the v4l people say on their site, v4l2 support of v4l is broken...
    I downloaded the jmf-2_1_1e-linux-i586.bin, tried to run the programs, they run but the webcam is not listed for capture.
    When I search for devices the program outputs: (jmfinit or the others from jmf package)
    JavaSound Capture Supported = true
    JavaSoundAuto: Committed ok
    Name = v4l:UVC Camera (046d:08c6):0
    Trying 4 320 240
    Trying 15 768 576
    java.lang.Error: Can't open video card 1
    java.lang.Error: Can't open video card 9
    Apparently the camera is detected but something else prevents it from being used.
    I would say the v4l interface...
    I can view correctly the output from my webcam using:
    mplayer -fps 30 -tv driver=v4l2:width=640:height=480:device=/dev/video0 tv://
    but if I change driver=v4l2 to driver=v4l it wont work anymore...
    Is there a workaround? Am I missing something? because a few people were able to use it so why not me =)

    nanom wrote:
    I know I am resurrecting an old thread but I would like to have a solution on this topic and notice that colector may have one base on another thread, where I wrote but the thread was locked.
    Please before locking this tread can you please facilitate me colector's mail or some way to contact him?If his email address is not public in his profile you cannot contact him directly.
    As you have been told once already, please start your own thread. Locking this thread.

  • Error installing jmf-2_1_1e-linux-i586.bin

    h3. Hello,
    h3.
    I'm trying to install jmf-2_1_1e-linux-i586.bin on a Linux(centos 5.1) system. I get the results at the end of this post after accepting the license agreement. I haven't found anything on the web or the bug database that has been helpful. I'm really at my wits end and could use a helping hand.
    h3.
    Thanks in advance.
    Do you agree to the above license terms? [yes or no]
    y
    Permit recording from an applet? (see readme.html) [yes or no]
    y
    Permit writing local files from an applet? (recommend no, see readme.html) [yes or no]
    n
    Unpacking...
    tail: cannot open `+309' for reading: No such file or directory
    Extracting...
    ./install.sfx.3639: line 1: ==: No such file or directory
    ./install.sfx.3639: line 3: syntax error neUQU599&ugrave;;&middot;&middot;&middot;&yuml;r&thorn;&Ntilde;&Ntilde;&Ntilde;&cent;_&Acirc;&ograve;&laquo;KK)C{<>&uacute;&uacute;<<&iquest;&egrave;
    QQRL&Ugrave;&Uuml;&Igrave;L&Aring;^sfx.36 88&oslash;$&egrave;&aring;&otilde;&Otilde;&reg;&cent;&not;,&agrave;&ouml;&egrave;&acute;i&Ntilde;&shy;&Ograve;&Ograve;&Ograve;V~&aacute;mn.&agrave;7w^&Yacute;&Acirc;&AElig;,;M&cent;`&THORN;&ograve;A$D&uml;&reg;&uml;&uml; @    &Eacute;&ordm;&Icirc;wA'
    --root@localhost lib--# PuTTYEdited by: eran_cantor on Jul 17, 2008 2:01 PM
    Edited by: eran_cantor on Jul 17, 2008 2:02 PM
    Edited by: eran_cantor on Jul 17, 2008 2:03 PM

    Hey Eran,
    I guess, you can find the solution to your problem here:
    [http://forum.ubuntuusers.de/topic/jmf-java-media-framework/#post-1806940]
    It works well on Ubuntu, but since the error on Ubuntu looks exactly the same as on Centos, I think it should work for you as well.
    Cheers,
    Georg

  • How to install JMF in Linux

    How to install JMF in Linux?

    Thank you AndrewThompson64
    You have done a great job.You are welcome.. but really, the only
    'great' thing I did was a quick search on
    'Java install linux'
    to show that link (that I knew was around
    here somewhere) at the top of the
    search reasults!
    Thanks for your interest to help me.You are welcome. :-)
    Next time you get stuck, 'drop back by'* and
    I'll show you some more clever search tips. ;-)
    * ..but really, you will gain a lot if you simply
    'lurk' around the forum and read other posts,
    even as you are writing code..

  • Using cinepak codec and JMF under linux mandrake

    Hello,
    I have a big problem using JMF under linux to read video files encoded with the Cinepak codec.
    I don't know if i'm the only one in this situation, so if you are too please let me know :)
    I tested my project under both windows and linux. Under Windows, no problem : the cinepak encoded file is read perfectly. Under linux, it doesn't work. Even if i try to read it with JMStudio. So i think it may be a problem of codec under linux, but it isn't because i can read the video file with a linux video player.
    I don't know what to do and it's very important for my project that i can read cinepak under linux.
    Thanks in advance for any help
    Alex

    well, your not the only one.
    I have it working in Debian, and JDS.(JMF is setup automatically in JDS).(2.6.6 kernel)
    I looked at the installation structure of JDS, and was able to duplicate what they did for Debian.
    Maybe it will work for Mandrake two??
    ok, all you have to do is copy or create soft links from your Mozilla directory, just like you did with the java plugin, and link to all the *.so files in JMF-2.1.1e/lib directory.
    Should work.
    I also read that not haveing the native files only matters if you are doing Capture. not play.
    to get your ATI All-in-Wonder 128 to work, make sure you install the correct driver, and have it working under linux, then try it in JMSTUDIO

  • Cannot install JMF under Linux Mandrake 10

    I simply cannot install JMF under the Mandrake 10 Official Linux distribution. I downloaded the jmf-2_1_1e-linux-i586.bin file and tried to execute it as root. It unzipped some files then showed me an error message about AWT and GTK+. I found a hack consisting of modifying the .bin file to have the PATH variable point to SUN JDK, the error does not show up, but the installation still does not work. In fact, the installation works, but the Diagnostics applet keeps telling me than class files are not present. My Mozilla 1.6 Java plugin is working and displaying the applet. My JMF lib directory does not contain sound.jar, such jmf.jar. I set the CLASSPATH and LD_LIBRARY_PATH according to the readme.html file. I would like to know if it is a compatibility problem with Mandrake 10, the 2.6 kernel or if JMF just DO NO work under Linux. In the latter case, JMF is a violation to the Java portability philosophy and I would never use it on my own initiative, just if I were asked to.
    After the files are unzipped, I have the following warning and error messages.
    Warning:
    Name: HorScrollBar
    Class: XmScrollBar
    The specified scrollbar value is greater than the maximum
    scrollbar value minus the scrollbar slider size.
    JavaSound Capture Supported = true
    JavaSoundAuto: Committed ok
    java.lang.Error: Can't open video card 0
    java.lang.Error: Can't open video card 1
    java.lang.Error: Can't open video card 2
    java.lang.Error: Can't open video card 3
    java.lang.Error: Can't open video card 4
    java.lang.Error: Can't open video card 5
    java.lang.Error: Can't open video card 6
    java.lang.Error: Can't open video card 7
    java.lang.Error: Can't open video card 8
    java.lang.Error: Can't open video card 9
    Done.
    Even if I do not have a working video capture card (I have an ATI All-in-Wonder 128 but it is not working under 2.6 kernel), JMF should work because some people do not have a video capture card. I also tried with the cross-platform ZIP file, but this one does not contain sound.jar either and the Diagnostics applet keeps complaining about missing class files. I tried to search on the Web for solutions to this problem or for a way to change the CLASSPATH used by the Mozilla Java plug-in (if it uses a different CLASSPATH than the one from the environment variable), but nothing, nothing. Is there a distribution from which JMF would work better than Mandrake 10? Or can JMF work only under Microsoft Windows or Sun Solaris? I also tried Blackdown, but a README file directed me to the Sun's page, nothing to download here about JMF.

    well, your not the only one.
    I have it working in Debian, and JDS.(JMF is setup automatically in JDS).(2.6.6 kernel)
    I looked at the installation structure of JDS, and was able to duplicate what they did for Debian.
    Maybe it will work for Mandrake two??
    ok, all you have to do is copy or create soft links from your Mozilla directory, just like you did with the java plugin, and link to all the *.so files in JMF-2.1.1e/lib directory.
    Should work.
    I also read that not haveing the native files only matters if you are doing Capture. not play.
    to get your ATI All-in-Wonder 128 to work, make sure you install the correct driver, and have it working under linux, then try it in JMSTUDIO

  • How to run Adobe Reader on Linux Ubuntu? [was:Which progam ?]

    I have installed linux ubuntu and have downloaded adobe reader . But I am not sure which program to use to open it , can anyone help ?

    Ah. You don't select a program, because it is the program (just like an EXE in Windows). See http://askubuntu.com/questions/221416/how-to-install-adobe-reader-bin-download-from-adobe

  • Solaris Express on Linux Ubuntu (Gutsy)

    I am trying to install SDXE on my VAIO laptop. It passed the compatibility tests, so there should be no problem.
    But, despite I have a 12 GB primary partition available, the installer tells that there is a problem with Linux FDisk partitions, which can not coexist with Solaris FDisk partitions.
    I have read that it is possible to have a multiboot computer with Solaris/Linux(Ubuntu 7.10 in my case) and Windows.
    But the installer does not go further.
    Or should I get rid of my Ubuntu Linux?
    thanks in advance for any advice on this.

    Finally, after three shots, I got Solaris in my notebook.
    Now, I am struggling with WPA for my wireless network. Where does Solaris store WPA keys?
    After a couple of hours, I decided to move to my router and wire my notebook :(
    But it is ok. May be somebody could help me with this.
    Also, is there a stand-by / hibernate option?
    best regards from Lima, Peru
    Sergio

  • Re: Can I run JMF in linux without X

    I've just installed JMF for Linux last night.
    I have it working on a Win 98 system.
    I "think" X-Windows loads the display drivers ? Not sure though.
    I've an old ATI All-in-Wonder video capture card, and think I have to
    upgrade from X Windows 11 Release 6, to a newer version to use the
    new Linux Graphics drivers for my card under the Gatos project in www.Sourceforge.net.... ( For video-in capture, not necessarily video display )
    Hope some of that vague information helps...
    regards,
    Owen

    Yes, you can. However, you must have the Mac OS 9 System Folder installed on your hard drive.

  • Can I use Java JMF on Windows XP Professional

    I wanted to know if I can use/install Java JMF on Windows XP and how hard/easy is to use Java JMF to stream live video with a webcam and using applet on a web page; As I hoping to embark on a project.
    Any suggestions will be gratefull.
    Kind Regards,
    DM

    You can install the JMF on windows xp since i am doing so. Also you can use web cam to capture and stream out as usual.

  • JMF on Linux 64 bit os

    Hi,
    I am trying to install JMF on my dedicated Linux 64 bit server. When i tried to install *"jmf-2_1_1e-linux-i586.bin"* I got the following error. Any one help me for this problem.
    Can any one tell me how to install JMF on Linux 64 bit system.....
    Permit writing local files from an applet? (recommend no, see readme.html) [yes or no]
    yes
    Unpacking...
    tail: cannot open `+309' for reading: No such file or directory
    Extracting...
    ./install.sfx.9505: line 1: ==: No such file or directory
    ./install.sfx.9505: line 3: syntax error ne[UQU599�;����r�����_���KK)C{<>��<<��
    QQR�rqp����"���hj��WjYn�d!�������� ���L�^^�      88�$�������,����i�����V~�mn.�7w^���,;M�`��A$D���� @    ���wA'
    {code}                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                           

    I know this post is over two years old. Though, I am now encountering the same issue. Does anyone know the solution to this problem? Any help is much appreciated.
    Thanks,
    T

  • Java installation under Linux

    Hi
    I've got a problem with the installation of somme Java Packages under Linux.
    What must I do with the "*.jar" file? I wont to install the neu Open Xchange Server under SuSE 9.1, but there are somme Problems with the Java Packages!
    Can someone help me???
    Thanks a lot!!
    Dambi

    Hello Ishan,
    The J2EE server is not starting because of the error in A. Please refer to note 965451 for solution.
    The warnings in part B are insignificant. The startup framework has list with profile parameters and when a parameter is not in the list complains with warning. This warning doesn't mean that the parameter is wrong!
    The jcontrol is the parent process of the server process and if the server process dies you will always get error message there.
    Regards,
    Ventsi Tsachev
    Technology Development Support (J2EE Engine)
    SAP Labs, Palo Alto, Ca (USA)

  • Problem with a Flex into Linux (Ubuntu)

    Good morning to all
    I have a problem with a project done in flash builder 4.
    My   project works well in a WAMP Server in Windows 7 is a project that   connects to a MySQL database, but I would like to migrate the entire   project done in a WAMP server on Linux (Ubuntu Web Server). The problem I have is that my Ubuntu server I have everything properly installed:
    Apache
    Php
    MySQL - phpMyAdmin
    Zend Framework
    but when I upload all my project from WAMP to my Linux server - I get an error:
    ... Class "CategoryService" does not exist: Plugin by name 'CategoryService' was not found in the registry; Used paths:
    : C: / wamp / www / Servers-debug / services /
    #   0 / opt/ZendFramework/release-1.9.7/library/Zend/Amf/Server.php (550):   Zend_Amf_Server-> _dispatch ('getAllCategory', Array,   'CategoryService')
    # 1 /   opt/ZendFramework/release-1.9.7/library/Zend/Amf/Server.php (626):   Zend_Amf_Server-> _handle (Object (Zend_Amf_Request_Http))
    # 2 / var / www / Servers-debug / gateway.php (69): Zend_Amf_Server-> handle ()
    # 3 (main) ...
    obviously -> "... C: / wamp / www / Servers-debug / services / ..." it  is a mistake because it is the path of my wamp server (Windows), but do  not know
    where to modify the code of my project to understand the
    following path: / var / www / Servers-debug / services / <- that is my address in ubuntu?
    anyone can help me, please!!

    Good morning to all
    I have a problem with a project done in flash builder 4.
    My   project works well in a WAMP Server in Windows 7 is a project that   connects to a MySQL database, but I would like to migrate the entire   project done in a WAMP server on Linux (Ubuntu Web Server). The problem I have is that my Ubuntu server I have everything properly installed:
    Apache
    Php
    MySQL - phpMyAdmin
    Zend Framework
    but when I upload all my project from WAMP to my Linux server - I get an error:
    ... Class "CategoryService" does not exist: Plugin by name 'CategoryService' was not found in the registry; Used paths:
    : C: / wamp / www / Servers-debug / services /
    #   0 / opt/ZendFramework/release-1.9.7/library/Zend/Amf/Server.php (550):   Zend_Amf_Server-> _dispatch ('getAllCategory', Array,   'CategoryService')
    # 1 /   opt/ZendFramework/release-1.9.7/library/Zend/Amf/Server.php (626):   Zend_Amf_Server-> _handle (Object (Zend_Amf_Request_Http))
    # 2 / var / www / Servers-debug / gateway.php (69): Zend_Amf_Server-> handle ()
    # 3 (main) ...
    obviously -> "... C: / wamp / www / Servers-debug / services / ..." it  is a mistake because it is the path of my wamp server (Windows), but do  not know
    where to modify the code of my project to understand the
    following path: / var / www / Servers-debug / services / <- that is my address in ubuntu?
    anyone can help me, please!!

  • How to install JDK on LINUX Ubuntu on system with no net/wireless?

    Hello!
    I need to install JDK on LINUX Ubuntu on system with no net/wireless connection.
    What are the commands?
    Thank you!
    Edited by: 800512 on 07:29 10/01/2011

    - Download your release of choice from http://www.oracle.com/technetwork/java/javase/downloads/index.html
    - Put the file on a USB thumb drive
    - Mount that drive on the target machine
    - Follow the installation instructions.
    The Linux/Ubuntu downloads of the JDK are offline installers (i.e. the downloaded file contains everything that's required). Only Windows currently has an online installer (smaller initial download, but requires a net connection for the actual installation)
    Alternatively: install the OpenJDK from the official Ubuntu packages using apt-zip (http://wiki.debian.org/AptZip).

  • Installing Flashplayer to Linux, need help please

    Ok, so I'm a windows xp person, I am new to Linux/ubuntu
    system setup thing... anywho I have been trying to watch youtube
    and get on to sites that require flashplayer, etc. It isn't letting
    me watch vids, so I do not have flashplayer, and when I went to
    read the instructions on how to download it, It was all gibberish
    to me, this is my first time ever using a linux so can someone
    explain to me how to download it? Im new so you may have to include
    every single detail, and tell me where to go, etc. Thank you so
    much for reading this and I hope you all can help me :)

    If anyone could help me with this, I would really appreciate
    it.

Maybe you are looking for

  • No of file descriptors in solaris 10

    hi, I had an open files issue and updated the no of files descriptors with the following command(using zones on Solaris 10 running on SPARC) projmod -s -K 'process.max-file-descriptor=(basic,8192,deny)' PROJECTNAME i wanted to check is there any way

  • Uploading emails

    turning my blackberry on first thing in the morning, it takes over an hour for the emails to upload on to my smartphone.  it used it upload within 5 minutes of turning machine on.  sometime I have wi-fi turned on, sometimes not.  makes no difference.

  • How to make screen elements invisible ??

    Hi, In  my selection-screen, I can add no-display attribute to Parameter data but how can i make screen elements invisible which are declared as follows ?? PARAMETERS: SMALLLOG as checkbox . thanks

  • Labview 5.0 Familiariz​ation needed!

    Hi All, I am new to labview. I am now using an older version of Labview which is labView 5.0. I have ran through the quick start guide manual, but i still feel that it is not enough for me and I feel myself not really feel comfortable with this softw

  • How to download facebook on the iphone

    How do I download facebook on my iphone?