Important
N4 development has moved to gridaco/nothing.
Follow the import into n4/ and use the N4 issue tracker for new work.
This standalone repository preserves the original N4 history.
N4 is a native video editing engine. A film is a folder of editable text and assets. The CLI, SDL player, and Electron reference app open the same project. The contributor alpha targets Apple Silicon Macs with Metal.
Install the Xcode Command Line Tools, Rust through rustup, and Homebrew.
git clone https://github.com/gridaco/n4.git
cd n4
brew install just ffmpeg sdl2 webp
just demoThis opens Signal Atlas. Scrub by dragging the timeline, or press Space to play. See the engine build guide for troubleshooting.
For headless validation and export, run these commands from the checkout:
just host-native
target/debug/n4 validate examples/signal-atlas
review=$(mktemp -d)
target/debug/n4 export examples/signal-atlas --out "$review/film.mp4"| Goal | Start here |
|---|---|
| Make a film with an agent | Agent quickstart · Signal Atlas template |
| Browse and edit in a desktop window | Electron reference app |
| Script or embed N4 | Python authoring SDK · TypeScript editor kit |
| Find projects or read the format | Example catalog · Film format |
| Contribute to N4 | Contributor guide · Public contracts |
Code and documentation use Apache-2.0. Public example films and test media use CC0. See the asset policy before contributing media.