Hi guys!
I've been hitting my head on the walls for some hours with this error:
Trying to work with video in processing/eclipse I allways get an error that doesn't happen when in P5 IDE???
I stripped it down to the simplest application possible, tried both the video and gsvideo libs and I still get the same error.
The code is:
Code:
import processing.core.*;
import processing.video.*;
//import codeanticode.gsvideo.*;
public class GSVideoTest extends PApplet{
private static final long serialVersionUID = 1L;
Movie m;
public void setup()
{
size(640, 480, P3D);
m = new Movie(this, "station.mov");
m.loop();
}
public void movieEvent(Movie m) {
m.read();
}
public void draw()
{
image(m, 0,0);
}
}
and the error:
Exception in thread "Thread-3" java.lang.NoClassDefFoundError: quicktime/std/StdQTException
at GSVideoTest.setup(GSVideoTest.java:13)
at processing.core.PApplet.handleDisplay(PApplet.java:1390)
at processing.core.PGraphics.requestDisplay(PGraphics.java:690)
at processing.core.PApplet.run(PApplet.java:1562)
at java.lang.Thread.run(Unknown Source)
Caused by: java.lang.ClassNotFoundException: quicktime.std.StdQTException
at java.net.URLClassLoader$1.run(Unknown Source)
at java.security.AccessController.doPrivileged(Native Method)
at java.net.URLClassLoader.findClass(Unknown Source)
at java.lang.ClassLoader.loadClass(Unknown Source)
at sun.misc.Launcher$AppClassLoader.loadClass(Unknown Source)
at java.lang.ClassLoader.loadClass(Unknown Source)
at java.lang.ClassLoader.loadClassInternal(Unknown Source)
... 5 more
I added core.jar, video.jar and gsvideo.jar to my project and put the file "station.mov" in the data folder inside "bin".
What do I need to add more?? I am preety desperate here!! :S
Thanks in advance!! and sorry for bugging you all the time.