Declare and build a video
A video is one video.toml and the side files it names. urdido reads it, refuses what it
can catch before it spends time or money, builds, and measures the result. This guide is
the order of work.
1. Write the declaration
Section titled “1. Write the declaration”Start from the example in Build a first video or from a published video of your own. Pick the source kind that matches what the video is made of (see Source kinds), and keep the product’s brand, words and URLs in the declaration, never in a script of your own.
A path starts at the declaration’s folder, or at a root the declaration names under
[roots].
2. Check it
Section titled “2. Check it”urdido check video.tomlThe check refuses an unknown key with the nearest valid name, and a table keyed by
language that lacks a language [video] languages declares. Fix the key or the table;
never work around a refusal. Two other kinds of line can appear:
- a
stale:line names a built cut (the long one or a Short) older than its takes, scenes or declaration: build that cut again before publishing it; - a
words:line names a bought take without current word times, and theurdido wordscommand that writes them.
urdido check --schema prints the JSON Schema an editor can complete from.
3. Narrate it
Section titled “3. Narrate it”Buy the takes and hear them back before you build. See Narrate a video.
4. Plan before you render
Section titled “4. Plan before you render”urdido build video.toml --language en --planThe plan stops at the timeline and writes <name>.<language>.plan.json. Read it before
a long encode: it names each shot, the second chosen for an "auto" start, and the takes
in order.
5. Build
Section titled “5. Build”urdido build video.toml --language en--cut all builds every cut: the long one, then each chapter or Short (an explainer’s
urdido shorts too), and skips a cut already built from today’s inputs. The final check
measures loudness, true peak and flashes on the finished file; a refusal names the
second and the clip.
A variant of a published video
Section titled “A variant of a published video”To try a second opening of a video already published, keep the kind and add
[video] base = "../published". The variant carries only the tables and files it
changes; the rest is read from the base through hard links, so no footage is copied.
A series of one structure
Section titled “A series of one structure”For a program of many videos with one structure (a series of games, of products), write the template once:
urdido expand template.json items.json --out programs/It fills a script and a storyboard, one chapter per item, and refuses an item that lacks
a field by name. Given a folder of item files and --language, it expands and builds
only the programs whose data or template changed.