Movie not available()


#1

Any idea why this movie won’t play? available() continually returns false. Seems like I’m missing something obvious, but can’t figure it out! AD1.mov is in the “data” folder.

import processing.video.*;
Movie AD1;

void setup() {
  size(960, 540);
  frameRate(30);
  AD1 = new Movie(this, "AD1.mov");
  AD1.loop();
}

void draw() {
  print(AD1.available());
  image(AD1, 0, 0);
}

void movieEvent(Movie m) {
  m.read();
}

#2

Method Movie::read() auto-resets Movie::available() back to false AFAIK. :movie_camera:


#3

Removing movieEvent() doesn’t change anything… available() still returning false :frowning:

Thank you for trying to help, much appreciated :slight_smile:


#4

I exported the video file to a lower-res MP4 instead of high-res MOV, and now it works fine!

I’m good to go, but curious as to why the MOV didn’t render?!