Quantcast
Channel: Processing Forum
Viewing all articles
Browse latest Browse all 1768

create a video file

$
0
0
how can i create a video file from the output of the following sketc??


import processing.video.*;

Movie movie;
Movie movie1;
void setup() {
  size(640, 360);
  background(0);
  // Load and play the video in a loop
  movie = new Movie(this, "transit.mov");
  movie1=new Movie(this, "business.mov");
  movie.loop();
  movie1.loop();
}

void draw() {
 
   movie.read();
   movie1.read();
 
  image(movie, 0, 0, width, height);
  blend(movie1,0,0,width, height,0,0,width, height,LIGHTEST);
}


This mixes two simple mvo files
Appreciate any support


Viewing all articles
Browse latest Browse all 1768

Trending Articles