Loading...
Processing Forum
Recent Topics
All Forums
Screen name:
paulverheul
paulverheul's Profile
1
Posts
0
Responses
0
Followers
Activity Trend
Last 30 days
Last 30 days
Date Interval
From Date :
To Date :
Go
Loading Chart...
Posts
Responses
PM
Show:
All
Discussions
Questions
Expanded view
List view
Private Message
MacOS 10.7.2 thread crashings when attempting Capture
[0 Replies]
15-Feb-2012 08:58 AM
Forum:
Integration and Hardware
Hi there,
When using the Capture class, Processing quits on me, saying:
Invalid memory access of location 0x1e57e140 eip=0x1e57e140
Then, the little window it opened crashes, and looking at the error-report, the following seems to be the cause:
Thread 34 Crashed:: Java: Animation Thread
0 ???
0x1e57e140 get_feature_flags + 0
1 lib3ivxEnc.dylib
0x1e4fb2b8 InitHooks + 5088
2 lib3ivxEnc.dylib
0x1e4fd0ab InitThrivex + 68
3 lib3ivxEnc.dylib
0x1e5110fa l3_init + 11
Is there a way to fix this? I really need to be able to use webcam input.
This is my (example) code. As you see it uses JMyron, but the same thing happens when using the capture function:
import JMyron.*;
JMyron m;//a camera object
void setup(){
size(320,240);
m = new JMyron();//make a new instance of the object
m.start(width,height);//start a capture at 320x240
m.findGlobs(0);//disable the intelligence to speed up frame rate
println("Myron " + m.version());
}
void draw(){
m.update();//update the camera view
int[] img = m.image(); //get the normal image of the camera
loadPixels();
for(int i=0;i<width*height;i++){ //loop through all the pixels
pixels[i] = img[i]; //draw each pixel to the screen
}
updatePixels();
}
void mousePressed(){
m.settings();//click the window to get the settings
}
public void stop(){
m.stop();//stop the object
super.stop();
}
«Prev
Next »
Moderate user : paulverheul
Forum