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
quicktime.std.StdQTException (Read 4603 times)
quicktime.std.StdQTException
Apr 15th, 2007, 12:12pm
 
I have downloaded the blobDetection Libary and I've got this error when I run the application... I read something about QT for java but I can't choose Custom installation in the newer version on QuickTime... Someone could explain me how i can resolve this problem

Thanks!!!!!!
Re: quicktime.std.StdQTException
Reply #1 - Apr 25th, 2007, 4:03pm
 
you probably need quicktime for java ... read this already?

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

F
Re: quicktime.std.StdQTException
Reply #2 - Jul 29th, 2007, 3:16pm
 
hi, i am having trouble finding the custom install in quicktime as well -- i'm installing version 7.2, tried uninstalling before as well, but with no luck -- no custom install option!

so far i've gotten winVDIG working, managed to capture a .mov from my firewire camera. does this mean the setup is working? or can i still be missing quicktime for java in my setup?

when loading examples from the video library section i get a blank java window popping up, but no error msg. in the output monitor of processing.

can anyone help?

/j
Re: quicktime.std.StdQTException
Reply #3 - Jul 29th, 2007, 6:41pm
 
apple has introduced some problems with quicktime 7.2. the only fix i've heard so far is to completely remove quicktime, reboot, and reinstall.

the custom install for java is only for quicktime 6.
Re: quicktime.std.StdQTException
Reply #4 - Jul 29th, 2007, 11:23pm
 
i did uninstall quicktime completely, then did a new install.... still no image.

i also tried winVDIG 1.04 and that seemed to mess up the winVDIG signal, since the result is now scrambled in winVDIG (the software believes the camera is SECAM, when in fact, it is PAL) - - i removed version 1.04, reinstalled ver.1.01, but still scrambled image. argh. can anyone tell me how to get it running with quicktime 7.2? is it even possible?

/j
Re: quicktime.std.StdQTException
Reply #5 - Jul 29th, 2007, 11:54pm
 
hmmm... i did yet another reinstall of quicktime 7.2:
now i get this error msg:
quicktime.std.StdQTException[QTJava:7.2.0g],-9405=couldntGetRequiredComponent,QT.vers:7208000
at quicktime.std.StdQTException.checkError(StdQTException.java:38)

it seems that i DONT have quictime for java after all??

also i get the following error msgs from the java applet/window:

OMicrosoft DV Camera and CVR-WDM: Problem connecting Video Output to Video Renderer
Re: quicktime.std.StdQTException
Reply #6 - Jul 30th, 2007, 5:43am
 
that probably means that winvdig is not installed properly after the quicktime reinstalls. install version 1.01.
Re: quicktime.std.StdQTException
Reply #7 - Oct 2nd, 2008, 8:40pm
 
I get this error white trying to create a MovieMaker object:


quicktime.std.StdQTException[QTJava:7.5.0g],-5000=afpAccessDenied,QT.vers:7508000
at quicktime.std.StdQTException.checkError(StdQTException.java:38)


The weird thing is that I don´t get this error with any other sketch. There's nothing fancy about this one, no extra libraries, no nothing...
Re: quicktime.std.StdQTException
Reply #8 - Oct 2nd, 2008, 11:00pm
 
I re-installed quicktime but the problems persists.

This is my code:

import processing.video.*;
MovieMaker mm;

Circulo[] c;
boolean gen = false;
boolean margen = true;
boolean rec = true;

void setup(){
 size(720, 480);
 mm = new MovieMaker(this, width, height, "drawing.mov", 30, MovieMaker.ANIMATION, MovieMaker.HIGH);

 smooth();
 colorMode(HSB, 100);
 c = new Circulo[0];
}


void draw(){
 background(0, 0, 100);
 for(int i = 0; i < c.length; i++){
   c[i].draw();
 }
 if(gen) calcNew();
 if(rec) mm.addFrame();
}

void calcNew(){
 boolean good = true;
 float x = random(width);
 float y = random(height);

 for(int i = 0; i < c.length; i++){
   float d = dist(x, y, c[i].x, c[i].y);
   if(d <= 1 + c[i].diam/2){
     good = false;
   }
 }

 if(good){
   c = (Circulo[])expand(c, c.length + 1);
   c[c.length - 1] = new Circulo(x, y, c.length-1);
   println("nuevo circulo a las "+millis()+" -- hay "+c.length+" círculos en total");
 }
}

