We closed this forum 18 June 2010. It has served us well since 2005 as the ALPHA forum did before it from 2002 to 2005. New discussions are ongoing at the new URL http://forum.processing.org. You'll need to sign up and get a new user account. We're sorry about that inconvenience, but we think it's better in the long run. The content on this forum will remain online.
Page Index Toggle Pages: 1
MovieMaker runtime exception (Read 1949 times)
MovieMaker runtime exception
May 1st, 2010, 2:57am
 
Hi

I tried creating a movie using MovieMaker as outlined in the ref doc:

MovieMaker mm = new MovieMaker(this, width, height, "drawing.mov",this.getFrameRate(), MovieMaker.H263, MovieMaker.HIGH);

inside my Java program.

I have the relevant import:

import processing.video.MovieMaker;

and added the Processing video .jar to my libraries folder.

When I try and run the program I get:

Exception in thread "main" java.lang.NoClassDefFoundError: quicktime/QTException
       at mechanics.rbody.TriangleSample.<init>(TriangleSample.java:114)
       at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
//...further stacktrace o/p

I'm using Windows7, 64bit, Netbeans6.8.

Thanks for any help.
Re: MovieMaker runtime exception
Reply #1 - May 1st, 2010, 7:27am
 
Last info you didn't mentioned: have you installed QuickTime?
Re: MovieMaker runtime exception
Reply #2 - May 2nd, 2010, 3:17am
 
Hi

Thanks for your reply.

I didn't have QuickTime installed so I installed the latest for Win7, restarted my laptop and get the same runtime exception.

There must be some runtime Quicktime .jar file(s) that are required to generate the .mov file and assumed these would be part of the Procesing MoveMaker .jar.

Graham

PS. I found:

http://processing.org/reference/libraries/video/

but doesn't seem to offer any advice.
Re: MovieMaker runtime exception
Reply #3 - May 3rd, 2010, 2:24am
 
Looking inside the source of MovieMaker.java:

...\processing-1.0.9\libraries\video\src\processing\video

we have:

package processing.video;

import java.io.File;

import quicktime.Errors;
import quicktime.QTException;
//...etc

but where is the accompanying QuickTime jar file?

Graham
Page Index Toggle Pages: 1