From 7a2d09b2aaf90755f7704ddd4b1884026921cfca Mon Sep 17 00:00:00 2001 From: "Dr. Faceless" <357045463+carq27@users.noreply.github.com> Date: Tue, 17 Nov 2026 12:40:40 -0500 Subject: [PATCH 1/2] docs: add local clip compile example --- examples/README.md | 1 + examples/compile-local-clip.md | 13 +++++++++++++ examples/local-clip-compile.json | 20 ++++++++++++++++++++ 3 files changed, 34 insertions(+) create mode 100644 examples/compile-local-clip.md create mode 100644 examples/local-clip-compile.json diff --git a/examples/README.md b/examples/README.md index f2dff91..a053117 100644 --- a/examples/README.md +++ b/examples/README.md @@ -4,6 +4,7 @@ Copy-paste recipes for common CapCut / JianYing workflows. Every recipe is one s | Recipe | Use case | |---|---| +| [compile-local-clip.md](./compile-local-clip.md) | Build one CapCut draft from a local video with `capcut compile` | | [cut-to-shorts.md](./cut-to-shorts.md) | Slice one long video into multiple shorts | | [batch-fix-subtitles.md](./batch-fix-subtitles.md) | Fix typos and re-sync timing in one pass | | [build-short-from-scratch.md](./build-short-from-scratch.md) | CLI-only: clip + VO + music + title → finished short | diff --git a/examples/compile-local-clip.md b/examples/compile-local-clip.md new file mode 100644 index 0000000..d4172ba --- /dev/null +++ b/examples/compile-local-clip.md @@ -0,0 +1,13 @@ +# Compile one local clip into a CapCut draft + +This example creates a five-second vertical draft from a video already included in this repository. It does not download media or use an online service. + +From the repository root, run: + +```sh +capcut compile examples/local-clip-compile.json +``` + +The media path in the spec is relative to the spec file, so it works from any clone of this repository. The command places the new draft in CapCut's drafts folder. Open CapCut and look for **Local Clip Example**. + +Desktop-app verification has not been completed for this example, so no CapCut version is claimed. diff --git a/examples/local-clip-compile.json b/examples/local-clip-compile.json new file mode 100644 index 0000000..6190621 --- /dev/null +++ b/examples/local-clip-compile.json @@ -0,0 +1,20 @@ +{ + "name": "Local Clip Example", + "width": 1080, + "height": 1920, + "fps": 30, + "ratio": "9:16", + "tracks": [ + { + "type": "video", + "name": "Video", + "items": [ + { + "path": "../media/cleopatra-family-faces-short.mp4", + "start": 0, + "duration": 5 + } + ] + } + ] +} From dfe1240669a7420bbb0a8a1908a7d7902d7f9536 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Ren=C3=A9=20Zander?= <96420681+renezander030@users.noreply.github.com> Date: Wed, 18 Nov 2026 10:21:23 +0100 Subject: [PATCH 2/2] docs: record contributor's Windows CapCut verification Session: codex:01a1edf1-8d3c-7e42-9537-00b174fe2c39 --- examples/compile-local-clip.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/examples/compile-local-clip.md b/examples/compile-local-clip.md index d4172ba..32caa33 100644 --- a/examples/compile-local-clip.md +++ b/examples/compile-local-clip.md @@ -10,4 +10,4 @@ capcut compile examples/local-clip-compile.json The media path in the spec is relative to the spec file, so it works from any clone of this repository. The command places the new draft in CapCut's drafts folder. Open CapCut and look for **Local Clip Example**. -Desktop-app verification has not been completed for this example, so no CapCut version is claimed. +Verified by the contributor: the example draft opens in CapCut 9.8.0.4213 on Windows.