Source kinds
A video’s [source] kind says what the video is made of, and so which pipeline builds it.
Each kind needs the keys listed in
the declaration.
Choosing the kind
Section titled “Choosing the kind”| The video is | Kind |
|---|---|
| Narration over footage, with keywords called out | explainer |
| The product filmed scene by scene | scenes |
| Editorial cards and declared media, beat by beat | illustrated |
| One recording cut into chapters | chaptered |
| A picture another tool renders (a page, Remotion, Blender) | rendered |
explainer
Section titled “explainer”Narration over footage. [source] shots names a JSON file listing, for each take, the
shots that play under it: a source id with its start second, and optionally a fixed
dur, a speed and a crop box. Shots without dur share what is left of the line.
Footage is read from <footage>/src/<id>.mp4 (footage defaults to footage), or from
a film of your own named <kind>:<scene>, read from <footage>/<kind>/<scene>.webm: a
terminal:<scene> or a page:<scene> (see Record scenes).
A shot’s start can be "auto": the first stretch it needs past the clip’s black lead-in,
logos and still cards, read from the clip’s index (urdido footage). A shot’s moment
(a second of the source) and word land that frame on the word, solved from the take
each plan, so a retake moves the shot with it.
Instead of a second, a shot’s at or moment can name what it wants to show:
{ "find": "the big monster" }. urdido asks a local vision model what each shot of the
clip shows (Index a footage clip)
and starts on the shot whose description holds the phrase; --plan prints the shot it
chose and what it shows. A phrase no shot shows stops the plan, listing what the shots
show.
Keywords declared under callouts in the shots file appear when the take says them,
found in the take’s word times; one with a def stays longer and shows its definition.
The title, the callouts and the closing card are drawn in the styles [source] styles
names, with the closing words from [source.closing.<language>]. [description] with
[source] sources writes the description with chapters and the credits of the clips the
cut shows; a clip without a credit stops --plan.
scenes
Section titled “scenes”A product filmed scene by scene. [source] listing names the scene list a recording
leaves; each line plays over its own scene, held on its last frame when the scene is
short or played faster when it is long. [[record.step]] declares the commands that
record the scenes, and urdido record runs them in order.
illustrated
Section titled “illustrated”Editorial illustrations: [source] declaration names a storyboard of beats per take,
each a card layout or a clip of declared media with its licence. A claim with a value
(a price, a figure) is held for review unless the voice says that number at its anchor.
This kind runs the most checks before it renders anything: see
What urdido checks.
chaptered
Section titled “chaptered”One recording of a product, cut into chapters. [source] folder, recording and
chapters name the recording, its chapters.json and how many chapters it holds. The
build adds the cards, the opening, push-ins on what the recording marked, and the cuts:
the full video, a teaser, a chapter clip and its vertical cut.
Narrated in two languages, give each its own recording, so recording one never overwrites the other:
folder = { en = "recordings/story-en", "pt-BR" = "recordings/story-pt-BR" }rendered
Section titled “rendered”The picture is drawn by another tool and handed over finished: a video (alpha allowed, such as ProRes 4444 or qtrle) or a frame sequence. urdido does everything else: the narration placed and mixed over the music at -14 LUFS, the captions, the chapters in the description, the checks, and the Shorts and upload that follow from any cut.
[source]kind = "rendered"picture = "render/show.mov" # or "render/frames/%05d.png" with fps = 30timeline = "render/timeline.json"A frame sequence needs fps: its rate is never guessed. The timeline places what the
picture does not carry:
{ "takes": [{ "take": "intro", "at": 0.4 }, { "take": "chapter-1", "at": 9.2 }], "footage": [{ "src": "footage/src/dolmen.mp4", "at": 3.0, "from": 12.0, "length": 6.0 }], "chapters": [{ "at": 0, "title": { "pt-BR": "Abertura" } }], "length": 64.0}takesnames the script’s lines; their takes are bought withurdido prepareas for any kind. A take that would run past the picture’s end stops the plan.footagelays a span of a clip under the picture, seen where the picture is transparent. A span that runs into the clip’s closing card stops the build.length, where given, must agree with the picture’s own length within a frame.
Stepping a page by a clock into frames stays with whatever draws it.
A drawn host on screen
Section titled “A drawn host on screen”In an explainer or a scenes video, [presenter] sprites names a folder of
<pose>-closed.png, -half.png and -open.png; the mouth follows each take’s loudness,
closed between lines. poses = { "chapter-2" = "pointing" } changes a line’s pose, and
[presenter.by_speaker.<name>] gives a speaker its own host.
A kind of your own
Section titled “A kind of your own”A package adds a kind by registering a function pipeline(build) -> int under the entry
point group urdido.sources. [source] kind then names it, and the build hands it the
loaded declaration with its roots, folders and finishing stages.
Variants
Section titled “Variants”Any video can be built as a variant of another: [video] base = "../published" lays the
variant’s tables over the base’s and reads its files from a view of the base folder with
the variant’s own files laid over, made of hard links so no footage is copied. A JSON side
file both hold is merged, so a variant storyboard can carry only the scene lists it
changes.