Video (Webcams) in java

I'm trying to build a cross platform 'video recorder'. Using a webcam or video capture deviCAn anyone tell me if there is a wace in java. I would usually use 'video for windows' but for obvious reasons i can't. can anyone tell me how this could be done in java

Hi,
You can try a package named: JTwain, which is available at http://asprise.com/product/jtwain.
JTwain supports all kinds of digital cameras and scanners. You can use Java to access, contorl digital cameras and scanners, and of course, to acquire images with flexible settings.
The developers' guide is available @ http://asprise.com/product/jtwain/devGuide.php
In the simplest case, one line of Java code can solve your problem.
Good luck!

Similar Messages

  • How to use 2 webcam for java at the same time?

    hi there,
    I have a question to ask regarding webcam and java. Basically i want to know whether is it possible to have 2 web cam running in java at the same time? I have no problem when running one usb webcam since i m using "
    ml = new MediaLocator("vfw://0") ;
    what parameter must i use to specify when using 2 web cam
    many thanks
    sun

    Hi
    I am making a project in which i have to capture a image through webcam. How can I do it will you please guide me or if can provide me code. Many thanks for your support. My email id is [email protected]

  • Compressing video files via Java ?

    Hi All,
    Is there any well know API/library for compressing video files like (*.flv, *.mkv , *.avi ) etc via java.
    Google just gave me a few but if some has used/recommend some that would be great.
    thx

    RainaV wrote:
    Is there any well know API/library for compressing video files like (*.flv, *.mkv , *.avi ) etc via java.First off, there is a difference between a file format and a video compression. All of those things you listed above are file formats, and have nothing to do with compression...
    Not sure if FLV files support multiple kinds of compression, but AVIs do. You can have anything from an uncompressed RGB-encoded AVI all the way to a DIV-X encoded AVI.
    But to answer your actual question, no. Java is extraordinarily bad at video compression (because Java doesn't support any sort of hardware acceleration), so the best you're going to find in Java is a Java wrapper for some native encoding library... an example of such a thing would be JMF (which doesn't support FLV or MKV files) or FMJ (which I think supports damned near everything as it wraps around FFMPEG).

  • Video Conferencing using java

    hi,
    i am developing video conferencing project using JMF.
    and using AVReceive2 and AVTransmit2.
    i am able to send and receive audio and video between two pc's where one transmits and one receives.
    but how to use AVReceive2 and AVTransmit2 for more than two pc's when any one doesnot have information that other user is transmitting.
    What i mean is that when one user wants to connect to another user then how can second (receiver) know that someone is sending him data.
    Basically when to run the AVReceive2 program on second PC..

    hello anyonebaris,
    Am currently working wid this topic of audio video conferencing using java.....N i wud be glad if u wud try helping me out....
    I wanted to find out the actual function the server performs while the audio video transmission is going on in a JMF based platform ...Am using java 1.5 ...n JMF 1.2.1...
    Is the server monitoring the clients and how..??..what function is it performing while establishing the link between the two clients...??
    .....................Plz try 2 help me out....
    ---------Thanx in advance

  • Video lessons about java

    Hi,
    have someone ever seen video lessons about java?
    Can you give me links of video resource ?
    Thanks in advance!

    http://video.google.com/videosearch?q=java&page=1&lv=0&so=0

  • How to turn on video webcam?

    How do I turn on the video webcam on skype? 

    Can you see your camera video feed under "Tools" - "Options" - "Video Settings"? If Skype does not detect  your camera, then you will not be able to use it.  If you are using a processor that is not fully Pentium 4 compatible (like AMD socket/slot A processors), your video will not be detected in Skype though it may work elsewhere. 

  • How to make vertical flip of video webcam.

    Hi all.
    I am using logitech webcam, i can show video and take piture well.
    Now i want to make vertical flip of video.
    They can do it ? If you have any experience, please help me.
    Thanks.
    Diego

    Well, I really see 2 avenues you can go down...
    The "proper" way to do it would be to create a custom "effect" that would flip the video frames inside the processor. You'd want to base this off the following example code:
    [http://java.sun.com/javase/technologies/desktop/media/jmf/2.1.1/solutions/RotationEffect.html]
    The "easy" way to do it would be to render the graphics yourself. You would just essentially need to create a class that implements the "VideoRender" interface (probably extending a JPanel implementing VideoRenderer), and use the BufferToImage class inside the "process" function to convert the inputted buffer object into a BufferedImage, which you would then render to the JPanel upside down... This probably sounds more complicated than it is, however... Process gives you a frame as a buffer, you use a utility to convert the buffer to an image, and then you draw the image to the screen. Quite a simple procedure, really...
    [http://java.sun.com/javase/technologies/desktop/media/jmf/2.1.1/apidocs/javax/media/renderer/VideoRenderer.html]

  • Eternal Pidgin video webcam error.

    (19:14:53) Error with your webcam
    (19:14:54) Conference error
    (19:14:54) The call has been terminated.
    I thought this error was related with my old webcam (that camera had problems with several software) but I have now a new Microsoft camera (VX-800) that works in almost all apps, is detected by Skype and Flash inmediately but that pidgin error is the same. It is important to say I'm using ArchLinux with XFCE4.
    I've installed gnome-media, farsight2, enable "Voice/Video settings plugin", setted gstreamer-properties.
    Does anybody knows something?
    Thank you.
    Last edited by ffuentes (2011-06-20 01:13:17)

    Hmmm...that looks like Java issue... have you tired different web browser? Like firefox or chrome... I would suggest reinstalling java and checking as well from...http://www.java.com/en/
    Although I am an HP employee, I am speaking for myself and not for HP.
    Make it easier for other people to find solutions, by marking my answer with 'Accept as Solution', if it solves your problem.
    Click on the BLUE KUDOS button on the left to say "Thanks"

  • How to download video files using java

    hi,
    i am designing a download manager using java. Although i am able to download html pages and images as of now, i am facing problems while downloading the video files. Can somebody please guide me as to how to do this.
    Thanks in advance,
    Arun

    All types of data should be downloaded in same way. What is your problem: exception or something else? Post here.

  • How to audio and video Broadcasting in Java using Java Media Framework

    Hi to all members of this forum
    well these days i m working on my final year project in this i have to implement audio video broadcasting over the network so if any one of u have done it can any one kindly help me out n let me know how i can implement it m email is [email protected] do reply me

    Discussion is here:
    http://forum.java.sun.com/thread.jspa?threadID=731363

  • Early 2008 mac pro 8 core quicktime videos opening in java script code

    When I try to view a quicktime video it opens in Java Script Code instead of playing the video on my early 2008 Dual Quad Core 2.8 Ghz. Mac Pro running OSX 10.5.8 

    That's not much to go on, but I doubt it has anything to do with it being a Mac Pro. Select the clip and Get Info (Cmd I) to see what application is named in the "Open with" drop down menu. If it is anything other than QuickTime player, change it and try again.  Also, repair your permissions...

  • How to get started with playing a video file using Java on JSF page ?

    Hi ,
    I am developing a JSF (Java Server Faces) page.
    I need to develop following functionalities
    1). play video file on web page
    2). Let the user load video file into the system from a web page and that can stored in a database .
    Please guide me on how to do the above or where to get started .
    Thanks,

    hello brother
    I am also doing work on it.....but don't reach at any result plz help me if you have something
    [email protected]

  • Opening a webcam using java

    Hi all,
    can anybody give me a sample java code for opening a webcam of my system.Thank you

    My code is:
    import javax.media.Manager;
    import javax.media.MediaLocator;
    import javax.media.Player;
    public class TestJMF {
         * @param args
         public static void main(String[] args) {
              // TODO Auto-generated method stub
              try{
              MediaLocator ml = new MediaLocator("vfw://0");
              Player p = Manager.createRealizedPlayer(ml);
              p.start();
              }catch(Exception e){
                   e.printStackTrace();
    I also tried your first link.
    That code is not even compiling.
    the line
    ds = Manager.createDataSource(new MediaLocator("vfw://0"));
    is showing exception( Type mismatch: cannot convert from DataSource to DataSource)
    One more thing i am compiling in eclipse.Will it cause any problem in viewing the webcam?

  • HD Video Webcam for mac?

    Hey!
    I am looking for a quality HD or even FULL HD webcam that captures smooth video on my MacBook pro. This cam is used to do some video recording of my dj sessions for friends and colleagues. Sound is taken from a high end sound interface (Apogee Duet).
    Looks like this:
    http://titanic.kolourrecordings.com/...09VideoMix.ram
    http://www.youtube.com/watch?v=rQSp7XsYLfA
    http://www.youtube.com/watch?v=1pjShLiHMWs
    I was told that Logitech webcams like the full HD C910 cannot work together with my Mac OS X (driver not exist). Is that right?
    What other choice do I have to record better quality HD movie via webcam?
    Thanks!
    bye
    Zen5656

    Logitech webcams work just fine on the Mac, though some of the included "special effects" software is Windows-only. We have two in operation at our house and they were completely "plug and play" for Skype, Photobooth and iChat programs.
    See a recent review of the C910 at the iLounge website (www.ilounge.com) earlier this week. They were impressed by the video quality.
    KWO

  • Video Tutorials for java beginners

    Hi there! My name is Donato and I'm developing some video tutorials addressed to those people who would like to learn a bit of Java but don't feel like reading endless books.
    They will cover easy topics and will show everything step by step.
    I'd like to know if someone is interested in supporting and helping me. Here's an example of the first of this flash tutorials:
    http://scorpio2002.altervista.org/Java/java_1.zip
    What do you think?
    Ciao,
    Donato
    Italy

    you learn to do it by writing code.I don't remember having stated that you learn a
    language in a way other than writing code.
    I said in the video that the only way to learn a
    programming language is to write a lot of code...
    You don't learn to program by watching videos; At this rate, one could say "You don't learn to
    program by reading books" :-)
    A video is just a different way of getting started.
    Some people are just scared by programming and need a
    soft way to get involved.
    Serious people will be reading those endlessbooks
    After you got involved, you'll get thousands of books
    and you'll go into the "guts" of the language.
    Personally I like books... but I don't see why - if
    you get started with some videos and then, if you're
    still interested, you pass to books - you're not
    serious. Can you just explain me what the difference
    is?
    The "endless" books are usually about advancedtopics, not the introductory stuff that a video
    covers.
    You're right. :D And I don't remember saying
    something different.
    Sorry, I don't think it's a great idea.I thank you anyway. I posted this topic just to see
    if there was someone interested. :-)
    And these videos are not meant for experienced
    developers like you. This video are to be made BY
    experienced developers like you... :D Maybe there has
    been a missunderstanding, sorry, but my English is
    not that well... :(So what do you care what we think? Make them, market them, and let the marketplace decide how good your idea is. If they sell, you're right. Your balance sheet will be the best scorecard there is.
    %

Maybe you are looking for

  • Public web page problems

    Is there any particular reason the footer won´t show up on ipads but shows perfectly in every other media?  even after deleting all css the problem persists.

  • Electronic Belgian VAT declaration

    Hello, In Belgium, while using electronic VAT declaration (S_ALR_87012357 or RFUMSV00), how is it possible to re-run or to generate more than one declaration. It's possible while using the "paper" declaration but I don't know with the electronic . Th

  • Verify if the sessision data of MapViewer app is stored in Coherence caches

    I have successfully combined the MapViewer application with WebLogic and Oracle Coherence*Web. How to verify whether the session data of MapViewer application is kept in the Coherence caches or not? All out put show that both of MapViewer and WebLogi

  • JDBC & Applets(urgent)

    Hi, On my pc i have installed only JDK 1.1.6. Do i need to install some more plugins for my JDBC connection to work on my applet?Do i need to have the SDK? Please reply

  • Help problem importing image

    i have imported an image using actionscript using urlrequest heres ,my problem i have set its x and y bu the image is to big, i want to resize it, i have tried the height and widt but it doesnt work what other can i use? tnx!