AI Skill Report Card

Building a Voice Controlled Video Editor

A-83·Nov 25, 2026·Source: Web
YAML
--- name: building-voice-controlled-video-editor description: Designs and implements a local, AI-controlled video editing pipeline that lets a user drop a folder of clips into a project and issue natural-language commands (cut filler words, add burned-in captions, lower thirds, title cards, motion graphics, speed ramps, color grading, "make it cinematic") to produce a finished MP4. Also covers generating narrated explainer videos from still images/screenshots with animated camera moves (Ken Burns) and TTS voiceover. Use when asked to build, extend, or debug a local AI video editing tool, a transcript-driven edit-review-render workflow, or an image-to-video explainer generator. --- # Building a Voice-Controlled Local Video Editor
14 / 15

Core architecture: transcript-first, EDL-based, render-via-FFmpeg. The AI never touches pixels directly — it edits a structured JSON "Edit Decision List" (EDL) derived from a transcript, and a deterministic render engine (FFmpeg + optional MoviePy/remotion-style compositing) turns the EDL into video. This keeps edits inspectable, undoable, and cheap to re-render.

project/
  source_clips/        # user-dropped footage, images, screenshots
  project.json          # manifest: assets, settings, style prefs
  transcript.json        # whisper output, word-level timestamps
  edl.json               # current edit decision list (source of truth)
  edl_history/            # versioned snapshots for undo/approval loop
  renders/
    preview_v1.mp4       # low-res fast preview
    final.mp4             # full-res export
  output/
    final.mp4             # copied here on approval

Minimal loop:

  1. Ingest clips → transcribe → build initial EDL (one segment per clip, full duration).
  2. User gives instruction in natural language.
  3. AI edits edl.json (not the video) based on instruction + transcript.
  4. Render low-res preview from EDL.
  5. AI (and user) reviews preview against intent → iterate.
  6. On approval, render full-res → copy to output/final.mp4.
