Skip to content
Agentmart
Submit a tool

audio-to-music-video

Turn an audio file into a music video by compositing a waveform / spectrum / circular-CQT animation over cover art or a background.

Skill by danielrosehill

IndexedMIT★ 6
Write a review

Chalk Labs

Need help deploying audio-to-music-video?

Chalk Labs sets up agents like this inside real teams: connected to your tools, tested on your data, with a human in the loop where it matters.

Book a call

Install

Works with Claude Code, Claude apps, Codex, Cursor, Gemini CLI, GitHub Copilot, VS Code, OpenCode, Goose, Windsurf. Read the repository before you give any tool access to your data.

npx agentmarket install skill/danielrosehill-audio-to-music-video

Asks which of your tools to add it to (Claude Code, Codex, Cursor, VS Code, Windsurf, Gemini CLI, Claude Desktop) and shows the change first. See https://agentmart.dev/cli.

Get the weekly diff

The weekly diff: one email a week with new agent tools, notable updates and grade changes, plus security alerts for tools you follow. Double opt-in, one-click unsubscribe.

We use your email only for this newsletter. Privacy

About

Turn an audio file into a music video by compositing a waveform / spectrum / circular-CQT animation over cover art or a background. Templates (waveform-bottom, spectrum-bars, circular-cqt-cover, etc.) are saved in preferences.json so the user can pick by name. Use when the user says "make a music video from this audio", "audio to video with waveform", "render this song with a visualizer", "spectrum animation over cover art".

No reviews yet. Installed it? Reviews come from verified installers only. How reviews work

Permissions

What this skill can do and what it asks for, from its SKILL.md. Checked Oct 25, 2026.

Tools
No tools found
Secrets
None asked for
Install scripts
None found

Network hosts it talks to 1

  • codeload.github.com · found in install command

Files it touches

  • ~/.claude/skills/audio-to-music-video

Tools it pre-approves 12

