Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Chriss Miller on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Can't initialize capture device

Status
Not open for further replies.

samiara

Programmer
Joined
Dec 8, 2002
Messages
1
Location
CH
hy,
I am not able to capture any video from my webcam (Logitech USB Camera). I am working with Linux Red Hat 8, so maybe it's a Linux issue (I got the Linux-version jmf-2.1.1). Anyway, when I try to create a player or processor I get a NoPlayerException, but my webcam is found when i call Vector devices = CaptureDeviceManager.getDeviceList(new RGBFormat()) and I am able to locate the camera with MediaLocator loc = device.getLocator()(Media Location is v4l://0 in case it matters). But when I try to create a player I first get an IOException: Couldn't initialize capture device and a NoPlayerException.
JMStudio is able to initialize the capture device but I just get a black screen. But I can take snapshot images without a problem.
please help me...
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top