Repository navigation
reel export-timeline: the cut as FCPXML for Final Cut Pro and Resolve, captions as .srt - #89
Merged
Merged
Conversation
…oved captions Writes a reel's resolved timeline (beat-snapped, whole frames) as an FCPXML 1.10 project for Final Cut Pro and DaVinci Resolve: each shot's source file with its trim and length, looping clips repeated to fill their shot, the music bed under the cut, and a sidecar .srt with each shot's approved caption. Render-time work (framing, motion, transitions, overlays, end card, voiceover) is not carried over and is listed line by line. From the 2026-12-01 promo run's product feedback. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_019RsXeZgWqrsY2YgV4TjUdJ
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.
Observation
Agent-driven video editors released this autumn hand the agent's cut back to the editor a creator already uses:
Until now a funkbox reel could only come out as a rendered MP4.
What changed
funkbox/reel/fcpxml.py:export_timeline()/write_timeline()build an FCPXML 1.10 project from the reel's resolved timeline (the same beat-snapped, whole-frame spans a render uses):<video>items and clips become<asset-clip>, each with its trim and length; aloopclip is repeated to fill its shot; a clip that runs out leaves a named<shot> holdgap.srtholds one cue per captioned shot, with the approved copy text, timed to that shotnoteslists, shot by shot, what is not carried over: framing and motion, transitions, speed ramps, overlays, the end card and the voiceoverfunkbox reel export-timeline X.reel.json -o out/X.fcpxml [--format 16x9]prints the paths and onenot carried over:line per note.docs/reel.md, "Finish the cut in another editor (FCPXML)", plus a line in the quick-start command list.docs/catalog.jsonand the tool count are unchanged. Nothing underpromo/changed.How it was tested
tests/reel/test_export_timeline.py(10 tests): spine offsets and durations match the timeline's frames; how stills, clips and drawn sources map; media paths and the version; a loop repeats to fill its shot; a clip that runs out leaves a gap; SRT cues carry the approved text; the notes; music under the cut; the.srtis written next to the.fcpxml; the CLI end to end.FUNK_GL_BACKEND=egl python -m pytest -qgives 1602 passed, 26 skipped (software OpenGL, 4-core CPU).ruff checkandruff format --checkare clean on the changed files.From the 2026-12-01 promo run's product feedback.
Generated by Claude Code