Skip to content

docs(compose): clip start and length are optional - #75

Merged
a-essawy merged 4 commits into
mainfrom
feat/compose-auto-timing
Aug 25, 2026
Merged

docs(compose): clip start and length are optional#75
a-essawy merged 4 commits into
mainfrom
feat/compose-auto-timing

Conversation

@a-essawy

Copy link
Copy Markdown
Contributor

Documents the auto-timing change in rendobar/rendobar#586.

  • Join two clips now leads with the untimed form. Both clips render in full, back to back, crossfading in between, with no durations anywhere. The hand-timed version stays below it, since it produces the same render.
  • New Timing is optional section under the timeline model: what each omitted field defaults to, and the two places timing is still required (text / image clips, and inside a composition).
  • Reference corrections: clip fields no longer claim start and length are mandatory, scenes[].duration documents the new source-derived default, and overlays no longer says start and length are required there. They never were used: desugarScenes overwrote the length unconditionally.
  • The scene-first example drops the overlay's placeholder "start": 0, "length": 7.4.

Merge alongside the monorepo PR, not before it.

Auto-timing lands: a clip with no start and no length plays its whole source,
laid after the clip before it and overlapped by any transition between them.

- "Join two clips" leads with the untimed form and keeps the hand-timed one
  below, since both render the same thing.
- New "Timing is optional" section under the timeline model, with the default
  for each field and the two places timing is still required.
- Reference tables corrected: clip fields, scene duration, and overlays, which
  no longer need a length the engine was discarding.
Rewrites the timing section around the container idea: a clip runs as long as its content does, never past its container, and "end" runs it to the container's end. Replaces four rules that disagreed (whole source on a track, whole scene in a scene, length required on text and images, overlay length discarded). Adds the music-bed and watermark worked examples and corrects the reference tables.
A clip is capped by its container, but "end" is the opposite request and asks for the container in full. On a source shorter than that it is impossible, and the job is rejected for outrunning its source.
@a-essawy
a-essawy merged commit 8023463 into main Aug 25, 2026
1 check passed
@a-essawy
a-essawy deleted the feat/compose-auto-timing branch August 25, 2026 13:40
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant