PDA

View Full Version : Camera vs Java JMF ?



dom_beau
October 1, 2009, 04:12:21
Hello!

Since I don't have my camera yet, I have a question about the driver and its possible interfaceability with Java JMF (Java Media Framework). Maybe it is a trivial question but I have no idea about the answer.

For an application, using Java and JMF would be much easier to me than using C/C++. It is written that the driver is DirectX compatible. I know that I can connect a webcam to Java/JMF (I have an old Logitech Quick Pro 3000). Will it be possible to do the same with the ImagingSource DFK cameras?

Maybe I ask the wrong question? I don't know... Someone has some experience with Java (and JMF)? :question:

Thanks in advance for your answers!

Dominique

Stefan Geissler
October 1, 2009, 09:52:31
Dominique

I never worked with JMF, but if it supports DirectShow drivers, then you can access any camera, that comes with a WDM DirectShow driver.

Since I never worked with JMF, I have no sample source code for you. I am very sorry for this.

dom_beau
October 1, 2009, 19:04:40
Well, in Java/JMF docs it is written that it supports most webcam with a VFW driver. VFW stands for "Video For Windows"... If you refer to Wikipedia (http://en.wikipedia.org/wiki/Video_for_Windows) it seems that theses drivers are part of DirectShow (DirectX?) since 1997.

Maybe I'm answering myself my own question :silly: ...

Thanks anyway and if someone has some experience with Java (and the IS cameras), I'll appreciate to know about it!

Dominique

Stefan Geissler
October 2, 2009, 10:01:42
The Video for Windows interface is a little bit outdated since many years and was replaced by DirectShow. The problem of Video for Windows ism that it can not handle Y800 video format.
But there must be a DirectShow extension for JMF. For example look here: http://www.ohloh.net/p/jmds
I guess, it is not the only source, so you may search in the internet for "JMF DirectShow".

dom_beau
October 5, 2009, 04:09:26
I found DirectShow Java Wrapper (dsj, http://www.humatic.de/htools/dsj.htm) that seems to be very interresting. :good:

I'll try it and tell you if it worths the download.

THanks!

Dominique