What does vlogcraft do?
This skill edits video in FilmCraft. It uses Whisper for transcripts and captions, and ffmpeg for checks and the final encode. The scripts are in scripts/. The details are in references/.
Rules
These are the default rules. A user can change a rule in their own instructions (for example in CLAUDE.md). Their instruction is more important than this list.
- Do not export without a command. Do not start an export, a render or a final encode until the user tells you to. Frame checks (
file.exportFrame) and short previews are permitted. - Do not change the colour. Do not add a grade, a LUT, a look, saturation, warmth or a vignette. Keep the clips as they were filmed. If a colour change can help, tell the user and wait for a yes. An HDR to SDR conversion is not a grade, but tell the user and ask them to look at the result.
- Give captions as a sidecar file. Export captions as
.srt(captionSidecar: "srt"orcaptions.export). Do not burn captions into the video (burnCaptions: false) unless the user asks. - Verify every export. Do not say "done" before
scripts/verify-export.shshows PASS: full decode with 0 errors, correct duration, and a loudness value.
Also:
- Do not change or delete source media. Write new files next to it (for example
project/sdr/) or in a temporary folder. - Save the project before a long or risky operation. Every engine command can be undone, so use
undowhen a step is wrong. - Report what you did and what you did not do. If a step failed or you skipped it, say so.
Step 1: Find the tools
Run scripts/detect-env.sh. It shows ffmpeg, filmcraft-cli and its version, the FilmCraft app, the Whisper back ends and avconvert. Then read references/known-issues.md for that version.
Step 2: Connect to FilmCraft
There are two modes. Read references/filmcraft.md for the full procedure.
- Headless (MCP or CLI).
filmcraft-cli mcporfilmcraft-cli exec ...opens the project in the engine, with no window. Use it when the CLI can read the project version. - Bridge. The app runs with a control port. The CLI or the MCP tools send commands to the live app. Use it when the user has the app open, or when the CLI cannot read a project that a newer app saved. Start it with
scripts/filmcraft-bridge.sh <project>.
Find command ids and parameters with command_list / filmcraft-cli commands <filter> and filmcraft-cli describe <id>. Do not guess parameter names. Get ids from doc_inspect / filmcraft-cli inspect.
Time in FilmCraft is in ticks: 254016000000 ticks = 1 second. Most commands also accept seconds, frame or timecode. Use those.
Step 3: Look at the media
filmcraft-cli probe <file>orffprobefor each clip: size, frame rate, duration, audio channels and colour transfer.- HDR clips (transfer
arib-std-b67= HLG,smpte2084= PQ) in an SDR sequence can look too bright. Make SDR copies withscripts/hdr-to-sdr.sh, then usemedia.replaceFootage. Ask the user to look at a frame. - If a clip must be video only and FilmCraft keeps its audio, make a silent copy:
ffmpeg -i in.mp4 -c copy -an out-noaudio.mp4.
Step 4: Transcribe
Read references/transcription.md.
- Quick transcript of a clip or of the sequence:
scripts/transcribe.sh <file> <out-base>(back end is automatic, or use--backend whisper-cpp|mlx|openai). In the app,sequence.transcribeis also available. - Use the transcript to find takes, bad takes, long pauses and the best lines. Give the user a short list of cut points before you cut a lot.
- Exact caption times. Whisper times can be seconds wrong on long files. Export a speech-only mix (music muted) as WAV, then run
scripts/exact-cues.py <mix.wav> <out.srt>. It cuts the audio at the pauses, transcribes each part and puts each cue back at the correct time. - Use
--glossaryfor names that Whisper writes wrongly.
Step 5: Edit
- Make a plan first: the order of the clips, what to remove, the music, the titles. Tell the user the plan for a large edit.
- Use
command_batch(MCP) orfilmcraft-cli run script.jsonlfor many steps in one go. - After each large step, check frames:
render_frame(headless) orexec file.exportFramewith"import": false(bridge). Look at the frames. - Captions:
captions.importthe.srt, then check the text and the times withcaptions.list. Correct withcaptions.setTextandcaptions.setTimes.
Step 6: Audio
Read references/audio.md. Measure the loudness of each part with scripts/loudness.sh. Speech for online video: about -16 LUFS integrated, true peak at -1.5 dBTP or lower. Fix large differences between parts (music intro compared to speech) in the edit or in the final encode.
Step 7: Export (only on the user's command)
Read references/export.md.
- Export a master. If the H.264 export of this FilmCraft version is bad (see known issues), export ProRes HQ to a local temporary folder.
- Wait until the file is complete:
scripts/verify-export.sh <master> --wait 600. - Encode the delivery file:
scripts/finish-encode.sh <master> <out.mp4>(with--normalize -16or--af <filter>when the audio needs it). - Export the captions as
.srtnext to the video. finish-encode.shrunsverify-export.sh. Report its result.
Scripts
| Script | Use |
|---|---|
detect-env.sh | Show the tools and versions on this computer. |
filmcraft-bridge.sh | Start FilmCraft.app with a control port and a token. Write an env file for the CLI. |
transcribe.sh | Transcribe one file to .srt (and .json) with whisper.cpp, mlx-whisper or openai-whisper. |
exact-cues.py | Make an .srt with exact cue times: split at pauses, transcribe each part, merge. |
loudness.sh | Measure integrated loudness and true peak, for the full file or for time ranges. |
hdr-to-sdr.sh | Make an SDR copy of an HDR clip (avconvert on macOS, ffmpeg tone map on Linux). |
finish-encode.sh | Encode a master to H.264 MP4 for delivery, with optional loudness fix. Then verify. |
verify-export.sh | Wait for a file, decode it in full, count errors, check duration and loudness. |
References
references/filmcraft.md: modes, bridge, commands, scripts, frame checks.references/transcription.md: Whisper back ends, models, exact cue times, glossary.references/audio.md: loudness targets, measure, fix.references/export.md: master, encode, captions, verify.references/known-issues.md: problems in specific versions and their workarounds.