Kadr 1.1 — a declarative video composition library for Apple platforms
Swift Forums
Kadr 1.1 — a declarative video composition library for Apple platforms
AVFoundation can do almost anything to video and expresses almost none of it readably. A two-clip composition with a crossfade and a title means AVMutableComposition, tracks, instructions, layer instructions and a videoComposition — a few hundred lines before anything renders, most of it bookkeeping you have written before. Kadr is a result-builder DSL over AVFoundation, async/await throughout: ```swift let url = try await Video { VideoClip(url: a).trimmed(to: 0...5) Transition.fade(du...
0 comments
No comments yet.