/video-editing:transcodefrom video-editing
Transcodes video files or folders with on-the-fly codec, container, resolution, framerate, and rate-control selection. Uses hardware encoding when available, falls back to libx264/libx265.
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.
Generic, on-demand transcoding. Unlike render-with-profile (which uses a saved preset), this skill takes parameters per invocation. Use it for one-offs, format conversions, framerate changes, or fixes (VBR → CBR).
DATA_DIR="${CLAUDE_USER_DATA:-${XDG_DATA_HOME:-$HOME/.local/share}/claude-plugins}/video-editing"
SYS_FILE="$DATA_DIR/system-profile.json"
test -f "$SYS_FILE" && HAVE_SYS=1 || HAVE_SYS=0
If missing, warn the user that the skill will fall back to libx264/libx265 (slower, CPU-only) and offer to run profile-system.
Ask if not provided:
| Field | Example |
|---|---|
| Source | file or folder |
| Codec | h264 / hevc / av1 / copy (stream-copy) |
| Container | mp4 / mkv / mov |
| Resolution | source / 1920x1080 / 1280x720 |
| Framerate | source / 24 / 30 / 60 |
| Rate control | crf / qp / cbr / vbr — with value |
| Output dir | default: sibling transcoded/ folder |
If HAVE_SYS=1, read .encoders.<codec>.preferred from system-profile.json. Otherwise:
| Codec | Software fallback |
|---|---|
| h264 | libx264 |
| hevc | libx265 |
| av1 | libsvtav1 |
For codec=copy, skip encoder selection — just -c:v copy -c:a copy (useful for container changes).
VAAPI hardware path:
ffmpeg -hide_banner -i "$IN" \
-vaapi_device "$RENDER_NODE" \
-vf 'format=nv12,hwupload[,scale_vaapi=...]' \
-c:v "$ENCODER" -qp "$QP" \
-r "$FPS" \
-c:a aac -b:a 192k \
-movflags +faststart \
"$OUT"
Software path:
ffmpeg -hide_banner -i "$IN" \
[-vf scale=...] -r "$FPS" \
-c:v "$ENCODER" -crf "$CRF" -preset medium \
-c:a aac -b:a 192k \
-movflags +faststart \
"$OUT"
For CBR: -c:v libx264 -b:v <rate> -minrate <rate> -maxrate <rate> -bufsize <2*rate>.
Show the resolved command before running. Ask for confirmation when transcoding more than 1 file.
mkdir -p "$OUT_DIR"
for in in <inputs>; do
out="$OUT_DIR/$(basename "${in%.*}").$CONTAINER"
ffmpeg -hide_banner -y -i "$in" <args> "$out"
echo "$in -> $out ($(stat -c%s "$out") bytes)"
done
Originals are never modified. Summarize input vs. output total bytes at the end.
What SKILL.md sets; muted values are Claude Code's defaults
Three short reads, in order
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./