JMF Video Capture, output not properly

hello,
i'm trying to capture Video using JMStudio. my webcam is Logitech QuickCam IM, and it's detected succesfully by jmregistry. but then when i run jmstudio and start video capturing from logitech webcam, the output is only black and green, and beeping.
i don't know if anyone has ever experienced this before. what should i do to make it work?
Thank you.

Sorry, that last post was misposted. It was supposed to go on a thread where the OP did resolve his problem. Sorry about that!
If your web cam isn't V4L compliant and only supports V4L2, then it won't work with JMF. Also, if you're using the cross-platform pack instead of the Solaris performance pack, it won't work with JMF.
Finally, if you're running it as a user with insufficent permissions to access the hardware, it won't work (try running as root just to check this).

Similar Messages

  • JMF Video Capture in Vista

    Hey all,
    I have done a lot of searching on this matter, but most of the threads are old. I am wondering if there has been any updates or if this issue has been solved in any way.
    I am trying to create an applet that captures an image from a webcam. I created the applet, using sample code found somewhere on these forums, and it works perfectly. I modified it to take 6 screenshots instead of 1 when the Capture button is pressed, and that works perfectly. However, when I developed this I was at work (Windows XP). When I got home and attempted to test my work further I got the following error:
    java.lang.RuntimeException: No permission to capture from applets
    java.lang.RuntimeException: No permission to capture from applets
    javax.media.NoPlayerException: Error instantiating class: com.sun.media.protocol.vfw.DataSource : java.lang.RuntimeException: No permission to capture from applets
         at javax.media.Manager.createPlayerForContent(Manager.java:1362)
         at javax.media.Manager.createPlayer(Manager.java:417)
         at javax.media.Manager.createRealizedPlayer(Manager.java:553)
         at lib.snapshot.applet.Snapshot.init(Snapshot.java:68)
         at sun.plugin2.applet.Plugin2Manager$AppletExecutionRunnable.run(Unknown Source)
         at java.lang.Thread.run(Unknown Source)I read, through these forums and searching google, that IE is in a sandbox in Vista, which makes signed applets only able to access java related data and certain temporary directories, rather than the whole system like other OS's. However, we have other signed applets that create directories in Program Files folders, download files from the server, etc that work fine in Vista, so that makes no sense. Also, I have disabled Protected Mode on my my machine and turned all security measures off, to no affect. Also the same thing happens in Firefox.
    Has anyone found a way around this for Vista? Does anyone know of another easy to use java API for doing this that works in both Vista and XP? Has anyone who has encountered this problem ended up developing something similar in another language (flash, etc)?
    I require this applet for taking snapshots for a project for my job. I had preferred Java, because our other applets are all Java and I didn't want to mix techonologies too much. But if there is no way to do this in a stable way for both Vista and XP, then I will have to look at other languages.
    Thanks for the help.
    Bryan

    compbry, the fundamental problem is that Vista is 3 years old and the latest releast of JMF is like, 5 or 6 years old. So, there's nothing in the realm of "Vista compatibility" for JMF.
    That said, to my knowledge no one has ever gotten JMF to capture video from inside an applet in Vista, JMF installed on the computer or not.
    However, if you have JMF installed, you can easily run a JMF web-start app that will work just fine in Vista, that would allow you to do whatever it is you're needing to do.
    But if you're going in a different direction, I'd suggest looking at the Adobe Flex API. It's free and from what I've researched about it, it makes webcam and microphone capture damn easy. If you've got a decent web server that will allow you to do ColdFusion or (can't remember the term for it, but you can write Java code that will run on-demand on the web host that your Flex application can talk to to do stuff like upload the images, etc...), it should be a relatively easy and short as far as LOC is concerned, minus of course the learning curve associated with learning something new (which is why I've only researched it, but I would've played with it too had I had a "decent webserver" ;-)

  • PC video capture card - Not Applicable?

    When I was a Comcast analog customer, I purchased a Hauppauge WinTV-HVR-1600 video capture card. The unit worked great converting my Media Center PC back into a DVR when my original Dell equipment All-In-Wonder capture card died.
    When I was considering switching to Fios, Andrea S. at Verizon told me that there was software I could download so that my vid-cap card would work. I assume she meant that it would unscramble the signal for viewing or recording. Once Fios was installed, Andrea didn't answer my emails any more and recent inquires to Encore about any other devices (like DCT700 or something) have been fruitless.
    I hate to take no for an answer!
    Isn't there some way for my PC to record Fios video? I would think the most un-elegant solution would be to rent another STB and take the analog output to my PC but then I couldn't program channel changes, etc. There must be something out there that I'm missing.

    JoeS wrote:
    I hate to take no for an answer!
    Isn't there some way for my PC to record Fios video? I would think the most un-elegant solution would be to rent another STB and take the analog output to my PC but then I couldn't program channel changes, etc. There must be something out there that I'm missing.
    Any PC card with a QAM tuner can record the SD and HD locals (and music channels) from Verizon FiOS.  Other digital channels such as USA, TNT, SciFi, FX, ESPN, and HBO cannot be tuned because they are encrypted.
    My favorite PC QAM tuner is the HDHomerun ($160) because it has two ATSC/QAM tuners and excellent, cross-platform software support.  It works very well with Vista Media Center.  If you really want an internal solution, take a look at the Hauppauge WinTV-HVR-2250 ($120); this PCIe card has less software support, and may require the Vista Media Center TV pack.  Both of these solutions can record two different SD or HD locals from FiOS at once.  Once again, the QAM tuners in these products can only record unencrypted channels, which consist of channels 1-50 plus the HD locals and music channels.  The Hauppauge WinTV-HVR-2250 also has an s-video input to record the s-video (SD) output from a Verizon set-top box.
    If you want to record high-definition directly from the Motorola HD STB, you could buy the Hauppauge HD PVR ($200).  This is a USB device that connects to your computer; it records the HD component video output and optical audio output from another device (such as the FiOS HD STB) to your computer's hard drive.  That product was used to create this video, as well as most of the high-definition PS3 and Xbox360 gameplay videos on Youtube.  In my experience, this product can be a bit buggy, especially when recording Dolby Digital.  It is more reliable if you will settle for stereo sound.  Picture quality is better than you see in the Youtube videos -- Youtube recompresses and degrades quality -- but not quite as good the original output.
    When I want a program on my computer, I simply download the SD/HD recording from my TivoHD's hard drive.  I then edit and/or burn to DVD or Blu-ray disk.  The ability to download recordings directly from the DVR is one of the features unique to TiVo. Screenshot: 
    Message Edited by KenAF on 05-27-2009 12:01 AM
    If you are the original poster (OP) and your issue is solved, please remember to click the "Solution?" button so that others can more easily find it.

  • JMF video capture on OS X?

    Hello,
    is it possible to somehow do video capture under JMF? I use Mac OS X on Macbook Pro. I have found Quicktime for Java, but I would rather avoid using proprietary QuickTime APIs and work with portable JMF API. When I run JMF studio, I only see audio capture device.
    Juraj.

    You should take a look at the hardware requirements and supported formats for the cross platform version of JMF.
    http://java.sun.com/products/java-media/jmf/2.1.1/formats.html
    http://java.sun.com/products/java-media/jmf/2.1.1/requirements.html
    Be aware that JMF does not have its own video format, but supports proprietary formats like Quicktime.
    regards

  • Video capture device not recognized

    Media Encoder will not recognize my video capture device.  Anyone had this problem?

    Capturing is done in Premiere
    Jeff

  • JMF Video Capture: Force capture format

    Hi all!
    is there an issue to force video capture format? I know I can set the string format but could you tell me how to make this string (new YUVFormat(new Dimension(176...)...
    player = Manager.createRealizedPlayer(ml);
            player.start();
            FormatControl formatControl = (FormatControl)player.getControl ( "javax.media.control.FormatControl" );
            Format mform = new Format(/*Here the requested string*/);
            formatControl.setFormat(mform);Thanks ;)

    In fact i succeed to set format, i just want to know how to make a right sentence (String) for the Format(String) constructor, including capture resolutio, fps ....

  • Video capture does not work Java 1.5 or 1.6

    I could not run jmstudio on 1.5, but on 1.6 I could, and jmregistry says there is a device with a Locator "v4l://0" and jmstudio can display the video. Yet my old program that worked with Java 1.4 can not now capture the video any more, createDataSource(locator) in the code:
    locator = MediaLocator("v4l://0");
    source = javax.media.Manager.createDataSource(locator);
    throws NoDataSourceException, that says something about "Could not configure video device". Is the code bad? Or is there something other broken? JMFHOME is set correctly.

    Where is your jmf.properties file? Do you have the performance pack installed?
    Does JMStudio work. (if you're on linux w/ java 5.0 use: java -Dawt.toolkit=sun.awt.motif.MToolkit JMStudio)
    My bet is that you don't have jmf.properties in your current dir or the camera hasn't been added to your properties.
    Another idea:
    try this before your code:
    try {
        Class.forName("V4LAuto").newInstance();
    } catch(Exception e) {}in order to autodetect the camera.
    Peace

  • 5dmk3 video capture info not showing in LR4?

    Used to have a canon 7d, which created a .thm file that held all the capture data info for the video, but now with the 5dmk3 it seems like the thm file is embedded into the video file, but now in lightroom the capture data does not show up any longer:( very useful for me to see atleast what ISO the video file was shot with.
    Any help suggested?
    I have tried downloading directly from memory card into lightroom, an also via a card reader, and also via the EOS utility (like canon recommended) but it makes no difference.
    Jo

    Presenter Video Express (APVE) does not use the theme for the PPT output. If you embed the MP4 in a PPT slide using Presenter, then publish it out it will have the theme wrapper around the PPT content, which contains your APVE video.
    If you want to customize the theme in the APVE you can do that when editing your video in that tool.

  • Jmf video capture

    Hi iam new in jmf. The jmf alredy detected the capturing device , but not capturing video. only showing a black screen.while setting its parameters(RGB..) getting the error message "could not inetialize capturiing device". i am using windos xp.

    Interesting read on JMF on wikipedia here
    http://en.wikipedia.org/wiki/Java_Media_Framework
    The article states:
    Many JMF developers have complained that it supports few codecs and formats in modern use. Its all-Java version, for example, cannot play
    MPEG-2, MPEG-4, Windows Media, RealMedia, most QuickTime movies, Flash content newer than Flash 2, and needs a plug-in to play the
    ubiquitous MP3 format. [3] While the performance packs offer the ability to use the native platform's media library, they're only offered for Windows and
    Solaris, the latter rarely used as a desktop OS. Furthermore, Windows-based JMF developers can unwittingly think JMF provides support for more
    formats than it does, and be surprised when their application is unable to play those formats on other platforms.
    Another knock against JMF is Sun's seeming abandonment of it. The API has not been touched since 1999, and the last news item on JMF's home
    page was posted in November 2004.
    While JMF is built for extensibility, there are few such third-party extensions.
    Furthermore, editing functionality in JMF is effectively non-existent, which makes a wide range of potential applications impractical.

  • Jmf video capture in an Applet

    Hello
    I use netBeans 6.9.1 and would like to use JMF and the webcam capture JMF function in my applet
    but Iget a no permission error see below
    How can I get out of that?
    Thank you
    Fred
    Public class SourceCam extends java.applet.Applet implements Runnable {
    public int wmax,hmax,ix, x1, y1, x2, y2,y3,y4=0;
    public double yc1=0.0,yc2=0.0, yc3=0.0,yc4=0.0,yc5=0.0,yc6=0.0;
    Color colors[] = new Color[50];
    int[] couleur=new int[50];
    Thread runner;
    Frame f=new Frame("Stimulated Polarized Light @FF ");
    public static Player player = null;
    public static MediaPlayer MediaPlayer1=null;
    public CaptureDeviceInfo di = null;
    public MediaLocator ml = null;
    run:
    java.lang.RuntimeException: No permission to capture from applets
    java.lang.RuntimeException: No permission to capture from applets
    javax.media.NoPlayerException: Error instantiating class: com.sun.media.protocol.vfw.DataSource : java.lang.RuntimeException: No permission to capture from applets
    at javax.media.Manager.createPlayerForContent(Manager.java:1362)
    at javax.media.Manager.createPlayer(Manager.java:417)
    at javax.media.Manager.createRealizedPlayer(Manager.java:553)
    at org.me.light.SourceCam.init(SourceCam.java:58)
    at sun.applet.AppletPanel.run(AppletPanel.java:424)
    at java.lang.Thread.run(Thread.java:662)

    I did that already
    i.e. what is written in
    Q: Can I capture audio or video from within an Applet with JMF 2.1.1?
    By default (for security reasons), JMF 2.1.1 does not allow capture from an applet. The user can turn this on by using JMFRegistry.
    Run "java JMFRegistry", select the UserSettings tab and check "Allow Capture From Applets". If the browser's security permits loading native libraries, then you will now be able to capture audio/video from an applet.
    but the program lines
    try
    player = Manager.createRealizedPlayer(ml);
    FormatControl formatControl = (FormatControl)player.getControl("javax.media.control.FormatControl");
    Component co = formatControl.getControlComponent();
    Thread.sleep(2000);
    player.start();
    give always the same error
    java.lang.RuntimeException: No permission to capture from applets
    java.lang.RuntimeException: No permission to capture from applets
    why?
    I am working inside the netbeans 6.9.1 editor

  • Using FW800 as 'scratch' disk for SD video capture does not work?

    New iMac buyers beware - if you plan to capture video via FW400 (most SD camcorders do), you cannot capture directly to a FW800 disk. Workaround is to capture to your Mac HD first - there is no problem there.
    When my FW800 external disk is mounted and I connect my camcorder via FW400, the FW800 drive keeps unmounting/remounting and is unusable. I noticed on Profiler that iMac groups the firewire devices in the same category (for FW800 and FW400) implying the bandwidth is shared and not independent.
    I should have bought the Mac Pro.
    Any suggestions?

    Looby - yeah, I tried that - works for DV/DVCPRO NTSC (max write of 4MB/sec) but not for uncompressed 8-bit (max 21.52MB/sec) - I drop frames.
    George - Yes, using FCP. Maybe, but even without FCP launched, and my OWC 2 drive external on FW800, when I turn on my camcorder on FW400, the drives unmount/remount continuously. Hmmmm... maybe it's the OWC? See below...
    Noiseboy - Hmmm... interesting. Is your "lacie 250 triple" a single drive or multiple all in one chassis? My OWC is 2 drive RAID chassis configured as two independent drives - maybe that is the problem. I am going to try removing one drive.
    Anyone else buy a FW800/400/USB2 RAID system in hopes to increase thruput? With the OWC I get a whopping 68MB/sec RAID-0 vs. 66MB/sec non-RAID. Bummer. Those advertising people should get what they deserve!
    Thanks everyone!

  • Video capture time not present

    In LR 4 beta, I can't find the capture time of videos that I have taken. The time doesn't appear in grid view, when I hover over the image, or in the EXIF data. The videos all show, in grid view, a capture time of 12/31/1979 11:00:00 PM. Am I doing something wrong to hide this information? I know it's there someplace because when I export videos and use YYYYMMDD in the file naming template, the correct date (and time with the time templates included) is written in the file name. Thanks.
               Dilip

    I think there are two long-standing issues causing your symptoms:
    - LR doesn't read video metadata, including capture time.
    - LR behaves quite inconsistently with images and videos for which it doesn't have an explicit capture time, sometimes using the file's date-created and sometimes using date-modified:
    http://feedback.photoshop.com/photoshop_family/topics/inconsistent_dates_for_files_missing _date_time_metadata
    I suggest adding your comments and vote to that thread in the feedback forum (the feedback forum is where Adobe wants product feedback and bugs reported).

  • JMF Video Capture within Applets

    I would like to develop web conference..please helm me

    venujakku wrote:
    I would like to develop web conference..please helm meI just succesfully created a Java simple prototype application using JMF that can capture the webcam images in real time.
    Just use the JMF and your set.
    Edited by: deAppel on Oct 15, 2007 3:30 PM

  • Not able get record control while video capturing ..(urgent)

    here is my code..
    try {
    // Create a Player that captures live audio.
    Player p = Manager.createPlayer("capture://audio");
    p.realize();
    RecordControl rc = (RecordControl)p.getControl("RecordControl");
    If (rc==null)
    System.out.println("Record control has problem pls check");
    else
    ByteArrayOutputStream output = new ByteArrayOutputStream();
    rc.setRecordStream(output);
    rc.startRecord();
    p.start();
    Thread.currentThread().sleep(5000);
    rc.commit();
    p.close();
    } catch (IOException ioe) {
    } catch (MediaException me) {
    } catch (InterruptedException ie) { }
    when i execute the same code in Wtk23, iam geting an exception " Record control has problem pls check" . iam not able to get the record control for video ,here are my queries;
    1. do wtk2.3 suports recordcontrol for video .
    2. if yes, how to implement?
    3. provide me the good samples for only video capturing ..not for image capturing.
    thaks to all,
    Vishnu.k

    Solved by myself.

  • Video Capture device will not start

    P$ system runninf XP Home SP1a. The nVidia WDM video capture will not start. Any suggestions?

    Yes. I tried the MGA and the vesa driver and it still goes back to the text login and console. Funny thing is that I can do a video control and change the color of the font - but I get no joy on the graphical interface!

Maybe you are looking for

  • HT202157 Apple TV 2nd Generation

    updated my apple tv 2 gen and my rentals were erased! anyone knows what happened??

  • Named Parameters in Functions: Possible?

    I want to use named parameters to call PL/SQL functions using JDBC, as is best practice and necessary for default values to work. Unfortunatley all the examples I found are for procedures only. Using a positional registerOutParameter with named regis

  • PDF in HTML Region

    Hello, How do I take a page that consists of 100 text items and make it into a PDF report. Ideally, I would like to create several of these pages and make them into one PDF report. Thank you!

  • None of the stores seem to have a spare for the iphone USB to Lightining converter cable, why is that????

    The charger for my iphone5 is lost and I am trying to find a replacement. None of the stores have a stock of the original apple USB to lightning converter cables, most of them dont have it at all or have a third party cable from Gecko or some other b

  • PLEASE HELP DISAPPEARING DATA ON ITUNES AND MAC

    Last night i synced my mum's iphone on my laptop to update to the new OS 4.2 - It took about 40 minutes to back up then restored and reset. After this is said restore from back up .... with a list. The list didn't contain my mums backup only my previ