Hi all,
I am trying to adapt the MoviePlayBack example to read a movie from a remote Quicktime Streaming Server (instead of a local file).
I get the following error:
quicktime.std.StdQTException[QTJava:6.1.3g],-5401=Unknown Error Code,QT.vers:7048000
at quicktime.std.StdQTException.checkError(StdQTException.java:38)
Now THAT is not a useful error message
My program is as follows:
=====================================================
import processing.video.*;
Movie myMovie;
void setup()
{
size(200, 200);
background(0);
// Load and play the video in a loop
try {
URL myurl = new URL("http://myserver/sample_100kbit.mov");
if (myurl != null) {
myMovie = new Movie(this, myurl);
//myMovie = new Movie(this, "street.mov");
myMovie.loop();
}
else {
println("bla");
}
}
catch (Exception e) {
println("dah");
println(e);
}
}
void movieEvent(Movie myMovie) {
myMovie.read();
}
void draw()
{
tint(255, 20);
if (myMovie.available()) {
image(myMovie, mouseX-myMovie.width/2, mouseY-myMovie.height/2);
}
else {
//println("Movie not available");
}
//image(myMovie, 200, 200);
}
=====================================================
Finally, I can read http://myserver/sample_100kbit.mov in a browser just fine, so it not an access problem.
Any help would be greatly appreciated!
Billy Boy, lost in QT land...