/video-editing:mlt-renderfrom video-editing
Renders Kdenlive (.kdenlive) or raw MLT XML timelines to video deliverables using the melt CLI. Supports named render profiles or inline codec/bitrate/resolution/fps prompts.
Ships in video-editing. Installing the plugin adds it to Claude Code.
What the skill costs in Claude's context, stage by stage
Name and description: Claude knows it exists.
SKILL.md joins the conversation and stays.
None: SKILL.md is the whole skill.
Headless render of an MLT-format timeline (Kdenlive's native format) using the melt CLI.
command -v melt >/dev/null || { echo "melt not installed. Try: sudo apt install melt (or sudo apt install mlt-tools on some distros)"; exit 1; }
| Field | Default |
|---|---|
| Source | required: .kdenlive or .mlt file |
| Output | default: <project>/renders/<basename>_<timestamp>.mp4 |
| Profile name | optional — load from render-profiles.json |
| Inline params | codec, bitrate (or qp), resolution, fps — only when no profile chosen |
SRC="$(realpath "$INPUT")"
test -f "$SRC" || { echo "Not a file: $SRC"; exit 1; }
case "$SRC" in
*.kdenlive|*.mlt) ;;
*) echo "Not an MLT-format file: $SRC"; exit 1 ;;
esac
melt renders via a consumer chain. Two modes:
3a. With a render profile — load codec/QP/resolution/fps from render-profiles.json (same shape used by render-with-profile). Build a melt avformat consumer:
PROFILES="${CLAUDE_USER_DATA:-${XDG_DATA_HOME:-$HOME/.local/share}/claude-plugins}/video-editing/render-profiles.json"
PROF=$(jq -r --arg n "$PROFILE_NAME" '.[$n] // empty' "$PROFILES")
[ -z "$PROF" ] && { echo "Profile not found: $PROFILE_NAME"; exit 1; }
VCODEC=$(jq -r '.vcodec' <<<"$PROF")
ACODEC=$(jq -r '.acodec // "aac"' <<<"$PROF")
WIDTH=$(jq -r '.width' <<<"$PROF")
HEIGHT=$(jq -r '.height' <<<"$PROF")
FPS=$(jq -r '.fps' <<<"$PROF")
QP=$(jq -r '.qp // empty' <<<"$PROF")
VB=$(jq -r '.vbitrate // empty' <<<"$PROF")
AB=$(jq -r '.abitrate // "192k"' <<<"$PROF")
Compose:
ARGS=( "$SRC" -consumer avformat:"$OUT" )
ARGS+=( vcodec="$VCODEC" acodec="$ACODEC" )
ARGS+=( width="$WIDTH" height="$HEIGHT" frame_rate_num="$FPS" frame_rate_den=1 )
[ -n "$QP" ] && ARGS+=( qp="$QP" )
[ -n "$VB" ] && ARGS+=( vb="$VB" )
ARGS+=( ab="$AB" )
3b. Inline params — prompt the user for the missing fields and build the same consumer chain.
Hardware encoders.
meltuses libavformat under the hood, so VAAPI/NVENC encoder names match ffmpeg (h264_vaapi,hevc_nvenc, etc). However, melt does not set up the VAAPI hwupload chain automatically — for hardware-encoded renders the safer path is render to an intermediate (e.g. ProRes or h264 sw) via melt, then transcode to the GPU-encoded deliverable viarender-with-profile. The skill should warn the user and offer this two-step path when a VAAPI/NVENC profile is selected.
mkdir -p "$(dirname "$OUT")"
echo "Running: melt ${ARGS[*]}"
melt "${ARGS[@]}"
Show melt's progress output live.
ffprobe -v error -show_entries format=duration,size -of default=nw=1 "$OUT"
Print: output path, file size, duration, codec.
Print the deliverable path. Offer to follow up with transcode (e.g. to make a YouTube-friendly version) or audio-analysis (to check loudness).
.mp4, .mkv, .mov).What SKILL.md sets; muted values are Claude Code's defaults
video-editing@danielrosehill is listed by danielrosehill/claude-code-plugins — review the source before installing
npx claudepluginhub danielrosehill/claude-code-plugins --plugin video-editing41 skills in this plugin
/agentic-editRun an agentic / LLM-driven cut-down on a long video — "make a 60-second highlight reel of this hour-long stream", "cut the boring parts from this lecture", "find the best moments in this footage". Wraps `video-use` (browser-use) by default; falls back to `VideoAgent` (HKU) for research-grade understanding. Both come from the shared uv venv set up by `deps-setup`. Outputs a cut-list (timestamps + reasons) and an optional rendered preview./audio-analysisExtract audio from a video (or analyze a standalone audio file) and report loudness — integrated LUFS, true peak (dBTP), loudness range — against a target like YouTube (-14 LUFS) or broadcast (-23 LUFS). Use when the user says "check loudness", "is this normalized", "extract the audio", "audio analysis", or "what LUFS is this". Read-only on the source — does not normalize./