Simple wrapper with unified processing video interface.
VLC Media Player 3.x or later.
import VLCJVideo.*;
VLCJVideo video;
void setup() {
size(640, 360);
video = new VLCJVideo(this);
video.openAndPlay("https://www.sample-videos.com/video123/mp4/360/big_buck_bunny_360p_30mb.mp4");
}
void draw() {
background(0);
image(video, 0, 0);
}
Constructor:
options is a string array (optional).
String[] options = {"--video-filter", "sepia:wave"};
video = new VLCJVideo(this, options);
time in miliseconds
between 0.0 and 1.0 as percentage
0-200 as percentage
See "states" example
In miliseconds
In miliseconds
same as duration()
See "bind" example