Playing video backwards (ogg file does not load)

Hello, I am trying to play a video backwards and forwards. As advised on the video library - speed (https://processing.org/reference/libraries/video/Movie_speed_.html ), I managed to convert the video from a mp4 to ogg file. Now when I try to upload the new file to processing, I am getting this alert " Could not load movie file name.ogg."

I don’t know what the problem is as this is the suggested file format. Does anyone have any suggestions ?

Thank you

with this i could ( despite lots of warnings ( errors )
play a .mov in both directions,
and also a .ogg i take from

https://mkvtoolnix.download/samples/.dirindex.php?path=&download=vsshort.ogg

but must be clear, .ogg is a sound file only, but sounds good backward

import processing.video.*;
Movie myMovie;
float myspeed=1.0;

void setup() {
  size(700, 400);
  frameRate(30);
  myMovie = new Movie(this, "vsshort.ogg");//"transit.mov");
  myMovie.speed(myspeed);
  myMovie.loop();
}


void draw() {
  if (myMovie.available()) {
    myMovie.read();
  }
  myspeed = map(mouseX,0,width,-2,2);
  myMovie.speed(myspeed);
  image(myMovie, 0, 0);

  fill(0);
  rect(10,height-30,40,15);
  fill(255);
  text(nf(myspeed,1,1),20,height-20);

}
1 Like