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
video doesn't play (Read 1092 times)
video doesn't play
Jan 7th, 2006, 5:03pm
 
i am using the Movie class given in the video library with a .mov i put in the data directory of the sketch:

import processing.video.*;
Movie myMovie;

void setup() {
 size(200, 200);
 myMovie = new Movie(this, "nord2.mov");
 myMovie.loop();
}

void draw() {
 tint(255, 20);
 image(myMovie, mouseX, mouseY);
}

// Called every time a new frame is available to read
void movieEvent(Movie m) {
 m.read();
}

i got the following error message:

java.lang.NoClassDefFoundError: Files\Microsoft
Exception in thread "main"

what's wrong?
Re: video doesn't play
Reply #1 - Jan 7th, 2006, 10:19pm
 
what version are you using? i thought we fixed this..
Re: video doesn't play
Reply #2 - Jan 7th, 2006, 11:09pm
 
sorry my question is my live video dont play, when i open the video library example Capture :

DV Video
IIDC FireWire Video

java.lang.NullPointerException
at processing.core.PGraphics.image(PGraphics.java:1676)
at processing.core.PApplet.image(PApplet.java:6167)
at Temporary_5971_8642.draw(Temporary_5971_8642.java:41)
at processing.core.PApplet.display(PApplet.java:1214)
at processing.core.PGraphics.requestDisplay(PGraphics.java:520)
at processing.core.PApplet.run(PApplet.java:1031)
at java.lang.Thread.run(Thread.java:552)

and also dont work in JMyron's sketch example but without hint, and i can capture the video input in Jitter. Im using 0098 and a sony firewire DV input. the strange is it all works before 1 week....
thank you for any help...
Re: video doesn't play
Reply #3 - Jan 8th, 2006, 10:48am
 
i use 0098 beta.
Re: video doesn't play
Reply #4 - Jan 9th, 2006, 12:03pm
 
fry wrote on Jan 7th, 2006, 10:19pm:
what version are you using i thought we fixed this..

beta98
Re: video doesn't play
Reply #5 - Jan 9th, 2006, 3:19pm
 
so there's something wrong with your PATH environment variable. are you familiar with environment variables? (if not, read elsewhere in this forum about the issue) do you have one called QTJAVA on your setup?
Re: video doesn't play
Reply #6 - Jan 11th, 2006, 11:14am
 
thank you! it works: i removed the quotes around PATH and CLASSPATH as you had adviced on an other post.
Re: video doesn't play
Reply #7 - Jan 12th, 2006, 11:20am
 
after i reinstall my quicktime 6.5.2 replace 7.0.4, quicktime opens with unexpectedly quit always, and the JMyron is also dont work,  i think should have a mac os 10.3.9 reinstall...sigh
Page Index Toggle Pages: 1