image + video capture impossible in standalone
in
Integration and Hardware
•
2 months ago
hello forum,
with processing 2, it seems impossible to have a pimage and a video capture in a standalone application
even if it's work when i run this sketch in processing, i have a grey screen when i export it in an osx app :
is it a bug from processing ? (i've also try to compile v.0220)
cheers
import processing.video.*;
Capture video;
PImage truc;
void setup(){
size(1024, 768, OPENGL);
frameRate(30);
truc = loadImage("luetapp.jpg");
video = new Capture(this, 640, 480, 30);
video.start();
}
void draw(){
if(video.available()){
video.read();
}
image(video, 0, 0);
image (truc, 0, 0);
}
with processing 2, it seems impossible to have a pimage and a video capture in a standalone application
even if it's work when i run this sketch in processing, i have a grey screen when i export it in an osx app :
is it a bug from processing ? (i've also try to compile v.0220)
cheers
import processing.video.*;
Capture video;
PImage truc;
void setup(){
size(1024, 768, OPENGL);
frameRate(30);
truc = loadImage("luetapp.jpg");
video = new Capture(this, 640, 480, 30);
video.start();
}
void draw(){
if(video.available()){
video.read();
}
image(video, 0, 0);
image (truc, 0, 0);
}
1