how to remove alpha transparency from video ?

edited May 2017 in Library Questions

Hi,

how can i play alpha transparent video without P3D OR P2D render ?

any help will be good

Thanks.

mycode:

import processing.video.*;
Movie mov;
PImage img;

Capture cam;

void setup() {
  size(640, 480);
  frameRate(30);

  mov = new Movie(this, "../../../files/movie/Final.mov");
  mov.play();

  cam = new Capture(this, 640, 480);
  cam.start();
}

void draw() {

  background(0);
  image(cam, 0, 0);
  image(mov, 0, 0);

}

void movieEvent(Movie m) {
  m.read();
}
void captureEvent(Capture cam) {
  cam.read();
}

Answers

Sign In or Register to comment.