Start with vidmake validate project.json --all. Most problems are reported there with the composition, layer,
position in the file and field. The sections below cover what's left.
#ffmpeg not found
error: ffmpeg not found on PATH. vidmake uses macOS's own frameworks for video and sound, but VP9/WebM and MP3 output (and VIDMAKE_MEDIA=ffmpeg) need ffmpeg: install it (`brew install ffmpeg`) or set VIDMAKE_FFMPEGvidmake reads and writes video and sound with macOS's own AVFoundation and VideoToolbox, so it needs nothing
installed for MP4, MOV, GIF, PNG sequences, WAV and M4A. When ffmpeg is installed, vidmake uses it instead (set
VIDMAKE_MEDIA=native to keep the system frameworks anyway). You see this error when:
- you render VP9/WebM (
-o video.webm) or MP3: macOS has no encoder for them. Install ffmpeg (brew install ffmpeg), or pick another format; VIDMAKE_MEDIA=ffmpegis set and ffmpeg isn't installed: unset it;VIDMAKE_FFMPEGorVIDMAKE_FFPROBEpoints at a file that isn't there: unset it, or fix the path.
vidmake hardware says which engine is in use, and every render's done event (--json) names it.
Unknown encoder. If ffmpeg fails with Unknown encoder 'libx264' (or libx265, libvpx-vp9, libopus,
libmp3lame), the installed ffmpeg lacks that codec. Install a full build (Homebrew's has them all), set
VIDMAKE_MEDIA=native for formats macOS can write, or render to a format whose encoder you have (ffmpeg -encoders
lists them).
#Fonts missing
✗ main: layer `title` (main > layers[0]): font family `Helvetica Neue` not found. Add it to the project's `fonts` list or run `vidmake fonts` to see installed familiesThe font field takes a family name that is either installed on the machine, declared in the project's fonts
list, or one of the generic names sans-serif, serif, monospace.
- List what's available:
vidmake fonts(all families),vidmake fonts inter(filter),vidmake fonts --project project.json(including the project's own). See fonts. - Ship the font with the project (recommended, so it renders the same on every machine):Paths are relative to the project file. Give every file of a family the samejson
"fonts": [ { "family": "Brand", "path": "fonts/Brand-Regular.ttf" }, { "family": "Brand", "path": "fonts/Brand-Bold.ttf" }, { "family": "Brand", "path": "fonts/Brand-Italic.ttf" }]familyname; vidmake picks the file closest to the requestedfontWeightanditalic. - Case matters for installed fonts:
"font": "Inter"works where"font": "inter"doesn't. Families declared infontsmatch case-insensitively. - Missing glyphs (emoji, CJK, symbols) fall back to other installed fonts (DejaVu Sans, Noto Sans, Arial, Segoe UI, ...). If a character renders as a box, add a font that has it.
- A font file that can't be read fails with
font <path>: ...; a file with no usable faces (e.g. a WOFF2 web font) withfont <path> contained no usable faces. Use.ttfor.otf.
#Odd dimensions with H.264
✓ main — 30 frames (1.00s) warning: composition size 641x360 is odd; H.264/H.265 need even dimensionserror: ffmpeg stopped accepting frames (Broken pipe (os error 32)): [libx264 @ 0x555e2a733a40] width not divisible by 2 (641x360)H.264 and H.265 with 4:2:0 chroma need even width and height. Use even numbers in the composition (1920×1080,
1080×1920, 1280×720). Renders at a --scale other than 1 are bumped to even sizes automatically, and WebM, ProRes,
GIF and PNG accept odd sizes.
#No transparency in the output
A render has an alpha channel only when the composition has no background and the format supports alpha:
.webm (VP9), .mov (ProRes 4444), a PNG sequence, or .gif (1-bit). Check:
.mp4never has alpha; transparent areas are black. Render.webmor.mov.- Remove
backgroundfrom the composition, and any full-framerectused as a background. - Some players show WebM alpha on black. Check in a browser or an editor, or look at a
vidmake stillPNG, which keeps transparency too. - GIF edges look jagged: GIF transparency is on/off per pixel. Use WebM for soft edges.
Details: rendering → transparency.
#Audio missing
Work through these in order; vidmake timeline project.json lists every clip that will be mixed under Audio:.
- The output format has no audio:
.gifand PNG sequences never do. --mutedwas passed torender.- The video layer is
muted: true, or its source has no audio stream (vidmake probe clip.mp4shows"hasAudio": false). - The clip isn't in the rendered range: a
startpast the end (validatewarns[afterEnd]), a--framesrange that excludes it, or atrimStartbeyond the source length. - Volume is 0, or a
volumekeyframe list starts at 0 and never rises; fades longer than the clip. - The player is muted. Browsers autoplay muted; the demo players on this site start muted too.
A project with no sound at all renders an MP4 without an audio stream, which some upload tools reject. Add a
silent or quiet audio layer if you need a track.
#Slow renders
- Preview first:
vidmake storyboardandvidmake stillare instant compared to a render;render --draftrenders at half size, without motion blur, with the fastest encoder settings. - Render only what you are checking:
--frames 4s-6s. - Composition
motionBlurmultiplies the cost by itssamples. Largeblur,glowandshadowradii on big layers are the most expensive effects. - Many simultaneous video layers each need their own ffmpeg decoder.
- On memory-constrained machines, lower
--concurrency.
More in rendering → performance.
#Validate errors
Errors name the composition, the layer id and its position (main > layers[0], or group `intro` > layers[2]
inside groups), and the field. The common ones:
| message | meaning and fix |
|---|---|
composition `main`: unknown field `fontsize` — did you mean `fontSize`? | a misspelled field anywhere in the composition. Fields are camelCase and checked strictly. Without a close match, the message lists the valid fields |
field(s) fontSize do not apply to `rect` layers | the field exists but not on this layer type. Check the type's page under layers |
unknown layer type `rectangle`. Available: rect, ellipse, text, ... | use one of the listed type values |
text layer needs `text` / image layer needs `src` / path layer needs `d` (SVG path data) | a required field for that type is missing |
file not found: ./broll.mp4 (paths are relative to the project file) | src and font paths resolve from the project file's folder, not your shell's. URLs are not supported |
font family `X` not found ... | see fonts missing |
could not infer a duration (no layer has a fixed length). Set `duration`, e.g. "duration": "5s" | with duration omitted or "auto", at least one layer needs a fixed length (media, explicit duration, or a series) |
layer `a` is inside a series group and needs a `duration` | every child of a series group needs a fixed length |
composition `main` duration: invalid time `3 sec` (use frames, "2.5s", "500ms", "90f" or "m:ss") | see time values |
unknown function `sinn` in expression ... Available: sin cos tan ... | a typo in an =expression or ${...}; the list shows every function |
unknown variable `foo` in expression `foo * 2`. Available: t f gt gf fps dur durf p w h pw ph i n amp bass beat beats pi e tau | expressions only know these variables; props are spliced in with {{name}} and theme tokens with $name, not as variables |
unexpected token End in expression `w/2 +` | an incomplete expression |
tween needs `end` or `duration` (or `spring`) | a {from, to} object without a length; often a misspelled duration |
keyframe must be [time, value, ease?] or {t, v, ease}, got ["1s"] | a malformed keyframe |
unknown easing `easeOutBounc`. Available: ... / unknown preset `fadeUpp`. Available: ... | see easing and presets |
invalid color `#ggg` (use #rrggbb, #rrggbbaa, rgb(), rgba(), hsl(), oklch(), oklab() or a CSS name) | see colors |
unknown theme token `$color.acent` — did you mean `$color.accent`? / $accent is ambiguous: $color.accent, $chart.accent | a misspelled token, or a short name two groups share: write the full path. vidmake theme lists every token; see theme |
theme alias cycle: a → b → a | two tokens alias each other; see aliases |
unknown motion `snapy`. Motions: smooth, snap, bouncy, gentle ... | a misspelled motion; theme motions are listed too. See motion |
motion `"curve"` has no duration of its own; add `duration` | a tween with a bare easing as its motion; add duration or give the motion one |
`to` belongs to exit; enter takes `from` | enter starts from a state and exit ends to one; see states |
`rise` is for text layers ... / wipes don't apply per unit ... | rise and clip: "line" need a text layer; a staggered text can't wipe per letter. See presets |
attach target `nope` must be a sibling layer (same parent) | attach only reaches layers in the same parent; see attach |
no composition `lowerThird`. Available: main | a use layer's ref or a --comp value doesn't match a composition id |
unknown lint code `offscreen` (all, offCanvas, ...) | see lint |
error: project.json: invalid JSON: trailing comma at line 1 column 88 | the file isn't valid JSON (trailing commas and comments aren't allowed). This one exits with status 1 and no ✗ line |
When the error is in a nested layer, the message chains the path:
layer `inset` (pip > layers[1]): layer `cam` (group `inset` > layers[1]): ....
Tip
Point your editor at the JSON Schema to catch unknown fields and wrong types while typing.
#Warnings after upgrading from 0.5
A 0.5 project still renders, with warnings like these:
✓ tokens — 90 frames (3.00s) warning: `tokens` is now `theme`: rename the field, and write `$color.accent` instead of `{{color.accent}}` warning: composition `tokens`: `{{color.ground}}` reads the theme; write `$color.ground` (`{{}}` is for props)vidmake migrate project.json fixes all of them (--check to see what it would change first). Entrances and
text staggers also look different after the upgrade: they now default to the smooth spring and shorter moves
(0.3em on text). That's intended; see presets and stagger to tune
them, or pin the old
feel on one layer: "enter": { "type": "fadeUp", "distance": 40, "motion": { "ease": "easeOutCubic", "duration": "0.5s" } }.
#Lint warnings
Warnings ending in [offCanvas], [textOverflow], [invisible], [zeroDuration] or [afterEnd] don't stop
rendering, but each one is worth a look. The lint page explains what triggers each, how the check
frame is chosen, and how to silence intended ones with "lint": { "ignore": [...] }.
A common surprise: a warning names a frame where the layer looks fine in your storyboard. The check uses one frame
(the midpoint, or after the enter preset); inspect that exact frame with vidmake inspect project.json -f <frame> -l <id>.
#Something renders in the wrong place or not at all
- Nothing visible: check
vidmake timeline(is it on screen then?), the layer order (last is on top; a fullrectadded later covers everything), andvidmake inspect -t <time> -l <id>forOPAC0 or a bbox off the canvas. - Animation never plays: animation times are local to the layer's
start. A tween with"start": "3s"on a layer that starts at 3 s begins at 6 s. Numbers are frames:"duration": 2is two frames, not two seconds. - Group children misplaced: inside a group,
x/yare relative to the group's box (0,0 = top-left), and the box defaults to the parent size. - Mask in the wrong place or time: a
maskis positioned and timed like a sibling of the masked layer, so it needs the samex/y/start(see the logo reveal recipe). - Video frame blank in stills: ffmpeg couldn't start (see above). A video layer that has ended isn't drawn
at all: video layers default to their media length, so set
loop: trueor adurationto keep them on screen.
#License
error: vidmake needs a license to run, exit status 3: this Mac has no activation. Open the vidmake app and buy or enter your key, runvidmake license activate <KEY>, or setVIDMAKE_LICENSE_KEY. Lost the key? The app's paywall and the license page email it to you.this license is active on 3 machines already: deactivate vidmake on a Mac you no longer use (License, then Deactivate this Mac, orvidmake license deactivate). The error lists the Macs and when each was last used; one unused for 30 days frees its seat by itself.vidmake checks its license with the server at least once every 30 days(the app: Connect to the internet): the Mac has been offline for longer than its activation lasts. Connect once and try again.your license covers vidmake 1.x, and this is vidmake 2(the app: vidmake 2 is here): this app is a newer major version than your license. Upgrade from the app, or keep using vidmake 1: the app's Download vidmake 1.x instead gets the newest release your license covers.- The app stays on Finish in your browser: it's waiting for Stripe to confirm the payment, which is usually seconds. If you closed the checkout, choose Reopen checkout or Cancel. If you paid and it still waits, the key is in your email: choose Cancel, then I have a license key.
#The update check
Once a day vidmake asks the license server for a newer release (3-second timeout). On a terminal it asks whether to update; otherwise it prints one line to stderr:
note: vidmake 1.2.1 is available (you have 1.2.0); run `vidmake update` to install it- Disable it with
VIDMAKE_NO_UPDATE_CHECK=1(also skipped whenCIis set). Recommended for agents, CI and scripts. Stdout and--jsonoutput are never affected either way. - A delay of up to 3 seconds on the first command of the day means the license server is slow to reach. Disable the check if that matters.
- An update can't write to the app's folder: updating replaces
vidmake.appwhere it is, so it needs write access to that folder (Applications is writable by administrators). Update as an administrator, or download the new version and drag it to Applications. vidmake isn't running from vidmake.app, so it can't update itself: thisvidmakewas copied out of the app. Run the one inside it (link it as installation shows).- Skipped a version by mistake: the choice is stored in
update-check.jsonin the cache folder ($VIDMAKE_CACHE_DIR, else$XDG_CACHE_HOME/vidmakeor~/.cache/vidmake). Delete the file to reset it.
#Still stuck?
vidmake docs <topic>prints the relevant part of the reference.- Set
VIDMAKE_DEBUG=1to see the exact ffmpeg command of a render, and try it by hand. - Reduce the project: delete layers (
vidmake rm) until the problem disappears, then look at the last one removed.