From allowed-tools in SKILL.md: the agent may use these without asking you each time.

  • Bash(test
  • *),
  • Bash(mkdir
  • Bash(jq
  • Bash(realpath
  • Bash(basename
  • Bash(dirname
  • Bash(ffmpeg
  • Bash(ffprobe
  • Bash(awk
  • Read,
  • Write

What's inside

Skill name
audio-to-music-video
Description
Turn an audio file into a music video by compositing a waveform / spectrum / circular-CQT animation over cover art or a background. Templates (waveform-bottom, spectrum-bars, circular-cqt-cover, etc.) are saved in preferences.json so the user can pick by name. Use when the user says "make a music video from this audio", "audio to video with waveform", "render this song with a visualizer", "spectrum animation over cover art".
License
MIT
Allowed tools
Bash(test, *),, Bash(mkdir, *),, Bash(jq, *),, Bash(realpath, *),, Bash(basename, *),, Bash(dirname, *),, Bash(ffmpeg, *),, Bash(ffprobe, *),, Bash(awk, *),, Read,, Write
Instructions
149 lines in SKILL.md · view on GitHub

Before installing

  • Pre-approves some shell commands

Files (1)

  • SKILL.md

SKILL.md (first lines)

# Audio to Music Video

Single-pass ffmpeg synthesis of a music video from an audio file plus a chosen template. The audio is pristine (stream-copied where the container allows) and the visual is built entirely with ffmpeg's `-filter_complex` graph — no external editor needed.

## Templates

Templates are stored in `preferences.json` under `audio_to_video_templates` and selected by name. Each template defines: visualizer type, layout, colour palette, optional cover-art treatment, and resolution. Built-in defaults ship in this skill's prose; users add their own via `onboard` or by editing `preferences.json` directly.

### Built-in templates

| Name | Layout | Visualizer |
|---|---|---|
| `waveform-bottom` | full-frame blurred cover art bg + crisp cover art centered + linear waveform strip across bottom 15% | `showwaves` (mode=cline) |
| `spectrum-bars` | solid colour bg + cover art top-center + spectrum bars bottom 40% | `showfreqs` (mode=bar, ascale=log) |
| `circular-cqt-cover` | blurred cover bg + circular spectrum (showcqt) ring around centered cover | `showcqt` |
| `vector-scope` | dark bg + cover art top-left + Lissajous vector scope center | `avectorscope` |
| `volume-meter` | minimal — solid bg + cover art + horizontal volume meter | `showvolume` |

A template entry:

```json
{
  "name": "waveform-bottom",
  "resolution": "1920x1080",
  "fps": 30,
  "bg": { "type": "cover-blur", "blur": 40, "darken": 0.3 },
  "cover": { "size": "60%", "position": "center", "shadow": true },
  "viz": {
    "filter": "showwaves",
    "mode": "cline",
    "size": "1920x162",
    "color": "white",
    "position": "bottom",
    "opacity": 0.9
  }
}
```

## Procedure

### 1. Inputs

| Field | Default |
|-------|---------|
| Audio | required (`.mp3`, `.wav`, `.flac`, `.m4a`) |
| Cover art | optional path; if omitted and the audio has embedded cover art, extract it; else use `bg.solid` colour |
| Template | name from `preferences.audio_to_video_templates`; default `waveform-bottom` |
| Title / Artist | optional `drawtext` overlay |
| Output | `<basename>.mv.mp4` |

### 2. Resolve cover art

If not supplied:

```bash
ffmpeg -hide_banner -y -i "$AUDIO" -an -vcodec copy "$WORK/cover.jpg" 2>/dev/null \
  || COVER_MISSING=1
```

If still missing, use a plain colour from `bg.solid` (or fall back to `#111111`).

### 3. Build the filtergraph (template = `waveform-bottom`)

```bash
WIDTH=1920; HEIGHT=1080; FPS=30
COVER_W=$((WIDTH * 60 / 100))   # 60% width centered

ffmpeg -hide_banner -y \
  -loop 1 -i "$COVER" \
  -i "$AUDIO" \
  -filter_complex "
    [0:v]scale=${WIDTH}:${HEIGHT}:force_original_aspect_ratio=increase,
         crop=${WIDTH}:${HEIGHT},
         boxblur=40:1,
         eq=brightness=-0.3[bg];
    [0:v]scale=${COVER_W}:-1[cov];
    [bg][cov]overlay=x=(W-w)/2:y=(H-h)/2[bgcov];
    [1:a]showwaves=mode=cline:s=${WIDTH}x162:colors=white:rate=${FPS}[wf];
    [bgcov][wf]overlay=x=0:y=H-h-40:format=auto[v]
  " \
  -map "[v]" -map 1:a \
  -c:v libx264 -crf 20 -preset medium -pix_fmt yuv420p \
  -c:a aac -b:a 192k \
  -shortest \
  -movflags +faststart \
  "$OUT"
```

### 4. Spectrum-bars template

Replace the visualizer chain:

```
[1:a]showfreqs=s=${WIDTH}x432:mode=bar:ascale=log:fscale=log:colors=cyan|magenta:rate=${FPS}[viz];
[bgcov][viz]overlay=x=0:y=H-h-60:format=auto[v]
```

### 5. Circular CQT template

```
[1:a]showcqt=s=${WIDTH}x${HEIGHT}:fps=${FPS}:bar_h=300:axis_h=0:cscheme=1|0.5|0|0|0.5|1[viz];
[bgcov][viz]overlay=0:0:format=auto:enable='gte(t,0)'[v]
```

`showcqt` is the most musical-looking visualizer — it maps frequency on a constant-Q logarithmic scale, so each octave gets equal screen real estate. Heavier on CPU than `showwaves`.

### 6. Title / artist overlay (optional)

Add a `drawtext` after the visualizer overlay:

```
[v]drawtext=fontfile='/abs/path/Inter-Bold.ttf':text='${TITLE}':fontsize=64:fontcolor=white:x=80:y=80:shadowcolor=black@0.6:shadowx=2:shadowy=2,
    drawtext=fontfile='/abs/path/Inter.ttf':text='${ARTIST}':fontsize=36:fontcolor=white@0.85:x=80:y=160:shadowcolor=black@0.6:shadowx=2:shadowy=2[v]
```

### 7. Encoder choice

For stable colour and broad compatibility, default to libx264 + `pix_fmt yuv420p`. The visualizer filters generate full-range RGB — without the `pix_fmt` clamp some players show washed-out colours.

From danielrosehill/Claude-Video-Editor-Plugin, MIT.

More from danielrosehill/Claude-Video-Editor-Plugin

Signals

Stars
6
Forks
0
Open issues
0
Last commit (this folder)
Apr 30, 2026 (6 months ago)

From GitHub (fetched Oct 24, 2026).

Details

License
MIT
First seen
Oct 24, 2026
Last checked
Oct 24, 2026

More from danielrosehill

Done for you

Rather not set it up yourself?

Chalk Labs scopes, builds and runs agents for your team: the task audit, the eval harness, the integrations and the weekly ops report. Fixed scope, priced before we start.

See how we build AI agents →Read the case studies

Chalk Labs is a two-founder AI and growth studio. We build AI agents, CRMs and MVPs for Web3 and AI companies, and have shipped 50+ product and token launches.

launches shipped
50+
launches shipped
media placements
500+
media placements
founders on every account
2
founders on every account

Press we've placed: Forbes · CoinDesk · Decrypt · Cointelegraph · The Block

Rahil Jain, Co-founder, Chalk Labs. Ex-Goldman Sachs engineer. You talk to the person who builds it.

Get audio-to-music-video running in your business

Tell us what you want to automate. A founder replies within one working day with a plan, not a pitch deck.

Goes to the Chalk Labs founders, not the newsletter. Privacy

Need help deploying audio-to-music-video?

CallGet help
Cite this page

audio-to-music-video skill. Agent Mart. https://agentmart.dev/skills/danielrosehill-audio-to-music-video (last updated 2026-10-24)