Skip to content

feat(podcast): multicam podcast pipeline with full-length and topic episodes - #976

Open
140george wants to merge 3 commits into
OpenMontageInc:mainfrom
140george:feat/podcast-pipeline-full-episodes
Open

140george wants to merge 3 commits into
OpenMontageInc:mainfrom
140george:feat/podcast-pipeline-full-episodes

Conversation

@140george

Copy link
Copy Markdown

What

Adds scripts/podcast_pipeline/, a project.json-driven pipeline for multi-camera podcast shoots (guest camera, host/co-host two-shot camera, wide camera, multitrack recorder such as a RØDECaster). From one shoot it produces:

  • Vertical reels (9:16, ~75 s): title behind the people (Vision person matte), word-timed captions, face-tracked framing, plus horizontal versions and 2x2 multicam proxies for a team review room.
  • Full-length episodes (new, episode.py): 16:9 1080p MP4s of the whole conversation.
  • Topic episodes (new): the same tool with one entry per topic, e.g. eighteen 4–8 min YouTube episodes from two one-hour sessions.
  • Final Cut Pro 13 timelines for reels and episodes, on the original camera files and the recorder mix.

How episode.py edits

  • Cuts word by word on who is speaking, from recorder mic levels (the same signal the reels use). Reaction splits appear when the host or co-host interjects.
  • Long-form rhythm through long answers: close-up / punch-in / two-shot / wide every 5–12 s, plus a 6 s wide opener. Optional demo ranges switch to wide / guest camera when people leave their marks.
  • Light trim: silences longer than max_gap shrink to about 1 s. keep ranges can cut retakes or off-record asides.
  • Clock drift: single-file cameras re-sync every 120 s and the recorder every 300 s. Audio is sample-exact to the frame grid, with a two-pass loudnorm to -16 LUFS.
  • FCP 13: output goes through restructure_fcpxml.py: picture on the spine, no crops (FCP renders them black), and 16:9 splits pre-framed as clips.

Also in this PR

  • fix: reel titles shrink until every line fits. A single long word could run off the vertical frame.
  • fix: FCP projects match their pre-framed split clips on the full name prefix (t12, not t1).

Reviewer notes

  • Standalone scripts under scripts/, outside tools/, so the tool registry doesn't discover them.
  • macOS-only for rendering: Apple Vision person mask, VideoToolbox ProRes, MLX Whisper.
  • The example config is anonymised and no LUT is bundled, because camera/creative LUTs are usually licensed. Users point lut at their own .cube.
  • Tested end to end on a real two-session, three-camera shoot: 2 full episodes, 18 topic episodes and 19 reels. Audio and video lengths match on every output, loudness is about -16 LUFS, and FCPXML is valid with all media resolved. The Final Cut import itself has not been tested in this PR.

🤖 Generated with Claude Code

George Ma and others added 3 commits November 21, 2026 22:57
…pisodes

Add scripts/podcast_pipeline/: a project.json-driven pipeline that turns a
multi-camera podcast shoot (guest cam, host/co-host two-shot, wide, multitrack
recorder) into vertical reels, horizontal versions, a review room and
Final Cut Pro 13 timelines.

New: episode.py cuts full-length or per-topic 16x9 episodes from the same
setup: speaker-following multicam edit from recorder mic levels, long-form
rhythm (close-up / punch-in / two-shot / wide), light trim of long silences,
local re-sync every 120 s / 300 s for clock drift, frame-exact audio with
two-pass loudnorm, and an FCP 13-safe FCPXML via restructure_fcpxml.py.

The example config is anonymised and no LUT is bundled (camera LUTs are
usually licensed).

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
A single long word (e.g. ORTHODONTIST at 215 px) could be wider than the
vertical frame; the size loop only checked the line count, so the title
ran off both edges.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Projects were matched to their pre-framed split clips by the first two
characters of the name, so topic episodes t01..t09 all resolved to t01.
Use the token before the first underscore ("01", "t12"); reel names
("01_slug") resolve exactly as before.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
@140george
140george requested a review from calesthio as a code owner November 22, 2026 19:46
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant