Video Audio Stack 标志

Video Audio Stack

组织
sub-level
video-audio-stack

Sound design for Remotion marketing videos - the three-layer audio stack (music bed, transition impacts, tactile UI sounds), frame-keyed volume curves, sourcing licensed music and SFX from Epidemic Sound, and music validation with ffmpeg. Use when scoring a composition, picking or swapping a music track, deciding what should be silent, or debugging why the music dies before the video ends.

概览

发布者sub-level
代码仓库marketing-videos
技能名称video-audio-stack
星标数
72
复刻数
9
附带文件
仅含指令
许可协议MIT
链接
  • Markdown 格式的指令

    模型按需加载 SKILL.md 文件,因此只有在请求确实与该技能匹配时才会消耗 Token。

  • 兼容任何大语言模型

    AI 技能采用纯 Markdown,而非特定提供商的代码,因此可搭配 GPT、Claude、Gemini、Grok 或本地模型使用。

  • 指令自成一体

    模型所需的一切都包含在指令中,无需同步额外文件。

  • 开源

    由 sub-level 发布于 GitHub。请在安装前查看技能的源文件。

安装

在 TypingMind 中安装 Video Audio Stack AI 技能,即可搭配任意大语言模型使用;也可以将其放入其他支持读取 SKILL.md 的智能体中。

1

安装到 TypingMind

TypingMind 可直接从 GitHub 文件夹安装技能:读取 SKILL.md,打包资源文件,并将结果保存在本地。

  1. 打开应用,前往“插件 → 技能”。
  2. 选择“从 GitHub 安装”。
  3. 粘贴下方的技能文件夹 URL 并确认。
    https://github.com/sub-level/marketing-videos/tree/main/.claude/skills/video-audio-stack
  4. 请在每个需要使用该技能的聊天中启用它。
依次选择“插件 → 技能 → 添加技能 → 从 GitHub URL 导入”,然后粘贴文件夹 URL 并点击“继续”。
2

安装到其他智能体

任何支持 Agent Skills 格式的智能体都可以使用此技能,只需将文件夹复制到该智能体的技能目录中。

Claude Code — .claude/skills
git clone --depth 1 https://github.com/sub-level/marketing-videos.git /tmp/marketing-videos
mkdir -p .claude/skills
cp -r /tmp/marketing-videos/.claude/skills/video-audio-stack .claude/skills/video-audio-stack
复制后,请重启 Claude Code,以加载新技能。

在 TypingMind 中使用此技能

在任意 TypingMind 聊天中启用 Video Audio Stack,后续即可交由模型处理。技能的名称和描述会放在系统提示词中,一旦请求匹配,模型就会自动加载完整指令,无需您手动调用,且在实际使用前不会消耗 Token。

一旦请求与技能匹配,模型就会自动加载 Video Audio Stack。

兼容任何 AI 模型

AI 技能是纯 Markdown 指令,而非特定提供商的代码,因此 Video Audio Stack 不局限于最初适配的模型。只需在 TypingMind 中安装一次,即可搭配 GPT-5、Claude、Gemini、Grok、DeepSeek、Mistral、Llama 或您自行运行的本地模型使用,全程使用您自己的 API 密钥。

  • 仅在需要时加载

    系统提示词中仅包含技能名称和描述。首次遇到匹配的请求时才会加载完整指令,因此技能未使用时,这些指令不会消耗 Token。

  • 在聊天中切换模型

    技能是指令而非代码,因此切换模型不会导致技能失效,新模型会读取同一个 SKILL.md。

技能指令

这是模型会加载的 SKILL.md 内容。请在安装前阅读,因为技能就是模型将遵循的指令。

Video Audio Stack

The sound design language of good launch films (Anthropic, Figma, Linear) is three layers:

LayerVolume rangeJob
Music bed0.18-0.70One track, end to end, with a frame-keyed volume curve that traces the narrative arc
Transition impacts0.55-0.65whoosh/whip on big physical moments (hero entrance, smash cut) - dominant for ~30 frames
Tactile UI0.04-0.45clicks, keystrokes, dings on individual UI events - present, never competing

Where the music and SFX come from

