OpenMontage/tools
calesthio 44baede67f Add documentary-montage pipeline for retrieval-first motion-clip montage
New end-to-end pipeline for building thematic documentary montages from
a locally-indexed corpus of free stock footage (Pexels, Archive.org,
NASA). The agent builds a project-local corpus, CLIP-ranks candidates
per scene slot, edits with motion-aware arc logic, and composes via
ffmpeg. No paid APIs required for the full path.

Pipeline definition and director skills:
- pipeline_defs/documentary-montage.yaml: 5-stage manifest
  (idea -> scene_plan -> assets -> edit -> compose)
- skills/pipelines/documentary-montage/: 6 director skills
  (executive-producer + idea/scene/asset/edit/compose directors)

Corpus and retrieval infrastructure:
- tools/video/corpus_builder.py: multi-source stock fan-out with
  resumable append-only corpus index
- tools/video/clip_search.py: CLIP ViT-B/32 retrieval —
  rank_for_slot, find_similar_set, diversify, stats
- tools/video/stock_sources/: base + pexels + archive_org + nasa
  adapters with a pluggable BaseStockSource contract
- lib/clip_embedder.py: CLIP wrapper
- lib/corpus.py: corpus schema, jsonl append/read, motion-score
  caching

video_compose fix rolled in because any concat-based pipeline depends
on it:
- Replace ambiguous -to with -t duration (was double-trimming cuts)
- Force re-encode + normalize to 1920x1080 @ 30fps (was keyframe-
  snapping with -c copy and breaking concat on mixed-source corpora)
- Add silent-audio anullsrc fallback for clips without an audio
  stream

README: add Documentary Montage row to the pipeline table and bump
the pipeline count from 11 to 12.
2026-04-10 16:04:28 -07:00
..
analysis Add per-scene motion classification to video analyzer 2026-04-04 11:33:33 -07:00
audio Add Chirp 3 HD and Journey voice support to Google TTS 2026-04-06 12:13:41 -07:00
avatar Initial release — OpenMontage: the first open-source agentic video production system 2026-03-29 08:25:17 -07:00
capture Add screen capture tools with FFmpeg and Cap dual-provider system 2026-04-07 21:36:29 -07:00
enhancement Talking-head pipeline: 8 new tools, Remotion TalkingHead composition, and skill rewrites 2026-04-01 10:00:15 -07:00
graphics Fix Remotion-first rendering docs and post-render verification gaps 2026-04-06 08:21:48 -07:00
publishers Initial release — OpenMontage: the first open-source agentic video production system 2026-03-29 08:25:17 -07:00
subtitle Talking-head pipeline: 8 new tools, Remotion TalkingHead composition, and skill rewrites 2026-04-01 10:00:15 -07:00
video Add documentary-montage pipeline for retrieval-first motion-clip montage 2026-04-10 16:04:28 -07:00
__init__.py Initial release — OpenMontage: the first open-source agentic video production system 2026-03-29 08:25:17 -07:00
base_tool.py Implementation spec: governance, decision intelligence, theme system, and E2E bug fixes 2026-04-03 09:35:09 -07:00
cost_tracker.py Add reference video input analysis workflow 2026-04-04 10:01:11 -07:00
tool_registry.py Remove fal-first provider guidance 2026-04-08 13:04:32 -07:00