one cut, every platform: multi-format export - #47
Open
OrellBuehler wants to merge 3 commits into
Open
Conversation
A clip keeps a crop per delivery shape (Clip.framings) beside the one smart crop bakes into its transform, Timeline::for_delivery renders the cut at another frame wearing those crops (and re-fits generated captions), and render_variants writes one file per delivery, named by shape. A framing pass (framing_inputs / sample_framings / apply_framings) samples each shot once and writes a crop for every requested shape as one revision. Co-Authored-By: Claude Fable 5.1 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01Gm2h2GQnUyBRLnVe431o9w
export_variants (MCP) and export_variants (Tauri) frame every shot for every requested shape, render one file per delivery beside the chosen path, and stream progress across all of them. The export dialog gets a Deliver to section: shape chips, the file names they will write, a smart crop toggle and a per-file readiness line. Co-Authored-By: Claude Fable 5.1 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01Gm2h2GQnUyBRLnVe431o9w
Co-Authored-By: Claude Fable 5.1 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01Gm2h2GQnUyBRLnVe431o9w
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
Clip.framings) beside the one smart crop bakes into its transform, so framing for 1:1 no longer overwrites the 9:16 framing.Timeline::for_deliveryrenders the cut at another frame wearing those crops (generated captions re-fit to the new aspect);render_variantswrites one file per delivery, named by shape (cut-9x16.mp4), sequentially, with clean cancel.framing_inputs/sample_framings/apply_framings) samples each shot once and writes a crop for every requested shape as oneFrame for 9:16, 1:1revision.export_variantstool: shape names in, one file per shape out, each reported with the platforms it is ready for at its frame.Test plan
cargo test --workspace --no-default-features(new tests: framing model/diff, for_delivery, plan/apply, per-variant graph)cargo test -p kerf-core --no-default-features -- --ignored renders_every(real ffmpeg: two files, probed at their frames)cargo clippy,cargo fmt --check,bun run check,bun test🤖 Generated with Claude Code
https://claude.ai/code/session_01Gm2h2GQnUyBRLnVe431o9w