/avp-music-video:install-avpfrom avp-music-video
Install and verify audio-visualizer-python (avp), the CLI this plugin renders music videos with, plus ffmpeg and the Qt runtime libraries it needs to run headless. Use when the user says "install avp", "set up the audio visualizer", "get the music video tool working", or when any other avp-music-video skill finds `avp` missing or failing.
Ships in avp-music-video. 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.
audio-visualizer-python (avp, MIT, on PyPI as audio-visualizer-python) layers components — image, video, colour/gradient, text, waveform, spectrum, classic bars — over an audio file and exports a video through ffmpeg. It is a Qt app with a commandline mode; this plugin runs it offscreen.
Every skill in this plugin uses the scripts in the plugin's scripts/ folder:
ROOT="${CLAUDE_PLUGIN_ROOT:-$HOME/.cache/avp-music-video-plugin}"
[ -f "$ROOT/scripts/render.py" ] || git clone --depth 1 \
https://github.com/danielrosehill/Claude-AVP-Music-Video-Plugin "$ROOT"
Check what's there
command -v avp && QT_QPA_PLATFORM=offscreen avp --version # avp starts Qt even for --version
command -v ffmpeg ffprobe && ffmpeg -version | head -1
python3 --version # avp needs Python >= 3.12
Confirm ffmpeg has the encoders the render profiles use:
ffmpeg -hide_banner -encoders | grep -E 'libx264|libx265|libsvtav1'.
The default profiles (small, smallest) need libsvtav1; without it render.py falls back to compat (H.264) and says so. hevc needs libx265. Ubuntu 24.04+/Debian 12+ ffmpeg packages include all three.
System packages (only what is missing):
sudo apt install ffmpeg libxcb-cursor0 fontconfigsudo dnf install ffmpeg xcb-util-cursor fontconfigsudo pacman -S ffmpeg xcb-util-cursor fontconfigbrew install ffmpeg
For SVG logos, one of: librsvg2-bin (rsvg-convert), Inkscape, or ImageMagick.Install avp as an isolated tool — prefer uv, then pipx, never into a system Python:
uv tool install audio-visualizer-python # or: pipx install audio-visualizer-python
Upgrade later with uv tool upgrade audio-visualizer-python.
Verify a headless render end to end (this proves Qt offscreen, ffmpeg and the plugin's patches all work):
T=$(mktemp -d)
ffmpeg -v error -f lavfi -i "sine=f=220:d=4" -b:a 128k "$T/tone.mp3"
python3 "$ROOT/scripts/render.py" "$T/tone.mp3" -t waveform-center \
--title "Install check" -p compat -o "$T/check.mp4"
Expect a JSON report with "video_codec": "h264" and a few hundred KB file. Clean up $T.
| Symptom | Cause / fix |
|---|---|
qt.qpa.plugin: Could not load the Qt platform plugin "xcb" then Aborted | No display, and no offscreen platform set. This happens for any avp command, even --version. render.py sets QT_QPA_PLATFORM=offscreen; when calling avp by hand on a server/SSH session, export it yourself. |
libxcb-cursor.so.0: cannot open shared object file | Install libxcb-cursor0 (Debian/Ubuntu) / xcb-util-cursor. |
Could not find FFmpeg | ffmpeg not on PATH. |
<AVP.Toolkit.Common> WARNING: Failed to connect QFontComboBox | Harmless; printed on every run. |
avp not found on PATH from render.py | ~/.local/bin not on PATH after uv tool install — run uv tool update-shell or add it. |
Report: avp version, ffmpeg version, which encoders are available, and the check render's output line.
What SKILL.md sets; muted values are Claude Code's defaults
Other plugins' skills for the same job
5 skills in this plugin
/brand-kitDiscover a project's brand assets — logo, background art, brand colours, brand font — in a repository and save them as an avp-brand.json manifest that the music-video templates read. Use when the user says "use our brand assets", "find the logo in this repo", "set up branding for the music videos", "make a brand kit", or before the first render-music-video in a project that has no avp-brand.json yet./create-templateCreate or modify a music-video template for avp — the JSON layer spec (background, waveform/spectrum/bars, logo, title text, lyric placement) that render-music-video turns into a video. Use when the user says "make a new template", "change the layout", "move the logo", "different visualizer", "a template for Instagram/square", or wants a house style saved for reuse./karaoke-lyricsPrepare timed lyrics for a music video and burn them in — karaoke-style sweep highlight or plain line-by-line subtitles — from an LRC, enhanced (word-timed) LRC, SRT or ASS file, or from plain lyrics text by aligning it to the song. Use when the user says "add the lyrics", "karaoke video", "burn in subtitles", "lyrics video", "sync these lyrics to the song", or hands over a Suno song with its lyrics./render-music-videoRender an audio file (MP3/WAV/FLAC/M4A, e.g. a Suno song) into a branded music video MP4 with avp: background or cover art, animated waveform/spectrum/bars, logo, title and artist, optional burned-in karaoke lyrics, encoded as small as possible. Use when the user says "make a music video from this MP3", "render this song with our template", "audio to video", "visualizer video for this track", "make a YouTube/Shorts video of this song".avp-music-video@danielrosehill is listed by danielrosehill/claude-code-plugins — review the source before installing
npx claudepluginhub danielrosehill/claude-code-plugins --plugin avp-music-video