Guide

Export your film.

Pick what the file is for, and Mografy chooses the codec, the encoder and where frames are drawn. Updated November 2, 2026.

Presets

Open the player’s Export dialog and choose a preset in the Encoder row. You no longer need to set codec options yourself.

Share

share

MP4, H.264

Plays everywhere: any browser, Windows PCs, chat apps and social uploads.

High quality

high

MP4, H.265 10-bit

The default for MP4. The smallest file at the same look; Apple devices, Chrome and Edge.

Fast high quality

fast

MP4, hardware H.265 10-bit

The quickest export. Frames are drawn and encoded on the graphics card.

Master

master

MOV, ProRes 422 HQ

Editing in Final Cut, Premiere or DaVinci Resolve. 10-bit 4:2:2 with uncompressed audio; large files.

Not sure? Use share for a file you send to someone, high for the best file at the smallest size, fast when you export often, and master when the film goes into an editor.

Command line

Pass a preset to npx mografy export. The preset applies to this export only and is not saved to the project.

Terminal
npx mografy export ./projects/my-animation --preset share
npx mografy export ./projects/my-animation --preset high
npx mografy export ./projects/my-animation --preset fast
npx mografy export ./projects/my-animation --preset master

Choose another format with --format. MOV writes ProRes 422 HQ; WebM uses VP9/Opus; Lottie and SVGA package image frames for web and mobile players. Every flag that existed before still works, including --codec h264.

Terminal
npx mografy export ./projects/my-animation --format mov
npx mografy export ./projects/my-animation --format webm
npx mografy export ./projects/my-animation --format lottie
npx mografy export ./projects/my-animation --format svga

Finished files are written to the project’s renders/ folder.

Hardware encoding

Hardware encoding is used by the fast preset. Mografy finds your graphics card’s encoder by itself: it tries each encoder in order with a tiny test encode and uses the first that works.

macOS

VideoToolbox

Windows

NVIDIA NVENC → Intel Quick Sync → AMD AMF

Linux

NVENC → VA-API → Quick Sync

Without a working encoder, Mografy encodes in software and says so. When the export finishes, the dialog and the terminal show the encoder that wrote the file.

Frames are drawn on the graphics card with Metal on macOS and Direct3D 11 on Windows. Other platforms draw frames on the CPU.

New on Windows and Linux: hardware encoding there is new, and its quality setting is a first calibration. Feedback is welcome: tell us how fast looks and how long it takes on your graphics card in GitHub issues.

Advanced settings

Open Advanced settings in the Export dialog. The defaults keep frames exactly as before.

Shutter angle

360° by default. 180° gives shorter, film-like motion blur.

Dither gradients

Hides banding in soft gradients and glows. Off by default.

Hardware quality

Quality of the hardware encoder, from 1 to 100.

Workers

Parallel capture segments. Auto by default, or a number from 1 to 8.

Two-pass bitrate

Encode to a target bitrate. Now under Advanced settings, and slower than before for H.265 because H.265 is 10-bit.

To place each frame’s motion samples around its own time, in step with the audio, add this to the project’s mografy.json file:

mografy.json
{
  "render": {
    "sampleWindow": "centred"
  }
}

Every export setting is listed in the configuration guide.

Audio, files and existing projects

  • Audio is exported at 48 kHz, the rate video platforms and editors expect.
  • Exports work in the project’s .mografy/tmp/ folder instead of the system temp folder; the project’s .gitignore already excludes it.
  • Existing projects render exactly as before. Settings already saved in a project’s mografy.json, for example "encoding": "two-pass", are kept; only projects that never set them get the new defaults.
  • Odd video sizes are refused before the export starts, and Windows project paths with drive letters, spaces or apostrophes no longer break an export.

Speed

Frames are now encoded while they are drawn, with no lossless intermediate file. The 12-second introduction at 1080p60, at the same quality:

EncoderBeforeNow
H.265 (High quality)26.2 s21.5 s
H.264 (Share)21.9 s17.7 s
Hardware H.265 (Fast high quality)—14.9 s

Scenes with heavy glow gain less in software; use fast there.

After updating

Run this inside your mografy folder to get the new export. It updates Mografy and opens the player.

Terminal
npx mografy@latest

If a player is already running, stop it first so the new one uses the new export. Update guide →

fast says it encoded in software on Windows

Keep your NVIDIA, Intel or AMD graphics driver current. If it still falls back, point MOGRAFY_FFMPEG to an FFmpeg build that includes your card’s encoder:

Terminal
export MOGRAFY_FFMPEG=/path/to/ffmpeg