That is probably wrong, gonna ask about :)
- import processing.video.*;
-
- Movie um, dois;
-
- void setup(){
- size (800,300, P2D);
- um = new Movie(this, "tet.mov");
- dois = new Movie(this, "tet2.mov");
- um.loop();
- dois.loop();
- }
-
- void draw(){
- background(0);
- image(um, 10, 0);
- image(dois, 400, 0);
- }
But although this works it crashes some time later giving me this message:
java(483,0xacd53a28) malloc: *** error for object 0x16615d0: pointer being freed was not allocated
*** set a breakpoint in malloc_error_break to debug
Don.t know why.
The PGraphics is a new canvas to play with. It can be displayed as a PImage,
look at reference