Brief: When I run this code in Processing it doesn't show anything but an empty window. It works with sample .mov downloaded from this random website.
Detail: I am on Mac Os El Capitan (10.11.6) and I have Processing 3.1.1. I used QuickTimePlayer to record a part of my screen(saved as Mariye.mov) and then I used iMovie to speed it up 4 times and the result is saved as Mariye4x.mov. You can see it here. I have put it in the Sketch folder in subfolder "data". it's 2:16 minutes/high resolution video. When I use this code with some sample .mov files from the internet it works. But when I use my own .mov file it doesn't show anything but an empty sketch window. Any suggestion?
I also used the original Mariye.mov and tried to use "speed(4.0)" function in processing to speed it up and that also doesn't work and the speed doesn't change.
Here is my code:
import processing.video.*;
Movie myMovie;
void setup() {
fullScreen();
myMovie = new Movie(this, "Mariye4x.mov");
myMovie.play();
}
void draw() {
image(myMovie,0,0);
}
void movieEvent(Movie m) {
m.read();
}
Just having a quick look at the link, the video file is 1.2GB and it's compressed with the Apple ProRes 422 codec (probably iMovie default).
I've had some performance issues with the Processing video library and 1080p video. I recommend compressing to 720p using H264 encoding.
You can easily do this using Quicktime Player: File > Export to > 720p. In processing, use the 720p compressed version of the video.
I can confirm this works both in Processing 3 and p5.js