docs(compose): clip start and length are optional - #75
Merged
Conversation
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.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Documents the auto-timing change in rendobar/rendobar#586.
text/imageclips, and inside acomposition).startandlengthare mandatory,scenes[].durationdocuments the new source-derived default, andoverlaysno longer saysstartandlengthare required there. They never were used:desugarScenesoverwrote the length unconditionally."start": 0, "length": 7.4.Merge alongside the monorepo PR, not before it.