You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
docs: note CapCut's frame quantisation of durations on first open #69
Split out of #60 (finding 3), reported by @scornik. Correctly self-classified there as app behaviour rather than a CLI bug — this is a docs-only task.
Durations written at exact microseconds are snapped to the frame grid the first time CapCut opens the draft. At 30fps:
written
after open
frames
2767000
2766666
83.000
3133000
3133334
94.000
334000
333333
10.000
866000
866667
26.000
867000
866667
26.000
Afterwards 0/14 segments were off-grid, the timeline stayed contiguous, and drift was under one frame (max 667µs). Note the last two rows: 866ms and 867ms both land on 26 frames, so sub-frame distinctions are not preserved.
Sub-frame segments do survive — three 33ms segments became exactly one frame each (33333/33334µs) and kept their positions.
grep finds no mention of quantisation anywhere in docs/. A caller writing exact millisecond timings should know they will be rounded, and that pre-quantising to the frame grid is the only way to make what you write equal what the app stores.
Planned fix: a short section in the schema docs. A frame-grid helper is a possible follow-up; the docs note should not wait on it.
I was thinking of taking the focused docs-only slice here: add a short frame-grid quantisation section under docs/draft-schema, using the 30fps examples from this issue and keeping the frame-grid helper out of scope. I would run the documented checks and link this issue from the section. Does that scope fit what you had in mind?
Hi @tomatotomata, your scope was right, and the timing here was mine to get wrong. You posted this at 10:06 and I opened #72 covering the same ground at 10:08, without having seen your comment first. Sorry about that. Labelling something good first issue and then taking it myself is not how I want this repo to run, so #75 adds a claiming rule to CONTRIBUTING.md: comment first, wait to be assigned, and maintainers answer before picking one up.
The follow-up this issue named is still open and unclaimed, and it is the better piece anyway. #76 is the frame-grid helper, so that callers can pre-quantise instead of copying the formula out of the docs. Acceptance criteria are on the issue, including the 866000 vs 867000 case from the table above.
It is yours if you want it. Say the word there and I will assign it, and I will review the same day you open the PR.
Activity
tomatotomata commentedon Aug 9, 2026
I was thinking of taking the focused docs-only slice here: add a short frame-grid quantisation section under
docs/draft-schema, using the 30fps examples from this issue and keeping the frame-grid helper out of scope. I would run the documented checks and link this issue from the section. Does that scope fit what you had in mind?release: v0.18.0 (#74)
renezander030 commentedon Aug 10, 2026
Hi @tomatotomata, your scope was right, and the timing here was mine to get wrong. You posted this at 10:06 and I opened #72 covering the same ground at 10:08, without having seen your comment first. Sorry about that. Labelling something
good first issueand then taking it myself is not how I want this repo to run, so #75 adds a claiming rule toCONTRIBUTING.md: comment first, wait to be assigned, and maintainers answer before picking one up.The follow-up this issue named is still open and unclaimed, and it is the better piece anyway. #76 is the frame-grid helper, so that callers can pre-quantise instead of copying the formula out of the docs. Acceptance criteria are on the issue, including the 866000 vs 867000 case from the table above.
It is yours if you want it. Say the word there and I will assign it, and I will review the same day you open the PR.
docs(schema): note CapCut's frame quantisation of durations on first …