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.
IndexProgramming Questions & HelpVideo Capture,  Movie Playback,  Vision Libraries › Apple iSight + OSX10.4.10 PPC + QT 7.1.6
Page Index Toggle Pages: 1
Apple iSight + OSX10.4.10 PPC + QT 7.1.6 (Read 1419 times)
Apple iSight + OSX10.4.10 PPC + QT 7.1.6
Oct 9th, 2007, 9:43pm
 
Hello there!,

I am trying to use an external firewire iSight camera on processing 0125 with osx 10.4.10 in a PPC and quicktime 7.1.6 and seems to not recognize the camera, I downloaded and installed JavaForMacOSX10.4Release5 as it is on the Apple website but no luck, here is what the system says(sorry for all this chunk):

java.lang.RuntimeException: Couldn't find any capture devices, read the video reference for more info.
at processing.video.Capture.list(Capture.java:515)
at Temporary_114_6409.setup(Temporary_114_6409.java:23)
at processing.core.PApplet.handleDisplay(PApplet.java:1285)
at processing.core.PGraphics.requestDisplay(PGraphics.java:680)
at processing.core.PApplet.run(PApplet.java:1454)
at java.lang.Thread.run(Thread.java:613)

But Quicktime recognizes the camera and I can capture video.

I checked the info about the video and I tried downloading QT for Java but is asking for OSX 10.3 Also tried downloading QT but does not give the option to make a custom installation.

Anybody have any idea for this issue?
Thanks for your time.
Re: Apple iSight + OSX10.4.10 PPC + QT 7.1.6
Reply #1 - Oct 10th, 2007, 6:12pm
 
Another update:

Installed QT 7.2.0 and now using a different camera, not intended as webcam: Canon MV600i, a miniDV camera, when trying to find the camera with the list() function it does not make anything except a line of text in the debug window with this text:

[Ljava.lang.String;@326484

Any idea out there?
Thanks!
Re: Apple iSight + OSX10.4.10 PPC + QT 7.1.6
Reply #2 - Oct 11th, 2007, 10:07am
 
if you want the capture devices list to be shown correctly you must use this instead:

Quote:
println(Capture.list());


You can also try the code below to make sure you configuration is ok.

Quote:
import processing.video.*;

Capture mycam;

void setup() {
 size(640, 480, P3D);
 println(Capture.list());
//if you use print you'll get the list error, using println is working.                  
 String Vid = "DV Video";
 mycam = new Capture(this,640, 480,Vid,25);
}

void captureEvent(Capture mycam) {
 mycam.read();
}

void draw() {
 background(0);
 image(mycam,0,0,width,height);
}
Re: Apple iSight + OSX10.4.10 PPC + QT 7.1.6
Reply #3 - Oct 11th, 2007, 4:17pm
 
It is working now!

I am trying to capture the video from the camera and save it as a file.
It works whenever it wants to (a bit desapointing), looks like it works when opening the processing window for the first time.
here is the code:

import processing.video.*;

Capture cam;
MovieMaker movie;

void setup() {
 size(640, 480, P3D);  
 String Vid = "IIDC Firewire Video";
 cam = new Capture(this,640, 480,Vid,25);
 movie = new MovieMaker(this, 640, 480, "vid.mov", 25, MovieMaker.H263, MovieMaker.LOW);
}

void captureEvent(Capture mycam) {  
 cam.read();
}

void draw() {
 background(0);
 image(mycam,0,0,width,height);
 movie.addFrame(); //capture every frame from the draw window
}

void keyPressed() {
if (key == ' ') {
   cam.stop(); //stop getting feed from the camera
   movie.finish();  // Finish the movie if space bar is pressed!
 }
}

I think that having to draw the video and recording it at the same time is ineficient as the system has to use more resources, I am using an iBookG4 and you can notice the delay in the refresh ratio and also the saved file has jumps and changes of speed, probably because of the processing power of the computer.

Another thing is exporting the patch, because the jar file does not work at all, I think it may be the paths in the file, will change and will post here the result.

Thanks for the help!
Re: Apple iSight + OSX10.4.10 PPC + QT 7.1.6
Reply #4 - Oct 11th, 2007, 9:19pm
 
Hi,

You should not use CPU intensive codec like H.26x with your iBook.

Instead try using JPEG, ANIMATION, MOTION_JPEG_A, MOTION_JPEG_B, RAW, or VIDEO.
They are less CPU hungry, the side effect is they are generating larger files than H.26x.

So, you can compress your videos after capturing. Wink
Page Index Toggle Pages: 1