#  Playing video backwards (ogg file does not load)

**URL:** https://discourse.processing.org/t/playing-video-backwards-ogg-file-does-not-load/5243
**Category:** Libraries
**Created:** [November 5, 2018, 9:59pm UTC](https://discourse.processing.org/t/playing-video-backwards-ogg-file-does-not-load/5243 "2018-11-05T21:59:10Z")
**Posts on this page:** 2
**Page:** 1

<div class="post-metadata">

### Author: ![eda](https://avatars.discourse-cdn.com/v4/letter/e/f9ae1b/32.png) [@eda](https://discourse.processing.org/u/eda)
#### Post date: [November 5, 2018, 9:59pm UTC](https://discourse.processing.org/t/playing-video-backwards-ogg-file-does-not-load/5243/1 "2018-11-05T21:59:10Z")

</div>

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](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

---

<div class="post-metadata">

### Author: ![kll](https://yyz2.discourse-cdn.com/flex036/user_avatar/discourse.processing.org/kll/32/964_2.png) [@kll](https://discourse.processing.org/u/kll)
#### Post date: [November 6, 2018, 12:36pm UTC](https://discourse.processing.org/t/playing-video-backwards-ogg-file-does-not-load/5243/2 "2018-11-06T12:36:14Z")

</div>

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

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

```

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

```auto
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);

}

```
