Webcam and JMF

Hey all. I have been searching for tutorials and examples that show how to stream video from a webcam (in an application) in its simplest form: display the camera's output on a JFrame (or similar), but to no avail. The only code examples I have been able to find are way over my head. Would anyone be willing to give me a code example which simply puts the camera's output on the JFrame and nothing else. I think in its simplest form, it will be much easier for me to understand and learn from. Thanks in advance!
--James                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                               

What?

Similar Messages

  • Cam and jmf

    Hi!! someone can tell me one name of webcam with vfw which can be used by JMF
    I need to capture the video signal of the webcam and i can´t with my webcam (WEBCAM CONCEPTRONIC FLEXCAM). Thanks !!
    Edited by: NickNN on Feb 16, 2009 10:54 AM

    NickNN5 wrote:
    Could you tell me any web cam that is VFW compliant ?? Why don't you ask google?

  • Detection problem on HP webcam with JMF

    Hi,
    I'm trying NyARtoolkit and I need to use the video stream of my HP's webcam encrusted above the screen of my laptop (a HP Pavillon tx 2670ef)
    After the installation of JMF, I lunch JMStudio and I manage tu detect my webcam in : File->Preferences->Capture Devices->detect capture devices.
    Then i close the windows and i do File->Capture...->I enable "use video device" and unable "use audio device" then i click on "OK" but aftewards i have an error message saying that JMF couldn't initialize the capture device...
    2 students with me have the same pb...
    I made some researches about this issue and i found this post
    http://72.5.124.102/thread.jspa?messageID=10177842
    Afterwards I've installed ManyCam and i managed to get a video capture from the virtual webcam simulated with ManyCam.
    In fact, when i click on detect capture devices in JMStudio, a windows appears and i can choose "ManyCam Virtual Webcam" instead of "HP webcam".
    Moreover, in the options before capturing video, the encoding is in RVB instead of YUV before with the "HP webcam".
    But when i run my program i have this error :
    java.lang.ArrayIndexOutOfBoundsException: 0 >= 0
         at java.util.Vector.elementAt(Unknown Source)
         at jp.nyatla.nyartoolkit.jmf.utils.JmfCaptureDeviceList.getDevice(JmfCaptureDeviceList.java:80)
         at jp.nyatla.nyartoolkit.java3d.utils.NyARSingleMarkerBehaviorHolder.<init>(NyARSingleMarkerBehaviorHolder.java:68)
         at J3DJME.NyARJava3D.<init>(NyARJava3D.java:174)
         at J3DJME.NyARJava3D.main(NyARJava3D.java:76)
    I tried many other things (Quicktime with QTcap... but i didn't managed to solve this pb yet)
    Coud you help to use my webcam with jmf ?
    josy

    You probably want to remove the crust from your web cam if you expect it to work. Most things that are encrusted aren't in the best of shape...
    JMF connects to web cameras by wrapping around native interfaces. If the JMStudio isn't able to use your web cam, it could mean a number of things...your web cam isn't compliant with the version of the interfaces (VFW and DirectShow, I believe) that JMF is wrapping around, the web cam doesn't output any formats JMF can use, etc.
    But if JMStudio can't use your web cam sucessfully, 99% of the time that means your web cam isn't going to work with JMF... unless you want to code support for it yourself.

  • Access webcam without JMF

    Hi guys,
    I wanna create an applet that just takes a snapshot image from the user's webcam, so I wouldn't like to tell the user to install JMF first. Does anyone know if it's possible to access the webcam from a standard JRE, if yes than how? Any link or anything else would be greatly appreciated, since anything I found on the net was based on JMF...

    I can only point you to the demo download from the above, which I can run in Windows to identify more than one webcam. This includes a java demo and jmf demo, with source, and these may help you.

  • Video Streaming with JSP and JMF.

    Hi. I have this problem. I'm projecting (not building yet) a system. In this system i have a Local Computer, a server, and a Web Page (JSP). The Local Computer is going to capture video from a WebCam with JMF. This videos is going to be passed to the server by RTP Control. A Web Page (JSP) is gonna acess the server to get this video and show it (Real Time Streaming).
    My doubt is, how I can do that on JSP ? How i can get the video from server (remebering that this one is getting the video from the local computer) and show it in my page ?

    no one ????

  • Fedora 10 and JMF

    Hi All,
    Does Fedora 10 and JMF combination work smoothly?. Which other Linux variants work smoothly with JMF apart from Red Hat Linux .

    every linux distro i've installed, gets those errors.rh,suse,debian.
    If you do not have a video capture device, you will get those errors.
    Are you having framerate issues with webcam or video file??
    If it is the webcam, it has nothing to do with your ati video drivers.
    The slow frame rate from web cam would be your webcam drivers.
    If it is video file frame rate, make sure you have codecs supported in jmf for that type of video.

  • Internal Webcam and Microphone not working after Screen Fix

    I own a HP Envy Spectre XT Ultrabook, and last week I tried to use the webcam and the microphone for the first time in a few months.
    However I was shocked to find that Skype kept saying that the webcam was not detected. The microphone also could not register any sound.
    Device Manager did not show any imaging devices or the webcamera, even after setting it to view non-present devices.
    A check using msinfo32 did not review the webcamera either, and there were no problem devices.
    Control Panel >> Sound showed that the Internal Microphone using IDT High Definition Audio Codec was enabled and working, however it could not detect any sound. All drivers are checked to be up-to-date.
    I suspect this has something to do with the screen repair last month which a HP on-site technician came down to replace my screen, although I cannot be 100% sure. Although the screen is now working, the technician did not do a good job reassembling the screen - the bottom left corner of the screen cover has not be able to attach properly to the screen. 
    I have gone through my BIOS setup to make sure that there is no webcam disabled.
    I have tried rolling-back and reinstalling the drivers for the microphone but it did not work.
    I have tried uninstalling CyberLink YouCam (laptop preinstalled webcam software).
    Please help, these two components are very important to me as I am going overseas soon. The laptop is still under warranty.

    Hey ajun,
    Thank you very much for the information!
    For troubleshooting your Webcam, I would suggest taking a look at the document Webcam Troubleshooting (Windows 7). I would suggest the two options Video does not appear in your webcam software (such as YouCam, Skype, Messenger, ect.), and Webcam is not listed in Device Manager.
    For your internal microphone not working either, please take a look at the document Resolving Microphone and Line-in Problems (Windows 7). From this document, I would suggest following the top two symptoms.
    Please let me know the outcome of these troubleshooting steps.
    Good luck, and have a great day!
    I worked on behalf of HP

  • How do i use my webcam and photo on my dktp4/500

    is there a cd or owners manul for my dktp hp 4/500, and if so where my i get it. i need to know how to use my webcam, and photos to put them on my comp.

    If you want to connect and use an iPod on more than one computer you need to change the update preference in the iPod Summary tab to "Manually manage music and videos" and click Apply. In this mode you just drag and drop whatever you want to the iPod from either library. You can also access and play the songs on the iPod through the computer in manual mode so you don't need to have the songs physically on both machines (Note: iPod shuffles are only designed to be used with a single library or computer):
    Using iPod with Multiple computers
    Managing content manually on iPod
    iPod 101: Fill 'er Up
    Note: When changing from automatic to manual, check the "manually manage music and videos" box in Summary then press the Apply button. "Don't" uncheck Sync Music in the Music tab, it will be unchecked by default when you choose the manual setting, if you uncheck it without setting the iPod to manual first you'll erase all the songs from your iPod
    Something else to be aware of when using an iPod in manual mode is that the "Do Not Disconnect" message will remain on the display until you physically eject the device. In that case use Safely Remove Hardware icon in the Windows system tray on your desktop or check this link: Safely Disconnect IPod

  • WebCAM and Fn+F5 or F6 does not work on T430 running Windows 8.1

    I recently updated to Windows 8.1. I did not check the functionality of the Fn+F5 or F6 button back then. But I did run Skype two days ago with my webcam and that worked.
    Then I ran windows and Lenovo system Update and updated all drivers except the Lenove Fingerprint, SHAREIT and the latest BIOS which are marked optional.
    Now, no application can access my camera and the Fn+F6 does nothing.
    I did go into the Windows privacy settings. Here Skype is on. there is no way to add apps, so e.g. I cannot add Teamviewer program or the Camera app.
    I tried settings under Skype, but checking the webcam just makes Skype become unresponsive with a running circle. Same thing happens runnning Irfanview and trying to aquire a picture thought the webca,
    I tried the Lenovo PC-Settings app. From the screenshots I think it is the old one I am getting. I can choose btw. Pointer,Wireless Power and location. Nothing about the webcam.
    I tried stating it via the Lenovo Companion.  Same problem.
    In the process overview (Procexp from MS) I see Cammute.exe used by  numerous processes
    So, what can I do now to get them back?

    I can't reproduce your issue. Definitely that CPU hanging is abnormal. I'd assume the cause is driver but you reinstalled that one. Perhaps some driver is located in the stack unproperly as there are too may components - system drivers, Lenovo PM driver, dependency settings, camera driver and settings, metro app... Also there is USB Composite controller the camera is attached to.
    The only solution I see is ... delete everything I've mentioned above and reinstall them again using TVSU. Then install metro app.
    Also in order to check USB driver influence I'd delete that driver too (delete USB composite controller in Device Manager). Reboot the system, Windows will find new component and install its driver. Do it before installation other components using TVSU.
    Also try to connect USB devices (flash drives as an example) to every USB port and look at their behaviour.
    x220 | i5-2520m | Intel ssd 320 series | Gobi 2000 3G GPS | WiFi
    x220 | i5-2520m | hdd 320 | Intel msata ssd 310 series | 3G GPS | WiFi
    Do it well, worse becomes itself
    Русскоязычное Сообщество   English Community   Deutsche Community   Comunidad en Español

  • How do I record a video on my macBook Pro's webcam and upload it to YouTube?

    How do I record a video on my macBook Pro's webcam and upload it to YouTube?
    Many thanks.

    Your posted info shows you are using Mac OS X (10.5.8). With this Mac OS, you can use iMovie, Photo Booth, or optional QuickTime 7 Pro to record and save a QuickTime video.  (Be sure to save in a YouTube Supported file format.)
    Then follow the YouTube Help instructions for How to upload your saved videos.
    Message was edited by: EZ Jim
    Mac OSX 10.8.4

  • Help required with JSP and JMF

    Hi
    Please check the following thread and let me know if JSP and JMF can be combined together
    http://forum.java.sun.com/thread.jspa?threadID=5161428&tstart=0
    ~Aman

    take a look at the Java Upload bean and it's examples
    http://www.javazoom.net/jzservlets/uploadbean/uploadbean.html

  • Webcam and bluetooth not working in my G570 on Win7 ultimate

    Webcam and bluetooth not working in my G570 on Win7 ultimate.Reinstalled the drivers.No avail.Web cam icon is not visible anywhere in the system.Only proof i have is there is a cam looking at me on the lid on top.Tried Fn+esc .did not work.Please help.......

    hey Nambiar,
    uninstall both webcam and bluetooth drivers from device manager. let windows install its generic drivers.
    once done, see if you're able to use it.
    WW Social Media
    Important Note: If you need help, post your question in the forum, and include your system type, model number and OS. Do not post your serial number.
    Did someone help you today? Press the star on the left to thank them with a Kudo!
    If you find a post helpful and it answers your question, please mark it as an "Accepted Solution"!
    Follow @LenovoForums on Twitter!
    Have you checked out the Community Knowledgebase yet?!
    How to send a private message? --> Check out this article.

  • I want to connect a logitech webcam and make it my default cam

    i want to connect a logitech webcam and make it my default cam

    Hello
    Page 91 of the English PDF User's Guide we may read:
    +• To paste a copy of a formula in a different cell and use the same cell references in both+
    +formulas, place a dollar sign ($) in front of column and row identifiers (=$A$1). This+
    +technique creates what’s called an absolute cell reference.+
    +For example, if the formula =A1 appears in cell D1 and you want to paste a copy of the+
    +formula in cell E1, change the formula to =$A$1, select D1, copy it, and paste the copy+
    +into E1. The formula $A$1 is copied into cell E1. If you didn’t change the formula to use+
    +an absolute cell reference the formula in E1 would be =B1.+
    This is a very old scheme and the User's guide is not complete
    We may use two other kind of cells reference:
    =$A1
    the column would be fixed but the row num would adjust
    =A$1
    the row num would be fixed but the column would adjust
    Yvan KOENIG (from FRANCE mardi 15 janvier 2008 08:52:47)

  • Uninstalling Touchsmart--will webcam and dvd player still work?

    I want to uninstall the touchsmart features on my 610 running Windows 7 Professional.  I do not use touchsmart and the touch capability causes problems--for example, my screen can be messed up, I assume by staic electricit, if a piece of paper is moved near it.
    My question is this:  Will the webcam and dvd player still work after the touchsmart programs are removed.
    Thanks to anyone who can help.

    Hi,
    You can disable it using the following methods. Others will stay and work:
      http://www.ehow.com/how_7499070_disable-hp-6001050-touchsmart-tutorial.html
    Regards.
    BH
    **Click the KUDOS thumb up on the left to say 'Thanks'**
    Make it easier for other people to find solutions by marking a Reply 'Accept as Solution' if it solves your problem.

  • Microsoft NX-6000 Webcam and Arch Linux

    I picked up one of these off ebay cause they looked pretty nice.  I love the webcam, it has a great design.  But it's turning out to be kind of a PITA to get working right.  ATM, the only piece of software I can use this camera with is luvcview (yes, it looks to be a UVC camera).  It seems alright, but it is really ... hackjobby.  There's a significany video delay, it seems to not have audio recording support, and the video quality is pretty terrible.  I've seen videos on the internet of people posting with these webcams, and the quality of the video is much higher than what I've been able to obtain.  This makes me curious if this camera is enhanced with proprietary MS code when running in Windows (I sure hope not!).
    Regardless, I've been trying the camera with different pieces of software.  Cheese always pops up for just a split second, crashes, and verboses "Segmentation Fault" at the terminal.  Ekiga can't use the webcam either, but the light on the front of it flashes a couple times when I try to.  I installed the linux-uvc-svn driver, and uvcvideo is automatically probed when I plug the camera in (as well as snd_usb_audio).  I've heard of other people having success with this camera so I'm curious if I've missed anything!

    Hmmmm ... I've been trying other things and I get a really interesting message from fswebcam ...
    [max@pwn ~]$ fswebcam | xsel -i
    --- Opening /dev/video0...
    Trying source module v4l2...
    /dev/video0 opened.
    No input was specified, using the first.
    Adjusting resolution from 384x288 to 352x288.
    --- Capturing frame...
    gd-jpeg: JPEG library reports unrecoverable error: Not a JPEG file: starts with 0x02 0x8a
    Captured frame in 0.00 seconds.
    --- Processing captured image...
    There are unsaved changes to the image.
    Not a JPEG file?

Maybe you are looking for

  • Purchase Requistion - Agent Determination using responsibilities - Issue

    Hi Everyone, I am new to workflow. I am having an issue wrt Purchase Requistion - Agent Determination using responsibilities. Created some 30 to 40 resposibilities with combination of inputs - R1, P1 & Cost Center Checked rule with responsibilities i

  • Get Rid of Duplicate Message Copies

    This is not another ' ... receiving multiple copies ...' thread; I managed to do this to myself or, more specifically, to my wife's mailbox. The 'how' part is unclear, and would probably bore everyone to tears; suffice it to say it occurred during a

  • DOWNLOADING ACROBAT READER 9

    Downloading Acrobat Reader Sharon Avisar - 02:18pm Jan 19, 2009 Pacific Good Evening, I've been tried to download "acrobat reader 9" so many times without success. In addition, I've tried few weeks ago to download this program to another computer. Pl

  • Sensors aren't working

    I don't know if this is the place for such a post,but when i run "sensors",I get the following output : No sensors found! Make sure you loaded all the kernel drivers you need. Try sensors-detect to find out which these are. and when i run sensors-det

  • Using Places on Facebook with nokia 8

    Hi, I want to be able to use 'places' on facebook on my Nokia 8.  From what I understand I need to download Opera 10.1 from the Opera website. There are a few 10.1 versions, so which do I use. Also, do i then need to download google maps?