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
add-video/edit changes ignored by CapCut 8.7 (Windows): timeline may be driven by template-2.tmp + draft_meta_info.json, not draft_content.json #35
Split out from #32 (reported by @YacAttack). This is separate from the #32 registration fix (#33) and the dimension fix (#34) — both merged — and is the more serious of the three.
Symptom (CapCut 8.7.0.3685, Windows 10, capcut-cli 0.9.0)
init a draft, then add-video / add-audio / import-srt. capcut info shows the timeline correctly (video + audio + 23 caption objects). But opening the project in CapCut loads the old/empty sample, not the CLI-built timeline. Edits to draft_content.json are intact on disk but ignored by the app.
Hypothesis
The CLI reads and writes draft_content.json (and draft_info.json). On CapCut 8.7 / Windows the timeline may instead be driven by template-2.tmp and/or draft_meta_info.json — reporter observed both still referenced the original sample (example.mp4) after CLI edits. If so, writing only draft_content.json is necessary but not sufficient on this version.
Note: editing a draft while CapCut is running gets clobbered on exit (CapCut owns the project in memory and flushes on close) — expected, not this bug. This bug reproduces with the app closed during edits.
Need to confirm
A full draft folder from an affected install (CapCut 8.7 / Windows), specifically:
draft_content.json
draft_meta_info.json
template-2.tmp
to determine which file the GUI treats as canonical on this version, then write to the right target (likely behind a version detection so older CapCut isn't broken).
Acceptance
CLI edits to a draft are reflected when opened in CapCut 8.7 (Windows) after restart, without overwriting an app-created project.
Existing (older CapCut) behavior preserved, gated on detected version where the canonical file differs.
Tracking the implementation of the fix in #39 (adds a sync-timelines command to reconcile the template-2.tmp/draft_info.json mirror so CLI edits are honored on CapCut >= 8.7). Contributions welcome there.
Activity
feat: v0.12.0 — quickstart, replace-media, fixture bundle
renezander030 commentedon Jul 2, 2026
Tracking the implementation of the fix in #39 (adds a
sync-timelinescommand to reconcile thetemplate-2.tmp/draft_info.jsonmirror so CLI edits are honored on CapCut >= 8.7). Contributions welcome there.renezander030 commentedon Jul 8, 2026
Resolved in v0.13.0 via
sync-timelines(see #39).diagnosenow points to it as the repair path for CapCut 8.7 mirror drift instead of deferring here. Please reopen if edits are still dropped aftersync-timelines --apply. https://github.com/renezander030/capcut-cli/releases/tag/v0.13.0