Skip to content

docs(schema): note CapCut's frame quantisation of durations on first open - #72

Merged
renezander030 merged 1 commit into
masterfrom
docs/69-frame-quantisation
Aug 9, 2026
Merged

renezander030 merged 1 commit into
masterfrom
docs/69-frame-quantisation

Conversation

@renezander030

Copy link
Copy Markdown
Owner

Closes #69. Split out of #60 (finding 3), reported by @scornik, who correctly classified it as app behaviour rather than a CLI bug.

Adds a section to docs/draft-schema/01-tracks-and-segments.md next to the existing timerange material. grep found no mention of quantisation anywhere in docs/ before this.

Covers the reporter's 30fps table plus the three things that follow from it:

  • drift stays sub-frame and the timeline stays contiguous, so a rounded draft is not a corrupted one;
  • sub-frame distinctions are lost — 866ms and 867ms both land on 26 frames;
  • sub-frame segments survive — three 33ms segments each became exactly one frame and kept their positions.

Ends with the pre-quantisation formula, and a note to round rather than truncate since CapCut rounds to nearest.

Docs only — no code touched.

…open

Timeranges are microseconds, but the app snaps every duration to the
project's frame grid the first time it opens a draft, so what you read
back is not what you wrote. Nothing in docs/ said so.

Records the 30fps measurements from the report, the fact that drift stays
sub-frame and the timeline contiguous, that sub-frame distinctions are
lost (866ms and 867ms both land on 26 frames) while sub-frame segments
themselves survive, and the pre-quantisation formula for callers who need
what they write to equal what the app stores.

Closes #69
@renezander030
renezander030 merged commit bfe1f83 into master Aug 9, 2026
8 checks passed
@renezander030
renezander030 deleted the docs/69-frame-quantisation branch August 9, 2026 10:20
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.

docs: note CapCut's frame quantisation of durations on first open

1 participant