Guy:
 
Thank you for your prompt response.  The error message I obtained after adding the code snippet is as following:
 
url = "">
javax.media.NoProcessorException: Cannot find a Processor for: c:/texture/images/dartsmovie.mov
 at javax.media.Manager.createProcessorForContent(Manager.java:1663)
 at javax.media.Manager.createProcessor(Manager.java:627)
 at demojmfj3d.DemoJMFJ3D.open(DemoJMFJ3D.java:108)
 at demojmfj3d.DemoJMFJ3D.main(DemoJMFJ3D.java:77)
failed to create a processor for movie c:/texture/images/dartsmovie.mov
javax.media.NoProcessorException: Cannot find a Processor for: c:/texture/images/dartsmovie.mov
java DemoJMFJ3D [-m <url-of-the-movie>]
e.g. java DemoJMFJ3D -m file:/home/hsy/media/video/cinepak/gun1.mov
I am extremely grateful to your kind help.  Thank you!
 
G.B. Liu
 
 
 
----- Original Message ----- snippet
To: GB Liu
Sent: Friday, February 21, 2003 2:42 PM
Subject: Re: [JAVA3D] DemoJMFJ3D: problem in running

You might get more detailed information if you
print out the exception that is thrown.  The problem is likely
to be either that the file could not be found, or that the format
is not supported.  Looks like maybe a quicktime movie?

Anyway, try something like this:

catch (Exception ex)
{
     System.out.println("failed to create a processor for movie " + ml);
     System.out.println(ex.toString());
     ex.printStackTrace();
     printUsage();
     return false;
}

At 02:25 PM 21/02/2003 +1000, you wrote:
Hi Friends:
 
Thank you for telling me where to get the JMF classes.  When I run the DemoJMF3D from JBuilder6, I got the following errors:
 
failed to create a processor for movie c:/texture/images/dartsmovie.mov
 
This problem sounds happened in the following codes:
 
    public boolean open(MediaLocator ml)
{
 try
    {
       p = Manager.createProcessor(ml);
     }
catch (Exception ex)
{
     System.out.println("failed to create a processor for movie " + ml);
     printUsuage();
     return false;
}
 
But I do not know how to fix it.  Could anyone please tell me how to do?
 
Thank you!
 
GB Liu
 


Reply via email to