void mouseReleased(){
 c = (Circulo[])expand(c, c.length + 1);
 c[c.length - 1] = new Circulo(mouseX, mouseY, c.length-1);
}

void keyPressed(){
 if(key == ' '){
   gen = !gen;
 }
 if(key == 's' || key == 'S'){
   setup();
 }
 if(key == 'b' || key == 'B'){
   margen = !margen;
 }
 if(key == 'g' || key == 'G'){
   todosCrecen();
 }
 if(key == 'r' || key == 'R'){
   rec = !rec;
   if (rec) println("grabando");
   if(!rec) println("grabación pausada");
 }
 if(key == 'q' || key == 'Q'){
   mm.finish();
   println("fin");
   exit();
 }
}

void todosCrecen(){
 for(int i = 0; i < c.length; i++){
   c[i].growing = true;
 }
}

class Circulo{
 float x, y;
 float diam;
 boolean growing;
 int id;
 color col;

 Circulo(float x, float y, int id){
   this.x = x;
   this.y = y;
   diam = 0;
   growing = true;
   this.id = id;
   col = color(0, 0, 40, 50);
 }

 void draw(){
   if(margen)bordes();
   fill(col);
   noStroke();
   ellipse(x, y, diam, diam);
   check();
   if(growing) {
     grow();
   }
 }

 void check(){
   int topes = 0;
   for (int i = 0; i < c.length; i++){
     if(i != id){
       float d = dist(x, y, c[i].x, c[i].y);
       if(d <= diam/2 + c[i].diam/2){
         repel(c[i]);
         topes ++;
         col = color(hue(col)+(float)topes/32,  saturation(col)+(float)topes/5, 40, alpha(col)+(float)topes/7);

         if (topes == 2){
           growing = false;
         }
       }
     }
   }
 }

 void repel(Circulo otro){
   float traslape =  (diam/2 + otro.diam/2) - dist(x, y, otro.x, otro.y);
   pushMatrix();
   translate(x,y);
   float angulo = atan2(otro.x, otro.y);
   popMatrix();
   x += (cos(angulo) * traslape) * 0.5;
   y += (sin(angulo) * traslape) * 0.5;
   otro.x += (cos(angulo-PI) * traslape) * 0.5;
   otro.y += (sin(angulo-PI) * traslape) * 0.5;

   fill(0, 0, 100, 70);
   stroke(0, 0, 100, 70);
   ellipse(x, y, diam/5, diam/5);
   line(x,y, otro.x, otro.y);
   diam -= 0.01;

 }

 void bordes(){
   x = constrain(x, diam/2, width - (diam/2));
   y = constrain(y, diam/2, height - (diam/2));
 }

 void grow(){
   if(growing){
     //float dif = maxDiam - diam;
     //diam += dif / 50;
     diam += 0.2;  
   }
 }

 float[] distancias(Circulo[] todos){
   float[] distancia = new float[todos.length];
   for(int i = 0; i < todos.length; i++){
     distancia[i] = dist(x,y, todos[i].x, todos[i].y);
   }
   return distancia;
 }

 float getMax(float[] nums){
   float m = 0;
   for(int i = 0; i < nums.length; i++){
     if(m < nums[i]) m = nums[i];
   }
   return m;
 }

 float getMin(float[] nums){
   float m = width * height;
   for(int i = 0; i < nums.length; i++){
     if(m > nums[i]) m = nums[i];
   }
   return m;
 }

}
Re: quicktime.std.StdQTException
Reply #9 - Oct 3rd, 2008, 2:11am
 
that's probably a Quicktime for Java bug, it's probably 1) your filename or path is too long (some sort of 32 or 50 character limit), 2) there are non-ascii characters in the filename, that QTJava is choking on, 3) you're working from a file server with permissions issues (afp = apple filing protocol error, meaning something over the network), 4) you might need to try a different encoding besides ANIMATION.
Re: quicktime.std.StdQTException
Reply #10 - Oct 3rd, 2008, 2:47am
 
Hi Ben (wow that was fast)
...
Me reporting: it was the path problem (too long, too deep).... never thought of that.

now I'm a happy MovieMaker, thanks
Re: quicktime.std.StdQTException
Reply #11 - Jan 20th, 2010, 10:05am
 
I'm making my first go with Moviemaker and it worked with standard ANIMATION but when I switch to the H264 output I am getting some kind of QTException. What am I doing wrong?

"quicktime.std.StdQTException[QTJava:7.6.0g],-8960=codecErr,QT.vers:7648000"
Page Index Toggle Pages: 1