File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
The moose likes Swing / AWT / SWT and the fly likes Access a webcam?? Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Java » Swing / AWT / SWT
Bookmark "Access a webcam??" Watch "Access a webcam??" New topic

Access a webcam??

netharam ram
Ranch Hand

Joined: Aug 09, 2001
Posts: 202
Is there anyway to access a webcam & display the video captures as live video, using java?Please reply me whether it could be done without any device drivers written.
Happy middling with java.
Nathan Pruett

Joined: Oct 18, 2000
Posts: 4121

Here's an example of some code that does something like this on Sun's website. For video I would assume that you would use the Java Media Framework.


Write once, run anywhere, because there's nowhere to hide! - /. A.C.
I agree. Here's the link:
subject: Access a webcam??
It's not a secret anymore!