Communitygithub.com

vlogcraft

Edit videos with FilmCraft, Whisper and ffmpeg. Use when the user asks to cut, caption, transcribe, mix, export or check a video edit in FilmCraft, or to make subtitles with Whisper (whisper.cpp, mlx-whisper, openai-whisper or the FilmCraft transcribe command). Covers the FilmCraft MCP and bridge modes, exact caption times, HDR to SDR, loudness and export checks.

What is vlogcraft?

vlogcraft is a Claude Code agent skill that edit videos with FilmCraft, Whisper and ffmpeg. Use when the user asks to cut, caption, transcribe, mix, export or check a video edit in FilmCraft, or to make subtitles with Whisper (whisper.cpp, mlx-whisper, openai-whisper or the FilmCraft transcribe command). Covers the FilmCraft MCP and bridge modes, exact caption times, HDR to SDR, loudness and export checks.

Works with✓Claude Code✓Codex CLI~Cursor
npx skills add https://github.com/ronaldlangeveld/vlogcraft/tree/HEAD

Ask in your favorite AI

Open a new chat with this agent skill pre-loaded.

Documentation

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.

  1. 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.
  2. 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.
  3. Give captions as a sidecar file. Export captions as .srt (captionSidecar: "srt" or captions.export). Do not burn captions into the video (burnCaptions: false) unless the user asks.
  4. Verify every export. Do not say "done" before scripts/verify-export.sh shows 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 undo when 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 mcp or filmcraft-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> or ffprobe for 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 with scripts/hdr-to-sdr.sh, then use media.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.transcribe is 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 --glossary for 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) or filmcraft-cli run script.jsonl for many steps in one go.
  • After each large step, check frames: render_frame (headless) or exec file.exportFrame with "import": false (bridge). Look at the frames.
  • Captions: captions.import the .srt, then check the text and the times with captions.list. Correct with captions.setText and captions.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.

  1. 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.
  2. Wait until the file is complete: scripts/verify-export.sh <master> --wait 600.
  3. Encode the delivery file: scripts/finish-encode.sh <master> <out.mp4> (with --normalize -16 or --af <filter> when the audio needs it).
  4. Export the captions as .srt next to the video.
  5. finish-encode.sh runs verify-export.sh. Report its result.

Scripts

ScriptUse
detect-env.shShow the tools and versions on this computer.
filmcraft-bridge.shStart FilmCraft.app with a control port and a token. Write an env file for the CLI.
transcribe.shTranscribe one file to .srt (and .json) with whisper.cpp, mlx-whisper or openai-whisper.
exact-cues.pyMake an .srt with exact cue times: split at pauses, transcribe each part, merge.
loudness.shMeasure integrated loudness and true peak, for the full file or for time ranges.
hdr-to-sdr.shMake an SDR copy of an HDR clip (avconvert on macOS, ffmpeg tone map on Linux).
finish-encode.shEncode a master to H.264 MP4 for delivery, with optional loudness fix. Then verify.
verify-export.shWait 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.

Related Skills