Repository navigation
Description
Three findings from CapCut 8.5.0 (build 266) on macOS, Apple Silicon. capcut version reports this release as status: untested, evidence: none, and capcut diagnose reports layout: timelines-nested.
No fixture bundle is attached. capcut fixture currently emits device identifiers unredacted (#59), and I would rather contribute the bundle through a fixed tool than hand-sanitise and hope I caught everything. These findings stand on their own; happy to supply a bundle once #59 lands.
1. timelines-nested does NOT discard tool writes on 8.5.0
docs/version-support.md and the diagnose next_actions warn that on this layout CapCut keeps the live document at Timelines/<id>/draft_info.json and may discard edits written to the project-root file. On 8.5.0 that does not happen.
A CLI-created draft with 14 video segments was opened in CapCut and closed. Afterwards:
- all 14 segments present, in order, with correct materials;
- CapCut created
Timelines/<draft_id>/draft_info.json; - that nested file and the project-root
draft_info.jsonwere byte-identical (SHA compared).
So CapCut regenerated the mirror from the tool's content rather than overwriting it from elsewhere. For 8.5.0 the caution can be softened from "may discard those edits" to "regenerates the mirror from the root file". I have not tested 7.x, which is what #50 actually reports.
2. capcut init produces a draft that CapCut 8.5.0 refuses to open
The bundled template stamps version: 7 with an empty new_version. A real 8.5.0 draft carries version: 360000 and new_version: "167.0.0".
CapCut lists such a project and shows 00:00 duration, then on open reports:
Couldn't use project — Current project is from an unusual path and cannot be used currently.
The message names the path, but the path is not the problem. I compared every field of root_meta_info.json and draft_meta_info.json against a working project: identical key sets, draft_fold_path / draft_json_file / draft_root_path / draft_cover all absolute and correctly formed, folder in the same com.lveditor.draft/ root, no nesting difference. The only meaningful deltas were version (7 vs 360000), new_version (empty vs 167.0.0), platform.app_version (6.5.0 vs 8.5.0), color_space (-1 vs 0) and render_index_track_mode_on.
Cloning an empty real 8.5.0 project as --template produced a draft that opens normally, and the markers survive subsequent add-video writes. Two variants were tried — one plain, one additionally given an uppercase UUID and a real draft_cover.jpg — and both opened, so the UUID case and the missing cover were not contributing.
Possible fixes: warn or refuse in init when the resolved template's version is far below the version detected in the target store, and/or add a way to seed from an existing empty project in that store.
3. Frame quantisation on open (documentation note)
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 and the timeline remained contiguous; 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.
This is CapCut's behaviour rather than a CLI bug, but it is worth a line in the schema 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.
Activity
renezander030 commentedon Aug 9, 2026
Thanks @scornik — all three findings verified against the code and split into their own issues, since they have different fixes and lifetimes and could not close together:
inittemplate rejected by 8.5.0timelines-nestedingests tool writesOne adjustment on finding 1. You suggested softening the caution, and I've deliberately not done that: the text in
src/store.tsis already scoped to "CapCut 7.x" and cites #50, which is the version you say you didn't test. The real defect your report exposes is narrower — the warning fires on layout detection alone, so an 8.5.0 user sees 7.x text your evidence contradicts. #71 version-gates it and leaves the 7.x wording intact for older builds.Finding 2 held up exactly as described;
src/factory.tshardcodes the emptynew_versionand the template declares 6.5.0. Your differential work ruling out path, UUID case and cover art is what made it cheap to act on — the app's "unusual path" error points at entirely the wrong thing.Finding 3 is documented rather than fixed, as you framed it. The detail that 866ms and 867ms both land on 26 frames made it into the docs.
Separately: #59 is fixed in #66.
device_id,mac_addressandhard_disk_idare now redacted, andSANITIZE_REPORT.jsonno longer writes raw paths. Once that lands, an 8.5.0 bundle would be very welcome — it's the artifact #68 needs to move off report-only evidence.Closing this as split; the three issues above carry the work.
fix(store): name the nested Timelines/ layout on >= 8.7 storage (#95) (…