redirecting web cam input to a JFrame

Posted on 2010-11-11
Last Modified: 2012-08-13
I am trying to redirect my web cam input to my JFrame.

I know this will be done some how using JMF, but not able to do that.

I will be so grateful if someone can give the code snippet for that or may be step by step procedure to attain the required.

Thanks !
Question by:hipal
  • 4
  • 2

Expert Comment

ID: 34118359
to access the camera you will need to use the AviCap or Direct X library in windows. Web Camera gives you an array of images, each image is known as "frame". By displaying multiple frames in a window at the right frequency will give you smooth video display
LVL 86

Expert Comment

ID: 34118695
That would depend on how your cam supplies its output. Frequently there is already a java interface of some kind. What cam is it?

Author Comment

ID: 34120101
I am using IBM Thinkpad t400s inbuilt cam ..

and thanks for reply CEHJ
Gigs: Get Your Project Delivered by an Expert

Select from freelancers specializing in everything from database administration to programming, who have proven themselves as experts in their field. Hire the best, collaborate easily, pay securely and get projects done right.

LVL 86

Expert Comment

ID: 34120286
Are you using Windows?
LVL 86

Accepted Solution

CEHJ earned 500 total points
ID: 34120346 could be something worth starting with - you might have to start from the position of native code

Author Comment

ID: 34120743
yes I am using Windows 7
LVL 86

Expert Comment

ID: 34130528

Featured Post

Announcing the Most Valuable Experts of 2016

MVEs are more concerned with the satisfaction of those they help than with the considerable points they can earn. They are the types of people you feel privileged to call colleagues. Join us in honoring this amazing group of Experts.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

Title # Comments Views Activity
How to get all the API from website? 11 82
Full Screen problem when auto scale IFRAME 2 79
servlet example issue 6 38 and sql server 4 33
Introduction This article is the last of three articles that explain why and how the Experts Exchange QA Team does test automation for our web site. This article covers our test design approach and then goes through a simple test case example, how …
This is an explanation of a simple data model to help parse a JSON feed
Viewers learn about the “for” loop and how it works in Java. By comparing it to the while loop learned before, viewers can make the transition easily. You will learn about the formatting of the for loop as we write a program that prints even numbers…
Viewers will learn about the regular for loop in Java and how to use it. Definition: Break the for loop down into 3 parts: Syntax when using for loops: Example using a for loop:

813 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

9 Experts available now in Live!

Get 1:1 Help Now