mirror of
https://github.com/shinyobjectz/raea.git
synced 2026-12-01 06:53:19 -10:00
- apps/capcut exports the composition in layers first (raea_app_layers::export into out/capcut/NAME: the reference, the graphics, under and captions passes, layers.json) and writes layers.json as CapCut's tracks (from_layers.rs, pure): bottom first, the footage CapCut's main track, "raea overlay" (the graphics) above it, "raea captions" above that, "raea under" below the footage when there is one. A footage clip's linked sound is its volume, as CapCut keeps a video's own sound (Extract audio separates it); footage with no linked sound is silent. - The reference render is copied into the draft's folder, on no track (where CC2d kept it only beside the draft). - The export's own three renders, its overlay and under spans, its footage-covered check and its media probes go: raea-app-layers does them, for every editor. CapCut keeps where a picture sits in its terms (plan::place) and the draft's cover. The manifest readers' tests move to raea-app-layers with the code; `lay` goes (model::lay). - What changes for a composition with no captions: the 3D is under the footage, as raea draws it, not over it. Checked: lower-third and three-d (apps/layers/fixtures) exported as drafts with -o: footage, raea overlay, raea captions (frames 10-50) / raea under, raea overlay, raea captions; reference.mp4 in each draft folder. Tests: raea-app-capcut (with a layers.json-to-tracks test), raea-app-layers; tools/layers.sh; manual regenerated. Co-Authored-By: Claude Opus 5.5 <[email protected]>
19 lines
951 B
TOML
19 lines
951 B
TOML
[package]
|
|
name = "raea-app-capcut"
|
|
version = "0.1.0"
|
|
edition = "2024"
|
|
license = "FSL-1.1-ALv2"
|
|
publish = false
|
|
description = "`raea export capcut`: a composition as a CapCut draft ready in its timeline, written from its layers (raea-app-layers: footage and sounds as clips of their files, the graphics, captions and what is under the footage as movies; docs/capcut.feature, docs/layers.feature LA4b)"
|
|
|
|
[dependencies]
|
|
dunce = "1"
|
|
raea-runtime-bundle = { path = "../../runtime/bundle" }
|
|
raea-io-capcut = { path = "../../io/capcut" }
|
|
raea-io-alpha = { path = "../../io/alpha" }
|
|
raea-io-media = { path = "../../io/media", default-features = false, features = ["soft-audio", "apple"] }
|
|
raea-io-home = { path = "../../io/home" }
|
|
# the composition exported in layers (layers.json), which the draft is written from (docs/layers.feature LA4b)
|
|
raea-app-layers = { path = "../layers" }
|
|
image = { version = "0.25", default-features = false, features = ["jpeg"] }
|