Epidemic Sound (https://www.epidemicsound.com) is the source for both layers in every film made with this method: the bed track and most of the one-shots (swooshes, morphs, UI confirms, taps, crowd swells). A subscription covers use in marketing videos and ads while it is active, which is what a launch film needs; read your own plan's terms before publishing, because coverage differs between personal, commercial and client work.

It ships an MCP server, so the agent can search the catalog and pull candidates itself instead of asking you to go hunting:

jsonc
// .mcp.json  (or `claude mcp add`)
{
  "mcpServers": {
    "epidemic-sound": {
      "type": "http",
      "url": "https://www.epidemicsound.com/a/mcp-service/mcp",
      "headers": { "Authorization": "Bearer ${EPIDEMIC_SOUND_TOKEN}" }
    }
  }
}

Notes that cost time if you learn them the hard way:

  • The token is yours and belongs in the environment, never in a committed file. Setting an explicit Authorization header disables the OAuth fallback, so when the token expires the server fails to connect with a bare 401 and no prompt to re-auth - refresh the token rather than debugging the URL.
  • Once connected, read the server's own tool list; search by mood, genre, BPM and energy, and audition candidates before downloading.
  • Whatever you use, write the track title and artist into the audio README next to the file. Six months later "which track was this?" is unanswerable from a waveform, and you need it for re-licensing and for the video platform's rights screens.

Free and attribution-free alternatives for one-shots: @remotion/sfx (peak-normalized to about -3 dB). Mix the two freely - the bed is what matters.

Never commit a licensed track to a public repo. Keep the audio folder out of git, or ship only the placeholder, and say in the README where the real one comes from.

Music bed

  • ONE track for the whole film. The volume curve is a keyframe table of [frame, volume] pairs interpolated in the volume={(f) => ...} callback (both extrapolations clamped). Shape it like a narrator: warm fade-in, build through the middle, DUCK under key spoken/typed moments so they sit in a quiet pocket, swell into the climax, settle on the outro.
  • Fade in over ~1s and out over ~1.5s minimum. Never remove the ramps.
  • Clamp the fade-out to a MUSIC_LEN constant, not to the composition length - then a growing cut can never hard-stop the track mid-note.
  • Duck under impacts; the impact owns the moment, the bed recovers after.

SFX cues

Wrap each one-shot in a <Sequence from={at}> so the sample's internal frame is 0 at trigger time (see src/lib/SfxCue.tsx):

tsx
<SfxCue src={staticFile("sfx/whoosh.wav")} at={155} volume={0.55} />
<SfxCue src={staticFile("sfx/ding.wav")}   at={235} volume={0.4} pitch={1.1} />
  • pitch is playbackRate doubling as pitch shift - vary the SAME sample (1.3 higher, 0.85 lower) so repeated pops/drops feel distinct without authoring new files.
  • Related events share one voice: if a purchase gets a bright ding, later confirmations echo a quieter, pitched version of the same ding.
  • Pull SFX from an attribution-free pack (e.g. @remotion/sfx, peak-normalized ~-3dB) and mirror the files into public/ so headless renders never touch the network.

Silence is a design choice, not a gap

The reflex is to put a sound on everything that moves. Resist it. On one film every per-letter typing click, every UI tap and every cut inside the on-screen recording was removed, and the cut got better: the typed lines, the device tap and the screen's own edits all play silent, carried by the music and one or two real impacts.

Rules of thumb:

  • A typed line does not need a click per letter. It sounds like a stock typewriter.
  • A tap you can SEE does not need a tap you can hear. If a tile lights up, the light is the tap.
  • Reserve dings for things the viewer should feel good about, and then use at most one. Pings on a reveal and on the final title card both got cut from the same film for making it feel like a tutorial.
  • One real, recorded, specific sound (a pack tearing, a keyboard, a shutter) is worth ten library whooshes. Duck the music under it and let it own its moment.

Timing a one-shot to the picture

  • Measure the sample's attack, do not assume it peaks at its start. Profile it in 100ms slices (ffmpeg -ss T -t 0.1 -i s.wav -af volumedetect -f null -) and find the real peak. A whoosh that peaks at 0.5s fired ON a cut blooms 15 frames into the new shot, which feels late. Do not eyeball it off a waveform view either: on one sample the visible crest at 1.25s was reverb tail and the real transient was at 0.5s. Only the per-100ms numbers tell you which.
  • For INSTANT events (a hard cut), trim the sample's head so the peak lands ~6 frames after it fires, and fire it on the cut. Keep the trimmed variant as its own file with the measurement in its name or comment.
  • Supplied organic recordings usually carry handling noise at the head. Trim it (trimBefore on the <Html5Audio>, or re-cut the file) so the first transient meets the frame it belongs to.
  • When the music should start on its downbeat, start it at source zero on that frame rather than fading it in - a fade across a drop wastes the drop.

Revising audio without re-rendering the video

A picture-locked film whose mix changed does not need a re-render. Render the composition to WAV and remux onto the existing master with a video stream copy:

bash
npx remotion render MyFilm out/audio.wav --codec=wav
ffmpeg -i out/film.mp4 -i out/audio.wav -map 0:v -map 1:a -c:v copy -c:a aac -b:a 320k \
  -movflags +faststart out/film-remix.mp4

Seconds instead of an hour, and the video stream is bit-identical to the approved one. Both aspect ratios share the same mix, so one WAV serves both.

Validating a music track BEFORE you cut to it

Audible length is not file length. Tracks bake in long fades and quiet intros; a "46s" file may carry energy for only 29s, and the film's climax lands on silence.

  1. Get real duration: ffprobe -v error -show_entries format=duration -of csv=p=0 track.wav
  2. Profile per-second loudness: for t in $(seq 0 44); do ffmpeg -ss $t -t 1 -i track.wav -af astats=metadata=1 -f null - 2>&1 | grep 'RMS level'; done Find where RMS falls off a cliff - that is the track's true end.
  3. A quiet intro (first ~10s) means the hook plays over near-silence - trim the track or skip into it with startFrom.

Do not assume a track can be loop-extended. Most produced tracks have no self-similar splice region; an eyeballed crossfade splice audibly lurches. Check first (autocorrelate the waveform/onset envelope, or just listen to a test splice). If it cannot loop, pick a longer track - do not ship the lurch.

Fit the cut to the track (or the track to the cut)

When the cut grows past the track's energy, you have three honest options, in order of preference: (1) get a re-export of the track at the new length, (2) retime the cut so the climax lands inside the track's energy window, (3) swap tracks. The dishonest option - letting the outro play over dead air - reads as a mistake to every viewer.

Licensing

The bed track is usually the ONLY licensed asset in the film. Placeholder tracks are fine in dev; before public publication, confirm the license covers distribution and swap if not. Never commit a track to a public repo unless its license explicitly allows redistribution.

A subscription library (Epidemic Sound and friends) covers you while the subscription is active and generally does NOT transfer to a client who later takes the film. If the film is being handed over, say so before you score it - that decision belongs upstream of the mix, not after picture lock.

常见问题

Video Audio Stack AI 技能有什么作用?

Sound design for Remotion marketing videos - the three-layer audio stack (music bed, transition impacts, tactile UI sounds), frame-keyed volume curves, sourcing licensed music and SFX from Epidemic Sound, and music validation with ffmpeg. Use when scoring a composition, picking or swapping a music track, deciding what should be silent, or debugging why the music dies before the video ends.

为什么在 TypingMind 中使用 Video Audio Stack?

因为您只需安装一次,就能搭配任何模型使用。Video Audio Stack 采用纯 Markdown 格式,而非特定提供商专用的代码,因此同一技能可用于 GPT-5、Claude、Gemini、Grok 或本地模型。您甚至可以在聊天中途切换模型,而不会影响技能的正常使用。TypingMind 使用您自己的 API 密钥,因此您直接向提供商付费,而不是按席位订阅;您的技能和聊天记录也都保留在您自己的存储空间中。

如何在 TypingMind 中安装 Video Audio Stack?

在 TypingMind 中打开“插件 → 技能 → 从 GitHub 安装”,然后粘贴 https://github.com/sub-level/marketing-videos/tree/main/.claude/skills/video-audio-stack。TypingMind 会读取其中的 SKILL.md,并将其安装为技能,供您在各个聊天中按需启用。

哪些 AI 模型可以使用 Video Audio Stack?

您在 TypingMind 中连接的任何模型都可以。AI 技能采用纯 Markdown 指令,而非特定提供商专用的代码,因此 GPT、Claude、Gemini、Grok 和本地模型都能在请求匹配时加载此技能。

Video Audio Stack 可以搭配多少个 AI 模型使用?

数量不限。只要模型支持技能,您就可以将它与 Video Audio Stack 搭配使用。GPT、Claude、Gemini、Grok、DeepSeek、Mistral、Llama 等模型都可以通过您自己的 API 密钥接入 TypingMind。

Video Audio Stack AI 技能免费吗?

是的。sub-level 已在 GitHub 上根据 MIT 许可证发布了该技能。您只需向自己的 AI 提供商支付所用 Token 的费用。

什么是 AI 技能?

AI 技能是一组可复用的指令,用于教会 AI 模型完成某项特定任务。它遵循开放的 Agent Skills 格式:包含名称和描述的 SKILL.md 文件,以及模型可能需要的脚本、模板或参考文件。模型仅在您的请求与技能匹配时才会读取这些指令,因此已安装的技能在使用前不会产生任何费用。

AI 技能与插件或 MCP 服务器有何不同?

插件或 MCP 服务器为模型提供可调用的新工具,也就是在某处运行并返回结果的代码。AI 技能则为模型提供知识和流程:如何处理任务、遵循哪些步骤,以及怎样的输出才算优质。技能采用纯 Markdown 格式,因此不需要服务器、API 密钥或运行时环境,并且适用于任何模型。

查看全部

立即创建您自己的 AI 工作区

订阅我们的电子简报,获取新功能和后续赠奖活动的通知 👇