Video Export

A library by Abe Pazos for the Processing programming environment.
Last update, 12/08/2016.

Simple video file exporter.
Create movies you can share online.

Video Export allows you to easily create video files directly from Processing.

The video playback frame rate does not depend on the rendering frame rate. That means that even if your sketch runs slowly because of heavy computation, the resulting video will play back smoothly. It also means that you don't need to export to the video file every single frame you see on the display: you can toggle video exporting on and off as you wish, while the sketch runs. This allows you to export only the "good parts" of what you see (by pressing a key, for instance).

ffmpeg

You need to download and install ffmpeg on your system before you can use this library. Note that you might already have it installed! You can find out by typing ffmpeg or ffmpeg.exe in the terminal. If the program is not found:

For more details and download links, check the official ffmpeg website.

When you start a Processing sketch that uses this library you may be asked to indicate the location of your ffmpeg executable. This may happen once per sketch.

Contributed libraries are developed, documented, and maintained by members of the Processing community. Further directions are included with each library. For feedback and support, please post to the Discourse. We strongly encourage all libraries to be open source, but not all of them are.

Download

Download Video Export version 0.1.6 (16) in .zip format.

Installation

Unzip and put the extracted VideoExport folder into the libraries folder of your Processing sketches. Reference and examples are included in the VideoExport folder.

Keywords. video,export,mp4

Reference. Have a look at the javadoc reference here. A copy of the reference is included in the .zip as well.

Source. The source code of Video Export is available at GitHub, and its repository can be browsed here.

Changelog. Most recent changes.

Examples

Find a list of examples in the current distribution of Video Export, or have a look at them by following the links below.

Tested

Platform osx,linux,windows
Processing 3.2.3
Dependencies ffmpeg