We are about to switch to a new forum software. Until then we have removed the registration on this forum.
I'd like to make a code which play portions of a loaded video, setting the starting point and the duration of those portions of clip. It is a sort of random granular playback.
How can I play a clip from a starting point which is not the beginning of a loaded clip? How can I set the duration of the grains?
I'm using the default video library.
import processing.video.*;
Movie video;
void setup() {
size(600, 400);
video = new Movie(this, "station.mov");
video.loop();
}
void movieEvent(Movie video){
video.read();
}
void draw() {
image(video, 0, 0);
}
Answers
did you read the library reference for video library?
what about jump?
https://processing.org/reference/libraries/video/Movie_jump_.html