# Video Editing Service: Current State Last verified: 2026-07-23 (Europe/Berlin). **Verify against git before trusting — see ai-handover.md.** ## Snapshot - Branch `feature/imrovements`; recorded HEAD `8b68116` + uncommitted working-tree fixes (2026-07-23). - `mvn -o verify`: **254 tests, 0 failures**, JaCoCo gate passes. - The full local single-source cinematic-highlight pipeline is BUILT and works end-to-end: analysis → candidates/category → manual `montage.json` director plan → local audio generation (Piper voice, MusicGen music, AudioLDM2 SFX) → cinematic FFmpeg render (grade, grain, overlays, multi-cut, slow-mo, orientation-aware geometry) → QA. - Models provisioned + proven locally; user authorized downloads 2026-07-21 (reversed the no-download stance). ## Authoritative sources (do not duplicate them here) - Live code/state: `git log`, `git status`. - Roadmap + milestone log: `docs/cinematic-highlight-poc-plan.md`. - How to render e2e: memory `highlight-e2e-render-runbook`. - Model runtime facts: memory `local-model-runtime-intel-mac`. - Handover + staleness check: `.claude/memory/ai-handover.md`. ## 2026-07-23 fixes (whole service) - Orientation-aware: portrait sources render portrait (rotation read in `FfmpegClipInspector`, geometry chosen in `HighlightFfmpegRenderer.outputGeometry`), letterbox landscape-only. - Audio mix: source audio ducked under the generated score (score now leads). - Highlight duration no longer capped (validator + config); a highlight can be as long as needed. ## Known limits / next (Phase 5 in poc-plan) Source footage quality is the ceiling; no resident local director (plans are manual); bigger/continuous music pending; licensing of local models is non-commercial (CC-BY-NC / AGPL); production hardening deferred until the creative-quality gate passes. Highlight rendering still defaults OFF; approval still required.