Video Export
A library by Abe Pazos for the Processing programming environment.
Last update, 02/28/2018.
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:
- GNU/Linux systems: use your favorite package manager.
- Windows: get a static 32bit or 64bit binary
- Mac: get a static 64bit binary
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.2.3 (23) 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.3.6
Dependencies ffmpeg