Quantcast
Channel: Library Questions - Processing 2.x and 3.x Forum
Viewing all articles
Browse latest Browse all 2896

how to remove alpha transparency from video ?

$
0
0

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();
}

Viewing all articles
Browse latest Browse all 2896

Trending Articles