FrameCore AI

A video production engine that never touches media without verifiable human approval.

An AI-assisted video production skill with four modes (edit, audio→video, from scratch, long→shorts), real media analysis via ffprobe, local transcription and silence/scene detection, a non-destructive editing engine with an editable EDL, Remotion composition, and human gates P1–P4. The F1–F6 integration was audited with 21 defects fixed and regression coverage; real rendering remains disabled by design.

Year
Role
Creator · Architecture, product and implementation
Stage
In development · Integration audited
Real rendering disabled by design decision. No audiovisual production has been validated.
Product
CLI Skill · Non-destructive editing · Remotion composition
Focus
Reliability · Human gates · Media integrity · Python and TypeScript

Summary

Problem
Edit video with automation without losing control: cuts and composition over real media, with originals preserved and human approval at every destructive step.
My role
End-to-end architecture and implementation: JSON contracts, analysis, editing and composition engines, production CLI, and integration audit.
Result
Six phases implemented and audited (F1–F6), with P1–P4 gates and execution blocked by design until a trusted approval host exists.
Key decision
Treat approval origin as part of the system: without a trusted verifier, nothing executes — even with a recorded acceptance.

Status and evidence

Stage
F1–F6 integration audited, with 21 defects fixed and a dedicated regression suite.
What exists or has been validated
Defect catalog, test matrix and per-phase reports in docs/; recorded gates carry approval_origin_unverified and never report satisfied without a trusted host.
Next validation
End-to-end audiovisual homologation: trusted approval host, Remotion peers and a browser are still not installed.

Technical Scope

  • 4 Production modes A–D
  • 6 Composition scenes
  • 4 Human gates P1–P4
  • 2 Visual themes

The problem

AI video tools tend to invent content or hide what they do with the user’s files. Letting an agent cut real media unchecked is risky: one wrong cut touches the original material and nobody audits the decision. The goal was the opposite: an engine that reads the media for real, proposes cuts and composition — and never runs anything destructive without verifiable human approval.

How it works

  1. Interview defines scope and mode (A–D)
  2. Media analysis: metadata, transcription, silence and scenes
  3. Editable EDL and storyboard as versioned contracts
  4. Gates P1–P4 with recorded human evidence
  5. FFmpeg or Remotion plan in dry-run
    Block active today Without a trusted approval host, the plan stays in dry-run
  6. Execution only after verified-origin approval

Three engineering decisions

Untouchable originals

Every edit is non-destructive: the EDL describes the result, the original material is read-only, and analysis writes only to authorized workspace folders.

See details

Approval that cannot grant itself

The P1–P4 gates require human evidence and a trusted origin verifier, provided by the host. Without it, the system stays locked — a recorded acceptance is not authentication.

See details

Measured data, never simulated

Transcription, silence and scenes only exist when the dependency exists in the environment. A missing dependency produces a declared unavailability with instructions — never fake data.

See details

Result

Six phases implemented and audited: media infrastructure, audio/video intelligence, the editing engine, visual composition, and a production CLI. The integration audit fixed 21 defects with regression coverage. Real rendering remains disabled by design until a trusted host exists for approvals.

The system

FrameCore AI is an audiovisual orchestration skill: independent engines coordinated by a production CLI, with versioned JSON contracts between them. Four modes cover the working formats:

  • A — Edit: talking head, podcast, interview, tutorial and screen recording, with cuts proposed from measured data.
  • B — Audio → video: narration becomes transcription, storyboard and composition.
  • C — From scratch: a topic or script becomes video through composition, with no synthesized voice.
  • D — Long → shorts: the main video ships first; each derived short has its own workspace, format and gates.

Media reading is real when the dependencies exist: metadata via ffprobe, local transcription with faster-whisper, and silence/scene detection with ffmpeg. Nothing is downloaded automatically and no dependency is mandatory — the environment declares what it can measure.

From plan to delivery, the CLI keeps state in analise/producao/state.json, with a checkpoint before every effect, UUID-per-artifact and atomic writes. preview and export prepare real plans and return execution_disabled: the render provider exists in the code and stays switched off.

Architecture by phases

Each phase is an engine with its own contract; the orchestration stitches the phases together without any of them knowing the next one.

  1. F2 · Media infrastructure Signature-based discovery · ffprobe metadata · persistent registry
  2. F3 · Media intelligence Local transcription · silence and scenes · cut candidates
  3. F4 · Editing engine Editable EDL · non-destructive timeline · FFmpeg plans in dry-run
  4. F5 · Visual composition React + TypeScript strict · Remotion 4.0 · 6 scenes · dynamic captions · 2 themes

Orchestration and contracts

  • F6 · Production CLI: state, gates, handoff, SRT, delivery and package
  • 9 JSON schemas 1.0: project, storyboard, media, EDL, production and delivery
  • Python ↔ Node bridge with exact digests and 1 µs tolerance

Deterministic Python ↔ Node bridge

The editing engine (Python) and the composition engine (Node) must agree on the same timeline. The bridge compares the EDL digest across both runtimes, converts boundaries into exact fractions, and blocks any divergence above one microsecond. An invalid FPS is rejected on both sides; an unknown FPS skips frame snapping with a warning, because a source without video has no frame rate to align to.

Integrity verified before touching media

Every plan embeds the source SHA-256, computed streaming with mutation detection, and execution revalidates the hash before any step. Originals are never overwritten: delivery uses its own temporary file with an exclusive link.

Engineering decisions

Untouchable originals

Decision: the original material is read-only. Analysis writes to analise/, delivery to authorized workspace folders, and the EDL describes the result instead of rewriting the media.

Trade-off: no “save over it” shortcut — in exchange, no automation error can destroy real recording material.

Gates that cannot grant themselves

The four gates (P1 cuts, P2 plan, P3 real preview, P4 final review) are mandatory even with no cuts. Every approval is bound to the revision digest and requires human evidence. The central point is origin: without a trusted verifier — provided by the host, not the agent — every record carries approval_origin_unverified and no gate reports satisfied. The host investigation confirmed there is no authenticated channel unreachable by the agent, so the block is permanent by design.

Measured data, never simulated

Transcription requires faster-whisper with a local model; silence and scene detection require ffmpeg. When a dependency is missing, the system records an unavailability state with instructions — never fake data that looks real. Proposed cuts enter as pending candidates until they pass gate P1.

Current state and next steps

The F1–F6 integration was audited: 21 defects fixed with regression coverage, with the defect catalog and test matrix public in docs/. A follow-up audit stitched the four engine transitions and fixed 10 more defects. There is also a supervised personal mode, separate from the STRICT CLI, to prepare local scenarios without rendering.

Three blockers separate the project from its first validated production: the trusted approval host, the optional Remotion peers, and a browser for rendering. Until then, the system reads real media, plans for real, and refuses to fake the rest — exactly the behavior required from an engine that edits real material.