Recommendation▾
The document cuts off mid-sentence in Best Practices ('don't') — finish the thought and ensure the file isn't truncated.
14 / 15
Progress:
- [ ] Set up project structure and ingestion
- [ ] Transcribe audio with word-level timestamps
- [ ] Build initial EDL from clips/transcript
- [ ] Implement EDL schema + edit operations
- [ ] Implement natural-language → EDL-edit translation
- [ ] Implement render engine (FFmpeg filter graph builder)
- [ ] Implement preview-review-approve loop
- [ ] Implement style modules (captions, lower thirds, titles, motion, speed, color)
- [ ] Implement image-to-explainer-video generator (stills + Ken Burns + TTS)
- [ ] Implement automated QA pass (watch/listen check before presenting to user)
- [ ] Wire up CLI or simple chat interface

1. Tooling choices (verify current docs before locking versions)

  • Transcription: whisper.cpp or faster-whisper (local, word-level timestamps via --word_timestamps). Check latest repo README for model sizes/quantization — pick small/medium for speed on CPU, large-v3 if GPU available.
  • Render/compositing: FFmpeg is the actual renderer (filter_complex graphs: crop, zoompan, drawtext, xfade, colorbalance/curves, atempo/setpts for speed). For anything beyond FFmpeg's filter language (styled captions, motion graphics, title cards with fonts/animations), use MoviePy or generate frames via a Python/Node compositor and encode with FFmpeg. For slicker motion graphics, consider Remotion (React-based, programmatic video) — look up current Remotion docs since its API changes often.
  • TTS for explainer voiceover: local options like Coqui TTS, Piper, or XTTS. Check current docs for voice cloning/quality tradeoffs and licensing.
  • Filler-word detection: derive from transcript — flag disfluencies ("um", "uh", "like", repeated words, long pauses) using word-level timestamps; cut is just removing EDL segments covering those spans.
  • Silence/cut detection: ffmpeg silencedetect filter or transcript gaps.

Always fetch current CLI flags/docs for whichever of these you integrate — APIs for whisper.cpp, FFmpeg filters, and Remotion shift frequently.

2. EDL schema (the contract between AI and renderer)

JSON
{ "version": 1, "resolution": [1920, 1080], "fps": 30, "timeline": [ { "id": "seg_001", "source": "source_clips/interview.mp4", "in": 12.4, "out": 18.9, "speed": 1.0, "transition_in": "cut", "captions": {"burned_in": true, "style": "bold_center"}, "color_grade": "cinematic_teal_orange", "overlays": [ {"type": "lower_third", "text": "Jane Doe — Director", "start": 0, "end": 3} ] } ], "title_cards": [ {"position": "start", "text": "How It Works", "style": "minimal_fade"} ], "global_style": { "cinematic": true, "lut": "cinematic_teal_orange.cube", "music_bed": null } }

Edit operations the AI applies (never direct video manipulation):

  • trim_segment(id, in, out), delete_segment(id), split_segment(id, at_time)
  • set_speed(id, factor) — ramps via setpts/atempo, note pitch correction needed above ~1.5x
  • add_caption_style(style), add_lower_third(...), add_title_card(...)
  • set_color_grade(preset_or_lut)
  • reorder(segment_ids)

Treat EDL edits as diffs with rationale so the AI can explain what it changed and why, and so changes are revertable (edl_history/).

3. Natural language → EDL translation

The AI's job each turn:

  1. Read transcript.json + current edl.json.
  2. Interpret instruction (e.g., "cut the filler words" → find filler-word spans in transcript → emit delete_segment/trim_segment ops covering those timestamps).
  3. For vague stylistic requests ("make it feel more cinematic") — translate to concrete, reversible parameters: letterbox to 2.39:1, teal-orange LUT, slower cuts (increase average shot length by removing jump cuts), subtle film grain, slow push-in on key moments. Don't apply a black box — record which specific parameters were chosen so the user can ask to tweak one ("less orange").
  4. Write new edl.json version to edl_history/, diff summary presented to user in plain language before/alongside preview.

4. Render engine

Build an FFmpeg filter-graph generator from the EDL:

  • One filter_complex per output, chaining per-segment filters (trim, scale, speed, color, text overlay) then concat.
  • Burned-in captions: drawtext with word-by-word or phrase-by-phrase timing pulled from transcript timestamps (karaoke-style highlight optional); for heavier styling (animated pop-in, custom fonts) render caption frames separately (PIL/Remotion) and overlay.
  • Lower thirds / title cards / motion graphics: pre-render as transparent PNG sequences or short alpha-channel clips (via MoviePy/Remotion), then overlay with FFmpeg overlay filter at specified timestamps.
  • Speed changes: setpts=PTS/factor for video, atempo chain for audio (atempo only supports 0.5–2.0 per instance; chain multiple for larger ranges).
  • Color grading: .cube LUTs via lut3d filter, or curves/colorbalance for simpler presets.

Two-tier rendering: always render a fast low-res/low-bitrate preview (e.g., 640px wide, ultrafast preset) for the review loop; only do full-res final encode after approval.

5. Review-approve loop

Progress:
- [ ] Render preview
- [ ] AI self-check: transcript alignment, caption sync, no abrupt audio cuts, duration sanity
- [ ] Present summary of changes + preview path to user
- [ ] On "approved"/"looks good" → full-res render → copy to output/
- [ ] On feedback → loop back to EDL edit step

Automated QA before showing the user:

  • Re-run transcription on the rendered preview's audio and diff against expected EDL cut points — catches sync bugs.
  • Check for silent gaps >0.5s not intentional, check caption text doesn't overflow frame, check no segment has zero/negative duration.
  • Report issues found and auto-fixed, or flag ones needing user input.

6. Image-to-explainer-video mode

Separate pipeline sharing the same EDL/render engine:

  1. User provides script or lets AI draft one from bullet points.
  2. TTS generates voiceover per sentence/paragraph → gives exact audio durations.
  3. AI assigns each still/screenshot to a narration segment, duration-matched to the VO clip.
  4. Camera moves: Ken Burns (zoompan filter, or keyframed scale/pan in Remotion) — vary direction/zoom per image so it doesn't feel repetitive; emphasize relevant screen regions for screenshots (zoom to the UI element being discussed).
  5. Captions optional (karaoke subtitles from TTS alignment — most TTS/ASR tools expose phoneme or word timing).
  6. Same render → preview → approve → final flow.
Recommendation▾
Examples section would benefit from a 'bad outcome' example (e.g., a failed QA pass or a misinterpreted vague instruction) to show contrast, not just successful cases.
16 / 20

Example 1: Input: "Cut the filler words and tighten the pauses" Output: AI scans transcript.json for filler tokens (um, uh, like, you know) and pause gaps >0.8s between words, emits delete_segment/trim_segment ops removing those spans, renders preview, reports: "Removed 14 filler words and 6 long pauses, total runtime 4:32 → 3:58. Preview at renders/preview_v3.mp4."

Example 2: Input: "Make it feel more cinematic" Output: AI applies letterbox crop to 2.39:1, teal-orange LUT (cinematic_teal_orange.cube), reduces cut frequency by merging short adjacent segments, adds slow 1.05x push-in on 3 identified emotional-beat segments, reports exact parameters applied and renders preview for approval.

Example 3: Input: "Turn these 8 screenshots and this script into a 90-second explainer" Output: AI generates TTS voiceover per script paragraph, builds EDL assigning one screenshot per paragraph with duration matched to VO, adds Ken Burns zoom toward relevant UI regions, adds burned-in subtitles, renders preview, and reports total runtime and pacing per image.

Recommendation▾
Consider trimming some of the tooling-choice prose (whisper.cpp/Remotion/Coqui details) into a compact table to tighten conciseness further.
  • EDL is the single source of truth — the AI edits structured data, never raw video; this makes every step inspectable, diffable, and undoable.
  • Always preview at low-res first. Full-res renders should only happen after explicit approval to avoid wasting time/disk.
  • Make vague instructions concrete and visible. Translate "cinematic" into named parameters the user can see and tweak individually.
  • Keep everything local: store all assets/intermediates in the project folder; no cloud calls unless the user explicitly opts into a cloud TTS/transcription model — look up and prefer fully offline tool variants.
  • Version every EDL change (edl_history/edl_v{n}.json) so "undo last change" and "go back to before the color grade" are trivial.
  • Self-QA before presenting to the user — don't
0
Grade A-AI Skill Framework
Scorecard
Criteria Breakdown
Quick Start
14/15
Workflow
14/15
Examples
16/20
Completeness
17/20
Format
13/15
Conciseness
12/15