Re: JMF - Vista

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
2 messages Options
Reply | Threaded
Open this post in threaded view
|

Re: JMF - Vista

Peter Stierlen
Dear list,

I found a fix for my Vista/JMF problem.

In my first tests I used a MS Lifecam NX6000 which worked on XP without any
trouble. As discribed in many other lists the drivers for the MS Lifecams
are still not really Vista-compatible. Vista-ready ... Good joke MS.

Step 1
New Logitech Quickcam Pro 9000

Step 2
I changed the code as shown at the end of this post. I think that there are
some problems with "CaptureDeviceManager.getDeviceList" in Vista. I don't
know why it works now, but maybe one of the experts here can give an
explanation for that.

The resolution is limited to 640x480 but this should not be a problem for my
scanner application. All the buffered images of a scan job must copied in an
single stack for the following scanline sklettonization by spacetime
analysis. A scan can include  200 or more images. Higher resolutions will
lead to memory problems.
But on the other hand .. if someone has an idea how to get higher
resolutions via the JMF pipe ...please let us know. Any ideas if dsj wrapper
could be a solution for that (http://www.humatic.de/htools/dsj.htm)

The next step will be the implementation of the USB stepper driver board USI
-2 into my application. I hope that this will be less strange.

cheers

Peter

>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>

else if (source == preView)
{
n=0;
  if (preView.isSelected())
        {
        JWindow jf=new JWindow();
        JWindow mask=new JWindow();

        String mediaFile =  "vfw:Microsoft WDM Image Capture (Win32):0";          
               
        try {
           MediaLocator mlr = new MediaLocator( mediaFile );
 
           p = Manager.createRealizedPlayer( mlr );
           FormatControl fc =
FormatControl)p.getControl("javax.media.control.FormatControl");
           Format[] formats = fc.getSupportedFormats();
           fc.setFormat(formats[4]);


        } catch (Exception e) {
                IJ.write("Failed to create a player from the given DataSource:\n \n" +
e.getMessage());
                return;
        }

no changes for the rest of code
Reply | Threaded
Open this post in threaded view
|

Microsoft Windows XP and Service Pack 2

Jacqueline Ross
Dear All,

First of all, I would like to apologise for asking a question that is
unrelated to ImageJ.

However, I know that amongst this group of subscribers, there is a vast
array of expertise in imaging, cameras, etc. so I'm hoping that someone
can help me with an acquisition problem.

We have a Nikon microscope, Prior stage and Nikon camera running through
2 programs (Image Pro Plus and EclipseNet).

However, we are having a lot of problems recently with controlling these
devices no matter which program we use.

I know there have been issues with XP/SP2 and we have installed one
patch to try to solve this but it keeps getting worse.

We often get a "Server Busy" message and sometimes Windows errors. I
have looked in Google but there is a myriad of information there with
regard to this and I'm having trouble sifting through it.

Has anyone else experienced this with other imaging systems and if so do
you have a solution? I would be happy to discuss this off-list to avoid
bothering others.

Kind regards,

Jacqui

Jacqueline Ross
Biomedical Imaging Research Unit
School of Medical Sciences
Faculty of Medical & Health Sciences
The University of Auckland
Private Bag 92019
Auckland, NEW ZEALAND

Tel: 64 9 373 7599 Ext 87438
Fax: 64 9 373 7484

http://www.health.auckland.ac.nz/biru/