📚 Encyclopedia

Tools & Workflow · updated 2026-10-13

Scripted video editing with FilmCraft (CLI/MCP), whisper transcripts, and a dashcam highlight reel

videofilmcraftrustwhispercaptionsbwrapsandboxteslacamffmpegautomation

FilmCraft (storytold/filmcraft, a young agent-built Rust "Premiere clone") is interesting less as a GUI editor than as an automation surface: a CLI that runs JSONL edit scripts headless, plus an MCP server exposing 17 editing tools. In 2026-10 it was evaluated, built from source with speech-to-text, and used to cut a dashcam highlight reel automatically. Verdict: promising for scripted edits, too young for unattended work, and ffmpeg is still needed alongside it.

Running an untrusted binary safely

Test release binaries inside a bwrap sandbox: no network, read-only filesystem, one writable work dir, the media dir read-only, and a throwaway home (e.g. ~/.cache/<tool>-sandbox-home). A small wrapper script (fc-sandbox) makes this the default way to call the tool.

Building with speech-to-text

Speech-to-text is not in release builds; it needs the whisper cargo feature:

cargo build --release -p filmcraft-cli --features whisper   # about 2 minutes; target dir about 840 MB

(Rust via rustup, minimal profile.) With whisper-base, 80 s of audio transcribed in 7.8 s on CPU. The transcript tools (transcript.removePauses, .search, .extract, .createCaptions) produced a rough cut with burned-in captions and an SRT: 30 s of 1080x1920 output in 43 s.

Flaws found

Recipe: automatic dashcam highlight reel

For a night of Tesla dashcam clips (TeslaCam/RecentClips, 61 one-minute front-camera clips): 1. Scan: in a single FilmCraft run script, place each clip on a tiny 160x120 sequence, clip.fitToFrame, and file.exportFrame as BMP at intervals (1,804 samples in 2.5 minutes). Doing it inside one script avoids per-call startup cost. 2. Score each sample: z-score of motion + z-score of lights (bright pixels at night) + z-score of scene change. Crude, but enough to rank. 3. Contact sheet of the top 24 candidates; the judgment step (a person or an agent looking at the sheet) picks the keepers. 4. Build: 45 s reel at 1280x960 with the rear camera as picture-in-picture, clock stamps, dissolves and a title; export took 45 s. TeslaCam clips have no audio. SavedClips folders include event.json with the trigger reason, which would make a better scorer.

Publishing tip

Before uploading an MP4 for web playback, remux with -movflags +faststart so playback starts before the whole file downloads. See Encoding phone clips for the web (HEVC remux, H.264 fallback).

See also

Linked from

Sources: home memory misc-side-projects (FilmCraft, post #1714)