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
Commit df1a3d7
Browse filesBrowse the repository at this point in the historyBrowse files
authored and
Zachary Guglin
committed
layers LA4c, LA4d, CC2f: footage that moves, is cut or fades is keyed in every export, each editor placing it as raea drew it
The manifest says what of a video a box it's in leaves showing (clip) and its object-position; layers.json keeps
each footage clip's box, clip, object-position and opacity at the frames they change (keys). One reading of a
picture (plan::picture: object-fit, object-position, cut only where its box or a box it's in cuts it inside the
frame) places it in every export:
- the FCP7 XML keyframes Basic Motion, crop and opacity, written per editor (NAME.premiere.xml, NAME.resolve.xml):
Premiere's crop in Basic Motion, Resolve's as FCP7's Crop mirrored for a phone's take stored turned; Scale and
Center each in that editor's clip at Scale 100 (Premiere: the media as described, a phone's take as stored;
Resolve: the media fitted to the timeline), read from what each did with what it was given
- the CapCut draft keys position, scale and opacity (common_keyframes); its crop holds as the first frame shows it,
and a crop that changes over the clip (a split screen's seam) is said: CapCut can't show it
- keys a straight line between gives to 0.15 px are left out; a clip at another speed is placed at its own, and said
Also: a layer's ProRes movie that opens on an opaque frame keeps one sample description with alpha (VideoToolbox
otherwise starts a second, which Premiere won't import and Resolve shows opaque); a sound's clip ends where its file
does; the stack's duplicate code folded (tools/dupes.max 59 -> 58 near).
Checked on 11-17: Premiere Pro 26.2.2 and DaVinci Resolve 21.2.0 on the Telluride test (iPhone takes, a keyframed
split close) and the positioning test (horizontal and phone takes, 1080 and 4K compositions); CapCut 9.5 on Telluride;
LA3a composites the fixtures and the positioning test back as the render at 33-49 dB.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
let name = Path::new(&l.files[c.file].path).file_name().map_or_else(String::new, |n| n.to_string_lossy().into_owned());
59
+
notes.push(format!("{name} (frames {}-{}): what of it is cut changes over its run, and CapCut's crop holds: cut as its first frame shows it throughout, its moves and fades keyed", c.start, c.end() - 1));
60
+
}
51
61
// its own sound at its gain, or silent: the composition doesn't play its sound there
52
62
let own = c.link.as_deref().and_then(|id| all().find(|a| a.id == id));
/// CC2f: a footage clip's keys in CapCut's terms, around the cut its first frame shows: a steady move is its two ends,
85
+
/// a move inside a card keeps the card's cut, and a cut that changes (the split close) is said
86
+
#[test]
87
+
fnkeyed_footage_is_keyed_around_its_first_cut(){
88
+
use raea_app_layers::model::Key;
89
+
let canvas = (1080.0,1920.0);
90
+
let key = |frame:i64,bx:[f64;4],clip:Option<[f64;4]>| Key{ frame,r#box: bx, clip,position:None,opacity:1.0};
91
+
let first = |c:&LClip| raea_app_layers::plan::picture(&c.r#box.unwrap(),&c.clip,"cover",&None,(1080.0,1920.0), canvas).0.kept;
92
+
// a picture in picture sliding right 10 px a frame: its two ends
93
+
let slide = LClip{r#box:Some([100.0,500.0,400.0,400.0]),keys:(0..24).map(|f| key(f,[100.0 + 10.0* f asf64,500.0,400.0,400.0],None)).collect(), ..LClip::new("v".into(),0,0,24,0.0)};
0 commit comments