# Export QuickTime Movie using a sketch

**URL:** https://discourse.processing.org/t/export-quicktime-movie-using-a-sketch/2014
**Category:** Coding Questions
**Created:** [July 23, 2018, 12:56pm UTC](https://discourse.processing.org/t/export-quicktime-movie-using-a-sketch/2014 "2018-07-23T12:56:04Z")
**Posts on this page:** 3
**Page:** 1

<div class="post-metadata">

### Author: ![DongKingKong0](https://yyz2.discourse-cdn.com/flex036/user_avatar/discourse.processing.org/dongkingkong0/32/960_2.png) [@DongKingKong0](https://discourse.processing.org/u/DongKingKong0)
#### Post date: [July 23, 2018, 12:56pm UTC](https://discourse.processing.org/t/export-quicktime-movie-using-a-sketch/2014/1 "2018-07-23T12:56:04Z")

</div>

I want to have a sketch to export a QuickTime Movie from images created with `saveFrame()`.  
**I don’t** want to use the “Create Movie” Tool for that.  
As far as I know, this function was included in the processing.video library in Processing 1.

```auto
import processing.video.*;

MovieMaker mm; // Declare MovieMaker object

void setup() {
  size(320, 240);
  // Create MovieMaker object with size, filename,
  // compression codec and quality, framerate
  mm = new MovieMaker(this, width, height, "drawing.mov",
                       30, MovieMaker.H263, MovieMaker.HIGH);
  background(204);
}

void draw() {
  ellipse(mouseX, mouseY, 20, 20);
  mm.addFrame(); // Add window's pixels to movie
}

void keyPressed() {
  if (key == ' ') {
    mm.finish(); // Finish the movie if space bar is pressed!
  }
}

```

Unfortunately, this code doesn’t seem to work anymore in Processing 2+.  
Are there any solutions to this?

---

<div class="post-metadata">

### Author: ![hamoid](https://yyz2.discourse-cdn.com/flex036/user_avatar/discourse.processing.org/hamoid/32/58_2.png) [@hamoid](https://discourse.processing.org/u/hamoid)
#### Post date: [July 24, 2018, 10:18am UTC](https://discourse.processing.org/t/export-quicktime-movie-using-a-sketch/2014/2 "2018-07-24T10:18:15Z")

</div>

Maybe this library I created? [http://funprogramming.org/VideoExport-for-Processing/](http://funprogramming.org/VideoExport-for-Processing/)

I haven’t tested with QuickTime though.

---

<div class="post-metadata">

### Author: ![DongKingKong0](https://yyz2.discourse-cdn.com/flex036/user_avatar/discourse.processing.org/dongkingkong0/32/960_2.png) [@DongKingKong0](https://discourse.processing.org/u/DongKingKong0)
#### Post date: [July 24, 2018, 7:46pm UTC](https://discourse.processing.org/t/export-quicktime-movie-using-a-sketch/2014/3 "2018-07-24T19:46:10Z")

</div>

That works fine. Thanks! 😁
