Skip to content

A simple video creation support library for Processing.

License

Notifications You must be signed in to change notification settings

DBC-Works/FrameRecorder

Repository files navigation

workflow stats

FrameRecorder(Processing library)

A simple video creation support library for Processing.

Requirements

Runtime

FrameRecorder uses FFmpeg to create a video file. Before use, please install FFmpeg(using the package management system like Homebrew, Chocolatey, and so on).

Development

If you want to build the library from source codes, please install Gradle(using the package management system like Homebrew, Chocolatey, and so on).

Installation

Copy FrameRecorder directory in the distribution file into processing/libraries.

Usage

1. Create recorder instance

Call FrameRecorderFactory#createFrameRecorderInstanceOf(RecorderType type, PApplet app) to create frame recorder instance. Recorder types are:

  • AsyncRecorder(Recommended): Fast but better quality
  • SyncTgaRecorder: Fast, best quality but requires very large free disk space
  • SyncPngRecorder: Best quality but very slow

2. Record frame

Call Recorder#recordFrame() method at the end of draw method to save.

FrameRecorder creates frames directory under the sketch directory and save the drawing result to a image file.

3. Bind frames to video file

When all the frames have been drawn, call Recorder#finish() to complete the save and Recorder#bindTo(String videoFileName, int frameRate) to bind image files to the video file(Recorder#bindTo method deletes image files).

CHANGELOG

CHANGELOG

Rules

Versioning

Semantic versioning

Branching model

GitLab Flow

Commit message format

Conventional Commits

License

MIT

About

A simple video creation support library for Processing.

Topics

Resources

License

Code of conduct

Stars

Watchers

Forks

Packages

No packages published

Languages